Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 175.9 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007125/0.0007125, allocations: 89.16 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.55 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 19.98 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.84 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3278/0.438, allocations: 102.9 MB / 0.5799 GB, free: 8.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.048/0.486, allocations: 20.45 MB / 0.5999 GB, free: 9.219 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02627/0.5123, allocations: 482.9 kB / 0.6003 GB, free: 8.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01866/0.5311, allocations: 5.441 MB / 0.6056 GB, free: 4.527 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04458/0.5757, allocations: 15.71 MB / 0.621 GB, free: 4.762 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007796/0.5835, allocations: 1.127 MB / 0.6221 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3468/0.9303, allocations: 52 MB / 0.6729 GB, free: 49.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/0.9464, allocations: 9.146 MB / 0.6818 GB, free: 48.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00545/0.9519, allocations: 2.324 MB / 0.6841 GB, free: 48.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.9579, allocations: 3.788 MB / 0.6878 GB, free: 48.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.9599, allocations: 273.1 kB / 0.688 GB, free: 48.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.964, allocations: 1.179 MB / 0.6892 GB, free: 48.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004802/0.9688, allocations: 3.299 MB / 0.6924 GB, free: 48.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007759/0.9766, allocations: 3.599 MB / 0.6959 GB, free: 48.81 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.9917, allocations: 10.43 MB / 0.7061 GB, free: 47.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.9917, allocations: 1.031 kB / 0.7061 GB, free: 47.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.9917, allocations: 1.75 kB / 0.7061 GB, free: 47.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005707/0.9923, allocations: 0.8438 kB / 0.7061 GB, free: 47.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02446/1.017, allocations: 7.55 MB / 0.7135 GB, free: 43.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.017, allocations: 9.375 kB / 0.7135 GB, free: 43.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00536/1.022, allocations: 1.27 MB / 0.7147 GB, free: 43.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05474/1.077, allocations: 8.637 MB / 0.7232 GB, free: 39.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/1.091, allocations: 6.593 MB / 0.7296 GB, free: 37.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/1.091, allocations: 440.9 kB / 0.73 GB, free: 37.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/1.094, allocations: 0.59 MB / 0.7306 GB, free: 36.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03853/1.133, allocations: 17.57 MB / 0.7477 GB, free: 23.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000592/1.133, allocations: 82.61 kB / 0.7478 GB, free: 23.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/1.137, allocations: 277.5 kB / 0.7481 GB, free: 23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006137/1.143, allocations: 3.425 MB / 0.7514 GB, free: 20.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03072/1.174, allocations: 14.47 MB / 0.7656 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09914/1.273, allocations: 68.4 MB / 0.8324 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.291, allocations: 7.193 MB / 0.8394 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006463/1.297, allocations: 4.237 MB / 0.8435 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/1.297, allocations: 58.34 kB / 0.8436 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/1.298, allocations: 72.67 kB / 0.8437 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=307): time 9.177e-06/1.298, allocations: 0 / 0.8437 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of matching and sorting (n=340): time 0.08715/1.385, allocations: 32.5 MB / 0.8754 GB, free: 6.855 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/1.385, allocations: 295.5 kB / 0.8757 GB, free: 6.504 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2669/1.652, allocations: 7.454 MB / 0.883 GB, free: 219.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.653, allocations: 74.23 kB / 0.883 GB, free: 219.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006548/1.66, allocations: 5.353 MB / 0.8883 GB, free: 217.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002549/1.662, allocations: 1.286 MB / 0.8895 GB, free: 216.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/1.664, allocations: 190.7 kB / 0.8897 GB, free: 216.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009907/1.665, allocations: 0.7065 MB / 0.8904 GB, free: 216.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008518/1.674, allocations: 3.8 MB / 0.8941 GB, free: 215.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/1.686, allocations: 9.4 MB / 0.9033 GB, free: 206.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/1.704, allocations: 14.31 MB / 0.9173 GB, free: 195.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003772/1.704, allocations: 61.47 kB / 0.9173 GB, free: 195.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.03374/1.738, allocations: 14.21 MB / 0.9312 GB, free: 190.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007416/1.739, allocations: 95.31 kB / 0.9313 GB, free: 190.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000905/1.74, allocations: 197.3 kB / 0.9315 GB, free: 190.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/1.745, allocations: 1.548 MB / 0.933 GB, free: 189.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008999/1.754, allocations: 2.276 MB / 0.9352 GB, free: 189.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.769, allocations: 12.4 MB / 0.9473 GB, free: 182.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.78, allocations: 0.5509 MB / 0.9479 GB, free: 182 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/1.782, allocations: 0.5632 MB / 0.9484 GB, free: 181.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1169): * Single equations (assignments): 1163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01174/1.794, allocations: 3.59 MB / 0.9519 GB, free: 180.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002343/1.796, allocations: 0.6409 MB / 0.9525 GB, free: 179.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/1.811, allocations: 7 MB / 0.9594 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/1.811, allocations: 41.06 kB / 0.9594 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-05/1.811, allocations: 10.59 kB / 0.9594 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/1.812, allocations: 15.42 kB / 0.9594 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/1.85, allocations: 16.04 MB / 0.9751 GB, free: 164.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/1.85, allocations: 3.703 kB / 0.9751 GB, free: 164.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/1.853, allocations: 0.6279 MB / 0.9757 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/1.857, allocations: 1.249 MB / 0.9769 GB, free: 163 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008408/1.858, allocations: 64.92 kB / 0.977 GB, free: 162.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.87, allocations: 11.39 MB / 0.9881 GB, free: 152.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.87, allocations: 0 / 0.9881 GB, free: 152.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.888, allocations: 11.56 MB / 0.9994 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004405/1.893, allocations: 1.247 MB / 1.001 GB, free: 141.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002651/1.895, allocations: 55.94 kB / 1.001 GB, free: 141.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0051/1.9, allocations: 213.3 kB / 1.001 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/1.902, allocations: 192.2 kB / 1.001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005937/1.902, allocations: 89.39 kB / 1.001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01074/1.913, allocations: 4.748 MB / 1.006 GB, free: 136.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.243e-06/1.913, allocations: 0 / 1.006 GB, free: 136.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01246/1.925, allocations: 1.818 MB / 1.008 GB, free: 134.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01948/1.945, allocations: 12.25 MB / 1.02 GB, free: 122.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01765/1.963, allocations: 9.494 MB / 1.029 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.963, allocations: 4 kB / 1.029 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.969, allocations: 3.657 MB / 1.032 GB, free: 109 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01115/1.98, allocations: 0.8583 MB / 1.033 GB, free: 108.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1505/2.131, allocations: 74.63 MB / 1.106 GB, free: 26.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01061/2.141, allocations: 5.465 MB / 1.111 GB, free: 21.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007301/2.149, allocations: 3.737 MB / 1.115 GB, free: 17.68 MB / 0.573 GB Notification: Performance of SimCode: time 1.001e-06/2.149, allocations: 0 / 1.115 GB, free: 17.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.64/13.79, allocations: 234.6 MB / 1.344 GB, free: 172.8 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches