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.001459/0.001459, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001685/0.001685, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.453/1.453, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2247/0.2247, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 64.2 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 60.82 MB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01258/0.119, allocations: 11.99 MB / 481.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.1272, allocations: 4.622 MB / 486 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.1289, allocations: 79.75 kB / 486 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.1346, allocations: 2.99 MB / 489 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.1404, allocations: 1.969 MB / 491 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.143, allocations: 0.8848 MB / 491.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007394/0.1504, allocations: 4.061 MB / 495.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005645/0.1561, allocations: 3.309 MB / 499.2 MB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.1597, allocations: 1.752 MB / 0.4893 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/0.1639, allocations: 2.165 MB / 0.4914 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.1651, allocations: 312 kB / 0.4917 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.1687, allocations: 1.209 MB / 0.4929 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002725/0.1714, allocations: 1.948 MB / 0.4948 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.1755, allocations: 2.294 MB / 0.497 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2624/0.4379, allocations: 6.927 MB / 0.5038 GB, free: 23.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.438, allocations: 0.8438 kB / 0.5038 GB, free: 23.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.438, allocations: 0 / 0.5038 GB, free: 23.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002325/0.4382, allocations: 0 / 0.5038 GB, free: 23.56 MB / 382.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.01224/0.4505, allocations: 5.342 MB / 0.509 GB, free: 21.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4506, allocations: 9.656 kB / 0.509 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00163/0.4522, allocations: 0.7509 MB / 0.5097 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/0.4593, allocations: 1.877 MB / 0.5116 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005913/0.4652, allocations: 2.817 MB / 0.5143 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.4654, allocations: 234.1 kB / 0.5145 GB, free: 20.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.4667, allocations: 321.8 kB / 0.5148 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.4881, allocations: 11.19 MB / 0.5258 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.4883, allocations: 42.44 kB / 0.5258 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.4888, allocations: 152.8 kB / 0.526 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.4925, allocations: 2.296 MB / 0.5282 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.5113, allocations: 9.867 MB / 0.5378 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05426/0.5656, allocations: 44.31 MB / 0.5811 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.5811, allocations: 5.829 MB / 0.5868 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004253/0.5854, allocations: 3.248 MB / 0.59 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.6003, allocations: 9.355 MB / 0.5991 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01049/0.6108, allocations: 3.365 MB / 0.6024 GB, free: 8.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=211): time 6.943e-06/0.6109, allocations: 0 / 0.6024 GB, free: 8.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=285): time 0.125/0.7359, allocations: 33.4 MB / 0.635 GB, free: 7.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.7361, allocations: 157.4 kB / 0.6352 GB, free: 6.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/0.744, allocations: 4.198 MB / 0.6393 GB, free: 2.594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007503/0.7448, allocations: 65.7 kB / 0.6393 GB, free: 2.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003813/0.7487, allocations: 3.25 MB / 0.6425 GB, free: 15.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.7505, allocations: 1.042 MB / 0.6435 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003565/0.7541, allocations: 1.339 MB / 0.6448 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.7542, allocations: 301.1 kB / 0.6451 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/0.7591, allocations: 3.374 MB / 0.6484 GB, free: 9.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008317/0.7675, allocations: 6.97 MB / 0.6552 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/0.7824, allocations: 11.18 MB / 0.6661 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002755/0.7828, allocations: 36 kB / 0.6662 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02772/0.8105, allocations: 12.59 MB / 0.6785 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.8107, allocations: 60 kB / 0.6785 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/0.811, allocations: 128 kB / 0.6786 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007283/0.8183, allocations: 2.636 MB / 0.6812 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/0.8238, allocations: 1.474 MB / 0.6826 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.284/1.108, allocations: 23.38 MB / 0.7055 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/1.114, allocations: 436.5 kB / 0.7059 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.115, allocations: 393.5 kB / 0.7063 GB, free: 182.1 MB / 0.5294 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.00426/1.119, allocations: 2.227 MB / 0.7085 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/1.12, allocations: 407.5 kB / 0.7088 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.135, allocations: 8.012 MB / 0.7167 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/1.135, allocations: 37.3 kB / 0.7167 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.135, allocations: 8.812 kB / 0.7167 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/1.135, allocations: 15.97 kB / 0.7167 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.16, allocations: 14.79 MB / 0.7312 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.16, allocations: 3.812 kB / 0.7312 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/1.162, allocations: 395 kB / 0.7315 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/1.168, allocations: 2.319 MB / 0.7338 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/1.168, allocations: 52.14 kB / 0.7339 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/1.191, allocations: 23.13 MB / 0.7565 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.191, allocations: 3.938 kB / 0.7565 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.204, allocations: 8.131 MB / 0.7644 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.205, allocations: 435.4 kB / 0.7648 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/1.206, allocations: 54.95 kB / 0.7649 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.208, allocations: 215.7 kB / 0.7651 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007184/1.209, allocations: 192.6 kB / 0.7653 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/1.209, allocations: 71.61 kB / 0.7653 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003403/1.213, allocations: 2.634 MB / 0.7679 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/1.213, allocations: 0 / 0.7679 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005859/1.218, allocations: 1.357 MB / 0.7692 GB, free: 140.1 MB / 0.5294 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.01317/1.232, allocations: 9.106 MB / 0.7781 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.248, allocations: 11.62 MB / 0.7895 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.248, allocations: 0 / 0.7895 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005684/1.254, allocations: 4.081 MB / 0.7934 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.257, allocations: 0.4923 MB / 0.7939 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09045/1.347, allocations: 67.7 MB / 0.86 GB, free: 38.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005504/1.353, allocations: 3.574 MB / 0.8635 GB, free: 35.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005271/1.358, allocations: 2.144 MB / 0.8656 GB, free: 33.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/1.361, allocations: 2.077 MB / 0.8677 GB, free: 31.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.361, allocations: 0 / 0.8677 GB, free: 31.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3884/1.749, allocations: 104.5 MB / 0.9697 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.92, allocations: 11.83 kB / 0.9697 GB, free: 131.3 MB / 0.5294 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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.csv","/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