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.0009084/0.0009086, allocations: 93.89 kB / 17.35 MB, free: 6.363 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.0009534/0.0009539, allocations: 172.7 kB / 18.25 MB, free: 5.523 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.326/1.326, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.2032/0.2032, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 10 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2826/0.3895, allocations: 45.67 MB / 0.5059 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.4108, allocations: 10.31 MB / 0.5159 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008708/0.4196, allocations: 211.1 kB / 0.5161 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.4218, allocations: 0.5815 MB / 0.5167 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.4277, allocations: 1.848 MB / 0.5185 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.4302, allocations: 0.7967 MB / 0.5193 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0092/0.4394, allocations: 5.869 MB / 0.525 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007646/0.4471, allocations: 4.285 MB / 0.5292 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.4508, allocations: 1.416 MB / 0.5306 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.4541, allocations: 2.069 MB / 0.5326 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008561/0.455, allocations: 144.9 kB / 0.5328 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4579, allocations: 1.115 MB / 0.5338 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.46, allocations: 1.794 MB / 0.5356 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.4624, allocations: 2.101 MB / 0.5376 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006579/0.469, allocations: 6.688 MB / 0.5442 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.469, allocations: 2.531 kB / 0.5442 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.469, allocations: 0 / 0.5442 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.4692, allocations: 0 / 0.5442 GB, free: 12.77 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.008633/0.4778, allocations: 4.417 MB / 0.5485 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4779, allocations: 8.031 kB / 0.5485 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009113/0.4788, allocations: 0.7585 MB / 0.5492 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.4847, allocations: 1.935 MB / 0.5511 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/0.4891, allocations: 2.809 MB / 0.5539 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.4893, allocations: 237.2 kB / 0.5541 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/0.4899, allocations: 317.2 kB / 0.5544 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.5083, allocations: 11.21 MB / 0.5654 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.5085, allocations: 43.59 kB / 0.5654 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/0.5089, allocations: 152.3 kB / 0.5655 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.5128, allocations: 2.301 MB / 0.5678 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.531, allocations: 9.88 MB / 0.5774 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04979/0.5808, allocations: 44.32 MB / 0.6207 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.5941, allocations: 5.859 MB / 0.6264 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/0.598, allocations: 3.244 MB / 0.6296 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.6109, allocations: 9.358 MB / 0.6388 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/0.6214, allocations: 3.38 MB / 0.6421 GB, free: 6.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=211): time 7.003e-06/0.6214, allocations: 0 / 0.6421 GB, free: 6.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=285): time 0.1192/0.7406, allocations: 33.55 MB / 0.6748 GB, free: 5.113 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.7407, allocations: 162.5 kB / 0.675 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007831/0.7486, allocations: 4.19 MB / 0.6791 GB, free: 0.6992 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/0.7493, allocations: 68.05 kB / 0.6791 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003249/0.7526, allocations: 3.258 MB / 0.6823 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/0.7543, allocations: 1.048 MB / 0.6833 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.7558, allocations: 0.5475 MB / 0.6839 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.756, allocations: 301.1 kB / 0.6841 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/0.762, allocations: 3.374 MB / 0.6874 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008438/0.7705, allocations: 6.971 MB / 0.6943 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.7847, allocations: 11.18 MB / 0.7052 GB, free: 2.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7849, allocations: 36 kB / 0.7052 GB, free: 2.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.2925/1.077, allocations: 12.58 MB / 0.7175 GB, free: 159.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.077, allocations: 57.75 kB / 0.7175 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.078, allocations: 127.4 kB / 0.7177 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007482/1.085, allocations: 2.64 MB / 0.7202 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005171/1.09, allocations: 1.471 MB / 0.7217 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/1.114, allocations: 21.63 MB / 0.7428 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/1.12, allocations: 431.6 kB / 0.7432 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/1.12, allocations: 392.7 kB / 0.7436 GB, free: 148.1 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.004005/1.125, allocations: 2.228 MB / 0.7458 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/1.125, allocations: 402.1 kB / 0.7461 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.138, allocations: 8.018 MB / 0.754 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/1.138, allocations: 32 kB / 0.754 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.138, allocations: 13.14 kB / 0.754 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.138, allocations: 11.95 kB / 0.754 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.159, allocations: 14.8 MB / 0.7685 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.159, allocations: 7.938 kB / 0.7685 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.161, allocations: 401.8 kB / 0.7689 GB, free: 126.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005447/1.166, allocations: 2.431 MB / 0.7713 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.166, allocations: 56.69 kB / 0.7713 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/1.188, allocations: 21.35 MB / 0.7922 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.188, allocations: 10.89 kB / 0.7922 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.201, allocations: 8.127 MB / 0.8001 GB, free: 94.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.202, allocations: 451.7 kB / 0.8005 GB, free: 93.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.203, allocations: 44 kB / 0.8006 GB, free: 93.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.206, allocations: 215.7 kB / 0.8008 GB, free: 93.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006894/1.206, allocations: 189.5 kB / 0.801 GB, free: 93.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.207, allocations: 75.98 kB / 0.801 GB, free: 93.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003105/1.21, allocations: 2.634 MB / 0.8036 GB, free: 90.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.21, allocations: 0 / 0.8036 GB, free: 90.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005055/1.215, allocations: 1.356 MB / 0.8049 GB, free: 89.29 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.01269/1.227, allocations: 9.128 MB / 0.8138 GB, free: 80.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.239, allocations: 8.833 MB / 0.8225 GB, free: 71.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.239, allocations: 5.25 kB / 0.8225 GB, free: 71.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.245, allocations: 4.079 MB / 0.8265 GB, free: 67.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/1.249, allocations: 480.8 kB / 0.8269 GB, free: 67.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08813/1.337, allocations: 69.77 MB / 0.8951 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.341, allocations: 3.575 MB / 0.8985 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005429/1.346, allocations: 2.144 MB / 0.9006 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/1.349, allocations: 2.085 MB / 0.9027 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of SimCode: time 8.82e-07/1.349, allocations: 0 / 0.9027 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3778/1.727, allocations: 99.94 MB / 1 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.727, allocations: 272.2 kB / 1.001 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/5.871, allocations: 0 / 1.001 GB, free: 163.6 MB / 0.5763 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