Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",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.00112/0.00112, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001006/0.001006, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.17 MB / 336.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.38 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 60.84 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3921/0.5394, allocations: 46.92 MB / 0.5035 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02705/0.5665, allocations: 10.38 MB / 0.5136 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01313/0.5797, allocations: 211.4 kB / 0.5138 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008309/0.588, allocations: 2.975 MB / 0.5167 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.5963, allocations: 1.835 MB / 0.5185 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.5998, allocations: 0.7994 MB / 0.5193 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.6113, allocations: 5.868 MB / 0.525 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005872/0.6172, allocations: 3.258 MB / 0.5282 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.6212, allocations: 1.623 MB / 0.5298 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004934/0.6262, allocations: 2.33 MB / 0.5321 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007969/0.627, allocations: 232.9 kB / 0.5323 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.6299, allocations: 1.196 MB / 0.5334 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.6318, allocations: 1.914 MB / 0.5353 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.6343, allocations: 2.228 MB / 0.5375 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009526/0.6438, allocations: 6.87 MB / 0.5442 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6439, allocations: 0 / 0.5442 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6439, allocations: 0 / 0.5442 GB, free: 10.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002844/0.6442, allocations: 0 / 0.5442 GB, free: 10.56 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.01512/0.6593, allocations: 5.336 MB / 0.5494 GB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6594, allocations: 8.031 kB / 0.5494 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001653/0.661, allocations: 0.7584 MB / 0.5502 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/0.6672, allocations: 1.88 MB / 0.552 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.6731, allocations: 2.809 MB / 0.5547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.6733, allocations: 237 kB / 0.555 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006722/0.674, allocations: 325.4 kB / 0.5553 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.6933, allocations: 11.19 MB / 0.5662 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.6934, allocations: 43.67 kB / 0.5662 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.6939, allocations: 153.4 kB / 0.5664 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00384/0.6977, allocations: 2.301 MB / 0.5686 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.7175, allocations: 9.855 MB / 0.5783 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06412/0.7816, allocations: 44.32 MB / 0.6215 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/0.797, allocations: 5.82 MB / 0.6272 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004406/0.8014, allocations: 3.238 MB / 0.6304 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/0.8167, allocations: 9.355 MB / 0.6395 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0101/0.8268, allocations: 3.374 MB / 0.6428 GB, free: 3.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 7.525e-06/0.8268, allocations: 7.938 kB / 0.6428 GB, free: 3.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1231/0.9499, allocations: 33.4 MB / 0.6754 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.9501, allocations: 158.5 kB / 0.6756 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008189/0.9583, allocations: 4.194 MB / 0.6797 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007251/0.959, allocations: 69.7 kB / 0.6798 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003412/0.9625, allocations: 3.251 MB / 0.6829 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.9643, allocations: 1.044 MB / 0.684 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004135/0.9684, allocations: 1.332 MB / 0.6853 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9686, allocations: 305.1 kB / 0.6855 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00574/0.9743, allocations: 3.374 MB / 0.6888 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/0.9829, allocations: 6.967 MB / 0.6956 GB, free: 11.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2811/1.264, allocations: 11.17 MB / 0.7066 GB, free: 198.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/1.264, allocations: 36.22 kB / 0.7066 GB, free: 198.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02654/1.291, allocations: 12.58 MB / 0.7189 GB, free: 195.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.291, allocations: 58.97 kB / 0.7189 GB, free: 195.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/1.291, allocations: 129.8 kB / 0.7191 GB, free: 195.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00776/1.299, allocations: 2.635 MB / 0.7216 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/1.304, allocations: 1.473 MB / 0.7231 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/1.329, allocations: 21.63 MB / 0.7442 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/1.334, allocations: 435.1 kB / 0.7446 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/1.335, allocations: 390.9 kB / 0.745 GB, free: 183.5 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.003416/1.339, allocations: 2.231 MB / 0.7472 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006831/1.339, allocations: 412.5 kB / 0.7475 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.352, allocations: 8.012 MB / 0.7554 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/1.352, allocations: 28 kB / 0.7554 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.352, allocations: 12 kB / 0.7554 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/1.352, allocations: 11.95 kB / 0.7554 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/1.373, allocations: 14.79 MB / 0.7699 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.373, allocations: 0 / 0.7699 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.375, allocations: 403.3 kB / 0.7703 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/1.381, allocations: 2.425 MB / 0.7726 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000665/1.381, allocations: 55.92 kB / 0.7727 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/1.404, allocations: 21.35 MB / 0.7935 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/1.404, allocations: 9.578 kB / 0.7935 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.416, allocations: 8.127 MB / 0.8015 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.417, allocations: 443.8 kB / 0.8019 GB, free: 126.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/1.418, allocations: 44 kB / 0.8019 GB, free: 126.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.42, allocations: 211.7 kB / 0.8021 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007545/1.421, allocations: 189.6 kB / 0.8023 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.421, allocations: 79.98 kB / 0.8024 GB, free: 126.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003363/1.424, allocations: 2.63 MB / 0.805 GB, free: 123.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.71e-07/1.424, allocations: 0 / 0.805 GB, free: 123.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005929/1.43, allocations: 1.359 MB / 0.8063 GB, free: 122.3 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.01279/1.443, allocations: 9.117 MB / 0.8152 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.455, allocations: 8.861 MB / 0.8238 GB, free: 104.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.455, allocations: 0 / 0.8238 GB, free: 104.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005919/1.461, allocations: 4.081 MB / 0.8278 GB, free: 100.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.464, allocations: 482.4 kB / 0.8283 GB, free: 99.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0965/1.561, allocations: 69.74 MB / 0.8964 GB, free: 21.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007871/1.569, allocations: 3.574 MB / 0.8999 GB, free: 18.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007237/1.576, allocations: 2.14 MB / 0.902 GB, free: 16.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003936/1.58, allocations: 2.081 MB / 0.904 GB, free: 14 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/1.58, allocations: 3.5 kB / 0.904 GB, free: 14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4711/2.051, allocations: 101.9 MB / 1.003 GB, free: 129.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/2.052, allocations: 275.7 kB / 1.004 GB, free: 129.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.753/6.804, allocations: 0 / 1.004 GB, free: 129.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches