Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108.2 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 71.91 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1142, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01626/0.1305, allocations: 14.24 MB / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1424, allocations: 4.665 MB / 0.5059 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.1459, allocations: 91.75 kB / 0.506 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.1544, allocations: 3.777 MB / 0.5097 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007383/0.1618, allocations: 2.486 MB / 0.5121 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.1647, allocations: 1.002 MB / 0.5131 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00926/0.174, allocations: 6.022 MB / 0.519 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.1807, allocations: 4.734 MB / 0.5236 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.1848, allocations: 2.126 MB / 0.5257 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.1896, allocations: 2.885 MB / 0.5285 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.1916, allocations: 460 kB / 0.5289 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.1962, allocations: 1.482 MB / 0.5304 GB, free: 104 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2529/0.4492, allocations: 2.703 MB / 0.533 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005859/0.4551, allocations: 3.097 MB / 0.536 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01499/0.4701, allocations: 9.841 MB / 0.5456 GB, free: 9.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4701, allocations: 4.25 kB / 0.5456 GB, free: 9.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4701, allocations: 0 / 0.5456 GB, free: 9.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.4705, allocations: 0.5938 kB / 0.5456 GB, free: 9.637 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02139/0.4919, allocations: 6.916 MB / 0.5524 GB, free: 6.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.492, allocations: 14.3 kB / 0.5524 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002916/0.4949, allocations: 0.9246 MB / 0.5533 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03896/0.5339, allocations: 6.187 MB / 0.5594 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.5458, allocations: 4.853 MB / 0.5641 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.5461, allocations: 308.4 kB / 0.5644 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.548, allocations: 421.9 kB / 0.5648 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.5734, allocations: 12.88 MB / 0.5774 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.5737, allocations: 62.45 kB / 0.5774 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007445/0.5744, allocations: 192 kB / 0.5776 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003883/0.5783, allocations: 2.507 MB / 0.5801 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.6007, allocations: 10.57 MB / 0.5904 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06784/0.6686, allocations: 49.55 MB / 0.6388 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.6798, allocations: 4.418 MB / 0.6431 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.6831, allocations: 2.335 MB / 0.6454 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.696, allocations: 6.524 MB / 0.6517 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.6961, allocations: 55.22 kB / 0.6518 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.751e-06/0.6961, allocations: 0 / 0.6518 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05293/0.749, allocations: 18.02 MB / 0.6694 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.7492, allocations: 231.2 kB / 0.6696 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/0.7613, allocations: 5.943 MB / 0.6754 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005383/0.7619, allocations: 53.7 kB / 0.6755 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003548/0.7655, allocations: 4.27 MB / 0.6796 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.7666, allocations: 0.8106 MB / 0.6804 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003338/0.77, allocations: 1.468 MB / 0.6819 GB, free: 444 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.7701, allocations: 308.3 kB / 0.6822 GB, free: 136 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.7741, allocations: 2.415 MB / 0.6845 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006753/0.7808, allocations: 6.921 MB / 0.6913 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.7924, allocations: 10.14 MB / 0.7012 GB, free: 8.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/0.7926, allocations: 44 kB / 0.7012 GB, free: 8.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01965/0.8123, allocations: 9.608 MB / 0.7106 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.8125, allocations: 76 kB / 0.7107 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002648/0.8128, allocations: 156 kB / 0.7108 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.8149, allocations: 0.7322 MB / 0.7115 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00589/0.8208, allocations: 1.665 MB / 0.7132 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.829, allocations: 6.99 MB / 0.72 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/0.835, allocations: 387.6 kB / 0.7203 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.8364, allocations: 442.7 kB / 0.7208 GB, free: 4.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 873 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005733/0.8422, allocations: 2.696 MB / 0.7234 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/0.8433, allocations: 0.5083 MB / 0.7239 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/0.8504, allocations: 3.297 MB / 0.7271 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.8504, allocations: 20 kB / 0.7271 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.8505, allocations: 8 kB / 0.7271 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.8505, allocations: 7.969 kB / 0.7272 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/0.872, allocations: 8.827 MB / 0.7358 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.8721, allocations: 4 kB / 0.7358 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.8738, allocations: 319.5 kB / 0.7361 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.8754, allocations: 0.5014 MB / 0.7366 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003571/0.8758, allocations: 43.28 kB / 0.7366 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006965/0.8828, allocations: 6.293 MB / 0.7428 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.8828, allocations: 11.88 kB / 0.7428 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/0.8923, allocations: 5.999 MB / 0.7486 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/0.8949, allocations: 0.8372 MB / 0.7494 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/0.8965, allocations: 34.97 kB / 0.7495 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/0.8996, allocations: 95.88 kB / 0.7496 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/0.9001, allocations: 125.8 kB / 0.7497 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/0.9004, allocations: 48 kB / 0.7497 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008243/0.9086, allocations: 3.808 MB / 0.7535 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9087, allocations: 0 / 0.7535 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008208/0.9169, allocations: 1.23 MB / 0.7547 GB, free: 1.641 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2624/1.179, allocations: 6.643 MB / 0.7611 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.191, allocations: 5.932 MB / 0.7669 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.191, allocations: 1.188 kB / 0.7669 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.193, allocations: 1.792 MB / 0.7687 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/1.198, allocations: 0.6592 MB / 0.7693 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08212/1.28, allocations: 59.66 MB / 0.8276 GB, free: 153 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00479/1.285, allocations: 4.127 MB / 0.8316 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005281/1.29, allocations: 2.315 MB / 0.8339 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/1.293, allocations: 2.573 MB / 0.8364 GB, free: 144 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/1.293, allocations: 0 / 0.8364 GB, free: 144 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.422, allocations: 90.83 MB / 0.9251 GB, free: 53.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.62/23.04, allocations: 12 kB / 0.9251 GB, free: 53.1 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches