Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_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.001262/0.001262, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001209/0.001209, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2537/0.2537, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.48 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1331, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01231/0.1454, allocations: 12.02 MB / 452.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1561, allocations: 4.522 MB / 457.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.1591, allocations: 79.75 kB / 457.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007618/0.1668, allocations: 2.998 MB / 460.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.1734, allocations: 1.969 MB / 462.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.176, allocations: 0.8495 MB / 463.1 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005747/0.1817, allocations: 4.081 MB / 467.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.1861, allocations: 3.321 MB / 470.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.1891, allocations: 1.764 MB / 472.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.192, allocations: 2.157 MB / 474.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009117/0.1929, allocations: 312 kB / 474.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.1954, allocations: 1.186 MB / 475.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.1976, allocations: 1.96 MB / 477.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003509/0.2011, allocations: 2.306 MB / 480.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009834/0.211, allocations: 6.935 MB / 487.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.211, allocations: 4 kB / 487.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2111, allocations: 0 / 487.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002469/0.2113, allocations: 0 / 487.1 MB, free: 8.156 MB / 366.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.01486/0.2262, allocations: 5.345 MB / 492.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2263, allocations: 15.89 kB / 492.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/0.2279, allocations: 0.753 MB / 493.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.2349, allocations: 1.878 MB / 495.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005601/0.2405, allocations: 2.988 MB / 498.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.2407, allocations: 242 kB / 498.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/0.2414, allocations: 315.7 kB / 498.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.2619, allocations: 11.19 MB / 0.4978 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.2621, allocations: 47.53 kB / 0.4979 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/0.2626, allocations: 155.8 kB / 0.498 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.2667, allocations: 2.299 MB / 0.5003 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.2883, allocations: 9.866 MB / 0.5099 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.277/0.5654, allocations: 44.32 MB / 0.5532 GB, free: 58.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/0.5806, allocations: 5.829 MB / 0.5589 GB, free: 57.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/0.5844, allocations: 3.241 MB / 0.562 GB, free: 55.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.5959, allocations: 9.376 MB / 0.5712 GB, free: 50.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009161/0.6051, allocations: 3.368 MB / 0.5745 GB, free: 48.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=211): time 4.498e-06/0.6052, allocations: 0 / 0.5745 GB, free: 48.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=285): time 0.1079/0.7131, allocations: 33.45 MB / 0.6072 GB, free: 17.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.7132, allocations: 158 kB / 0.6073 GB, free: 17.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005452/0.7187, allocations: 4.211 MB / 0.6114 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006958/0.7194, allocations: 73.7 kB / 0.6115 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001933/0.7213, allocations: 3.261 MB / 0.6147 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/0.7225, allocations: 1.043 MB / 0.6157 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.7241, allocations: 1.333 MB / 0.617 GB, free: 7.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.7242, allocations: 309.1 kB / 0.6173 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/0.7279, allocations: 3.37 MB / 0.6206 GB, free: 3.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007446/0.7353, allocations: 6.975 MB / 0.6274 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.7503, allocations: 11.17 MB / 0.6383 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/0.7504, allocations: 36 kB / 0.6383 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02735/0.7778, allocations: 12.59 MB / 0.6506 GB, free: 1.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.778, allocations: 56 kB / 0.6507 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/0.7782, allocations: 128.8 kB / 0.6508 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/0.7859, allocations: 2.651 MB / 0.6534 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005733/0.7917, allocations: 1.476 MB / 0.6548 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03183/0.8235, allocations: 23.39 MB / 0.6777 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/0.8298, allocations: 435.3 kB / 0.6781 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/0.8312, allocations: 388 kB / 0.6785 GB, free: 4.195 MB / 478.1 MB 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.006111/0.8374, allocations: 2.233 MB / 0.6806 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/0.8388, allocations: 406.8 kB / 0.681 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.8555, allocations: 8.019 MB / 0.6889 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/0.8556, allocations: 28 kB / 0.6889 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.182e-05/0.8557, allocations: 12 kB / 0.6889 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-05/0.8557, allocations: 15.94 kB / 0.6889 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/0.8861, allocations: 14.82 MB / 0.7034 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.8862, allocations: 4 kB / 0.7034 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/0.8886, allocations: 395.4 kB / 0.7038 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/0.8945, allocations: 2.311 MB / 0.706 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005838/0.8951, allocations: 44 kB / 0.7061 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02996/0.9251, allocations: 23.13 MB / 0.7286 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.9252, allocations: 7.875 kB / 0.7287 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2213/1.146, allocations: 8.125 MB / 0.7366 GB, free: 179.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/1.15, allocations: 0.9867 MB / 0.7376 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008596/1.151, allocations: 47 kB / 0.7376 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.153, allocations: 215.5 kB / 0.7378 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000749/1.154, allocations: 191.2 kB / 0.738 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.154, allocations: 74.84 kB / 0.7381 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003895/1.158, allocations: 2.648 MB / 0.7406 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/1.158, allocations: 0 / 0.7406 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006072/1.164, allocations: 1.356 MB / 0.742 GB, free: 179.4 MB / 0.5137 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.01394/1.178, allocations: 9.109 MB / 0.7509 GB, free: 176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.194, allocations: 11.61 MB / 0.7622 GB, free: 170.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.194, allocations: 0 / 0.7622 GB, free: 170.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005437/1.2, allocations: 4.087 MB / 0.7662 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.203, allocations: 0.4919 MB / 0.7667 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07874/1.282, allocations: 67.86 MB / 0.8329 GB, free: 92.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/1.285, allocations: 3.587 MB / 0.8365 GB, free: 88.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00481/1.29, allocations: 2.137 MB / 0.8385 GB, free: 86.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.292, allocations: 2.085 MB / 0.8406 GB, free: 84.22 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/1.292, allocations: 0 / 0.8406 GB, free: 84.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3335/1.626, allocations: 104.6 MB / 0.9427 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.58, allocations: 10.31 kB / 0.9428 GB, free: 164.8 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches