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.001426/0.001426, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.001718/0.001718, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.394/1.394, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2423/0.2423, allocations: 44.18 MB / 336.3 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.27 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 60.82 MB / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3263/0.4564, allocations: 46.94 MB / 0.5037 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.4827, allocations: 10.28 MB / 0.5137 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01403/0.4968, allocations: 211 kB / 0.5139 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008025/0.5048, allocations: 2.878 MB / 0.5167 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.5122, allocations: 1.836 MB / 0.5185 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.5152, allocations: 0.8113 MB / 0.5193 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007003/0.5222, allocations: 4.101 MB / 0.5233 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0047/0.5269, allocations: 3.483 MB / 0.5267 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.5306, allocations: 1.828 MB / 0.5285 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.5335, allocations: 2.406 MB / 0.5308 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006337/0.5341, allocations: 309.5 kB / 0.5311 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5368, allocations: 1.226 MB / 0.5323 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.5385, allocations: 1.996 MB / 0.5343 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.5405, allocations: 2.312 MB / 0.5365 GB, free: 372 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.549, allocations: 6.992 MB / 0.5434 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.5491, allocations: 0 / 0.5434 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5491, allocations: 0 / 0.5434 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003513/0.5494, allocations: 0 / 0.5434 GB, free: 11.66 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.01555/0.565, allocations: 5.334 MB / 0.5486 GB, free: 6.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/0.5651, allocations: 8.031 kB / 0.5486 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00197/0.5671, allocations: 0.7545 MB / 0.5493 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/0.5739, allocations: 1.885 MB / 0.5512 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/0.5793, allocations: 2.814 MB / 0.5539 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.5795, allocations: 243.9 kB / 0.5541 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006845/0.5802, allocations: 321 kB / 0.5544 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.599, allocations: 11.19 MB / 0.5654 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.5992, allocations: 43.69 kB / 0.5654 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000811/0.6, allocations: 147.8 kB / 0.5656 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/0.6038, allocations: 2.3 MB / 0.5678 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/0.6249, allocations: 9.863 MB / 0.5774 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0596/0.6845, allocations: 44.3 MB / 0.6207 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.6989, allocations: 5.834 MB / 0.6264 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/0.7033, allocations: 3.25 MB / 0.6296 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.7182, allocations: 9.362 MB / 0.6387 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01032/0.7286, allocations: 3.372 MB / 0.642 GB, free: 4.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 7.684e-06/0.7286, allocations: 4 kB / 0.642 GB, free: 4.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1175/0.8461, allocations: 33.38 MB / 0.6746 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.8462, allocations: 154.5 kB / 0.6747 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006395/0.8526, allocations: 4.194 MB / 0.6788 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005804/0.8532, allocations: 69.7 kB / 0.6789 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.8558, allocations: 3.253 MB / 0.6821 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.8572, allocations: 1.047 MB / 0.6831 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/0.8598, allocations: 1.335 MB / 0.6844 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.8599, allocations: 301.1 kB / 0.6847 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/0.8655, allocations: 3.37 MB / 0.688 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009948/0.8755, allocations: 6.971 MB / 0.6948 GB, free: 12.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2462/1.122, allocations: 11.16 MB / 0.7057 GB, free: 198.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1.122, allocations: 35.75 kB / 0.7057 GB, free: 198.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02629/1.148, allocations: 12.59 MB / 0.718 GB, free: 195.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.148, allocations: 58.34 kB / 0.7181 GB, free: 195.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/1.149, allocations: 134 kB / 0.7182 GB, free: 195.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007406/1.156, allocations: 2.632 MB / 0.7208 GB, free: 195.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/1.161, allocations: 1.475 MB / 0.7222 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02418/1.186, allocations: 23.41 MB / 0.7451 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/1.191, allocations: 435.1 kB / 0.7455 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.192, allocations: 387.9 kB / 0.7459 GB, free: 182.6 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.004368/1.197, allocations: 2.222 MB / 0.748 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/1.197, allocations: 409.7 kB / 0.7484 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.21, allocations: 8.013 MB / 0.7563 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/1.21, allocations: 28 kB / 0.7563 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.21, allocations: 8.812 kB / 0.7563 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.21, allocations: 19.75 kB / 0.7563 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.231, allocations: 14.8 MB / 0.7708 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.231, allocations: 4 kB / 0.7708 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.233, allocations: 399.5 kB / 0.7711 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004968/1.238, allocations: 2.321 MB / 0.7734 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004959/1.239, allocations: 51.92 kB / 0.7735 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.26, allocations: 23.13 MB / 0.7961 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.26, allocations: 4.062 kB / 0.7961 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.272, allocations: 8.128 MB / 0.804 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.274, allocations: 443.7 kB / 0.8044 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.276, allocations: 48 kB / 0.8045 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.278, allocations: 211.7 kB / 0.8047 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008697/1.279, allocations: 193.5 kB / 0.8048 GB, free: 124.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.279, allocations: 75.98 kB / 0.8049 GB, free: 124 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003137/1.282, allocations: 2.63 MB / 0.8075 GB, free: 121.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.8e-07/1.282, allocations: 0 / 0.8075 GB, free: 121.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005336/1.288, allocations: 1.357 MB / 0.8088 GB, free: 120 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.0127/1.3, allocations: 9.119 MB / 0.8177 GB, free: 111 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01663/1.317, allocations: 11.61 MB / 0.8291 GB, free: 99.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.317, allocations: 0 / 0.8291 GB, free: 99.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005626/1.323, allocations: 4.093 MB / 0.8331 GB, free: 95.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.326, allocations: 496.5 kB / 0.8335 GB, free: 94.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09523/1.421, allocations: 69.75 MB / 0.9017 GB, free: 16.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005012/1.426, allocations: 3.577 MB / 0.9051 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005726/1.432, allocations: 2.144 MB / 0.9072 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00317/1.435, allocations: 2.081 MB / 0.9093 GB, free: 8.953 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.435, allocations: 0 / 0.9093 GB, free: 8.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3915/1.827, allocations: 104.4 MB / 1.011 GB, free: 125.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.827, allocations: 281.1 kB / 1.011 GB, free: 124.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.826/6.653, allocations: 4.062 kB / 1.011 GB, free: 124.9 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