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.0007667/0.0007668, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008908/0.0008908, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004413, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2882/0.4284, allocations: 45.39 MB / 0.5162 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.4516, allocations: 10.31 MB / 0.5262 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008435/0.4601, allocations: 211.2 kB / 0.5264 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.4619, allocations: 0.5781 MB / 0.527 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.4668, allocations: 1.858 MB / 0.5288 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4687, allocations: 0.7639 MB / 0.5296 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007674/0.4764, allocations: 5.891 MB / 0.5353 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00507/0.4815, allocations: 4.274 MB / 0.5395 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.484, allocations: 1.417 MB / 0.5409 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.4867, allocations: 2.07 MB / 0.5429 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.4872, allocations: 143.6 kB / 0.543 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.489, allocations: 1.102 MB / 0.5441 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.4905, allocations: 1.77 MB / 0.5458 GB, free: 76 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.4925, allocations: 2.086 MB / 0.5479 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.4994, allocations: 6.635 MB / 0.5543 GB, free: 8.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4995, allocations: 0 / 0.5543 GB, free: 8.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4995, allocations: 0 / 0.5543 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.4996, allocations: 0 / 0.5543 GB, free: 8.309 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.009174/0.5088, allocations: 4.431 MB / 0.5587 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5089, allocations: 12.88 kB / 0.5587 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.5101, allocations: 0.754 MB / 0.5594 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/0.5164, allocations: 1.928 MB / 0.5613 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.5205, allocations: 2.697 MB / 0.5639 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.5207, allocations: 242.8 kB / 0.5642 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/0.5213, allocations: 317.8 kB / 0.5645 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.5407, allocations: 11.21 MB / 0.5754 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.5409, allocations: 47.59 kB / 0.5755 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008235/0.5418, allocations: 152.4 kB / 0.5756 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004176/0.5459, allocations: 2.297 MB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/0.566, allocations: 9.888 MB / 0.5875 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05595/0.622, allocations: 44.33 MB / 0.6308 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/0.6361, allocations: 5.868 MB / 0.6365 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.6403, allocations: 3.24 MB / 0.6397 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/0.6535, allocations: 9.352 MB / 0.6488 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009967/0.6635, allocations: 3.383 MB / 0.6521 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 7.294e-06/0.6636, allocations: 0 / 0.6521 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1192/0.7828, allocations: 33.52 MB / 0.6849 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.7829, allocations: 166.5 kB / 0.685 GB, free: 432 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/0.7914, allocations: 4.202 MB / 0.6891 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007605/0.7921, allocations: 76.45 kB / 0.6892 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003451/0.7956, allocations: 3.243 MB / 0.6924 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/0.7975, allocations: 1.039 MB / 0.6934 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/0.7991, allocations: 0.5546 MB / 0.6939 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7993, allocations: 301.1 kB / 0.6942 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005958/0.8052, allocations: 3.374 MB / 0.6975 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007889/0.8131, allocations: 6.975 MB / 0.7043 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2694/1.083, allocations: 11.17 MB / 0.7152 GB, free: 189.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/1.083, allocations: 35.62 kB / 0.7153 GB, free: 189.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02877/1.112, allocations: 12.58 MB / 0.7275 GB, free: 186.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.112, allocations: 59.06 kB / 0.7276 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.112, allocations: 129.4 kB / 0.7277 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007973/1.12, allocations: 2.635 MB / 0.7303 GB, free: 186 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005757/1.126, allocations: 1.475 MB / 0.7317 GB, free: 185.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.149, allocations: 21.64 MB / 0.7529 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005424/1.154, allocations: 433.3 kB / 0.7533 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.156, allocations: 392.3 kB / 0.7537 GB, free: 174.4 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.004045/1.16, allocations: 2.235 MB / 0.7558 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/1.16, allocations: 405.8 kB / 0.7562 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.173, allocations: 8.011 MB / 0.764 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/1.173, allocations: 28 kB / 0.7641 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.173, allocations: 12 kB / 0.7641 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/1.173, allocations: 15.95 kB / 0.7641 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.194, allocations: 14.79 MB / 0.7786 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.194, allocations: 4 kB / 0.7786 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.196, allocations: 395.4 kB / 0.7789 GB, free: 150.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/1.201, allocations: 2.441 MB / 0.7813 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/1.201, allocations: 52.94 kB / 0.7814 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02117/1.223, allocations: 21.36 MB / 0.8022 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.223, allocations: 4.188 kB / 0.8022 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.237, allocations: 8.124 MB / 0.8102 GB, free: 118.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/1.238, allocations: 459.6 kB / 0.8106 GB, free: 117.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/1.238, allocations: 45.8 kB / 0.8106 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.24, allocations: 223.7 kB / 0.8109 GB, free: 117.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.241, allocations: 185.7 kB / 0.811 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/1.241, allocations: 73.86 kB / 0.8111 GB, free: 117.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002857/1.244, allocations: 2.634 MB / 0.8137 GB, free: 114.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.244, allocations: 0 / 0.8137 GB, free: 114.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004507/1.249, allocations: 1.339 MB / 0.815 GB, free: 113.2 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.01263/1.261, allocations: 9.104 MB / 0.8239 GB, free: 104.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.272, allocations: 8.844 MB / 0.8325 GB, free: 95.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.272, allocations: 0 / 0.8325 GB, free: 95.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005095/1.277, allocations: 4.075 MB / 0.8365 GB, free: 91.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/1.281, allocations: 479.1 kB / 0.837 GB, free: 90.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0944/1.375, allocations: 69.78 MB / 0.9051 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004364/1.38, allocations: 3.578 MB / 0.9086 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005486/1.385, allocations: 2.136 MB / 0.9107 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003046/1.388, allocations: 2.081 MB / 0.9127 GB, free: 4.848 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/1.389, allocations: 0 / 0.9127 GB, free: 4.848 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3742/1.763, allocations: 99.94 MB / 1.01 GB, free: 113.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.763, allocations: 277 kB / 1.011 GB, free: 113.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.415/6.178, allocations: 3.938 kB / 1.011 GB, free: 113.5 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