Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 76.72 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 62.43 MB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3093/0.4359, allocations: 46.65 MB / 0.5139 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03083/0.4668, allocations: 10.28 MB / 0.5239 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.4804, allocations: 211.1 kB / 0.5241 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007349/0.4878, allocations: 2.875 MB / 0.5269 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.4946, allocations: 1.824 MB / 0.5287 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.4975, allocations: 0.7876 MB / 0.5295 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00962/0.5071, allocations: 4.131 MB / 0.5335 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007498/0.5147, allocations: 3.484 MB / 0.5369 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.5195, allocations: 1.817 MB / 0.5387 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004465/0.524, allocations: 2.415 MB / 0.5411 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.5257, allocations: 313.1 kB / 0.5414 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.5292, allocations: 1.203 MB / 0.5425 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.5322, allocations: 1.968 MB / 0.5445 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005397/0.5376, allocations: 2.302 MB / 0.5467 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.5484, allocations: 6.945 MB / 0.5535 GB, free: 6.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5484, allocations: 0 / 0.5535 GB, free: 6.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5484, allocations: 0 / 0.5535 GB, free: 6.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002507/0.5487, allocations: 0 / 0.5535 GB, free: 6.973 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01407/0.5628, allocations: 5.343 MB / 0.5587 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.5628, allocations: 8.031 kB / 0.5587 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002162/0.565, allocations: 0.7495 MB / 0.5594 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007336/0.5724, allocations: 1.885 MB / 0.5613 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.5789, allocations: 2.705 MB / 0.5639 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.5792, allocations: 240.2 kB / 0.5642 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.5806, allocations: 317.4 kB / 0.5645 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.6035, allocations: 11.19 MB / 0.5754 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002236/0.6037, allocations: 47.72 kB / 0.5754 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/0.605, allocations: 151.5 kB / 0.5756 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004243/0.6093, allocations: 2.296 MB / 0.5778 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.6305, allocations: 9.863 MB / 0.5874 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06286/0.6935, allocations: 44.32 MB / 0.6307 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.7079, allocations: 5.835 MB / 0.6364 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.712, allocations: 3.241 MB / 0.6396 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.7253, allocations: 9.347 MB / 0.6487 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01053/0.7359, allocations: 3.375 MB / 0.652 GB, free: 156 kB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 6.782e-06/0.736, allocations: 0 / 0.652 GB, free: 156 kB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1261/0.8621, allocations: 33.39 MB / 0.6846 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.8622, allocations: 154.5 kB / 0.6848 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/0.869, allocations: 4.202 MB / 0.6889 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006978/0.8697, allocations: 68.91 kB / 0.6889 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002818/0.8726, allocations: 3.254 MB / 0.6921 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.8741, allocations: 1.045 MB / 0.6931 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.876, allocations: 1.332 MB / 0.6944 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8761, allocations: 305.1 kB / 0.6947 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005266/0.8814, allocations: 3.378 MB / 0.698 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009233/0.8907, allocations: 6.971 MB / 0.7048 GB, free: 8.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2727/1.163, allocations: 11.17 MB / 0.7157 GB, free: 188.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.164, allocations: 36.53 kB / 0.7158 GB, free: 188.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02594/1.19, allocations: 12.58 MB / 0.7281 GB, free: 185.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/1.19, allocations: 59.42 kB / 0.7281 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/1.19, allocations: 131.6 kB / 0.7282 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007297/1.197, allocations: 2.643 MB / 0.7308 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/1.204, allocations: 1.475 MB / 0.7323 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/1.231, allocations: 23.38 MB / 0.7551 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006262/1.237, allocations: 428.5 kB / 0.7555 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.238, allocations: 399.4 kB / 0.7559 GB, free: 171.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (760): * Single equations (assignments): 753 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.004894/1.243, allocations: 2.225 MB / 0.7581 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.244, allocations: 408.7 kB / 0.7584 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.257, allocations: 8.012 MB / 0.7663 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/1.257, allocations: 32 kB / 0.7663 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/1.257, allocations: 8.625 kB / 0.7663 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/1.257, allocations: 15.95 kB / 0.7663 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.279, allocations: 14.8 MB / 0.7808 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.279, allocations: 4 kB / 0.7808 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.281, allocations: 399.8 kB / 0.7812 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/1.286, allocations: 2.322 MB / 0.7834 GB, free: 144.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/1.286, allocations: 46.06 kB / 0.7835 GB, free: 144.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/1.309, allocations: 23.13 MB / 0.8061 GB, free: 121.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.309, allocations: 2.031 kB / 0.8061 GB, free: 121.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.322, allocations: 8.132 MB / 0.814 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.324, allocations: 439.8 kB / 0.8144 GB, free: 112.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.325, allocations: 51.83 kB / 0.8145 GB, free: 112.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/1.328, allocations: 211.7 kB / 0.8147 GB, free: 112.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.329, allocations: 196.4 kB / 0.8149 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004239/1.329, allocations: 75.98 kB / 0.8149 GB, free: 111.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004448/1.334, allocations: 2.63 MB / 0.8175 GB, free: 109.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/1.334, allocations: 0 / 0.8175 GB, free: 109.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006624/1.34, allocations: 1.341 MB / 0.8188 GB, free: 107.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (3,13,88.9%), (3,13,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01332/1.354, allocations: 9.114 MB / 0.8277 GB, free: 98.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.371, allocations: 11.62 MB / 0.8391 GB, free: 87.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.371, allocations: 0 / 0.8391 GB, free: 87.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00572/1.377, allocations: 4.085 MB / 0.8431 GB, free: 83.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.38, allocations: 497.7 kB / 0.8435 GB, free: 82.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09438/1.475, allocations: 69.76 MB / 0.9116 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/1.478, allocations: 3.578 MB / 0.9151 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2439/1.721, allocations: 2.14 MB / 0.9172 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004127/1.726, allocations: 2.077 MB / 0.9193 GB, free: 185.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.492e-06/1.726, allocations: 0.5625 kB / 0.9193 GB, free: 185.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/1.867, allocations: 104.4 MB / 1.021 GB, free: 105.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/1.867, allocations: 279.1 kB / 1.021 GB, free: 105.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.829/6.696, allocations: 3.75 kB / 1.021 GB, free: 105.3 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches