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.00163/0.00163, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001714/0.001714, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2299/0.2299, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4371, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01384/0.4509, allocations: 12 MB / 0.5301 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4631, allocations: 4.609 MB / 0.5346 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.4659, allocations: 80.72 kB / 0.5347 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006165/0.4721, allocations: 3.001 MB / 0.5376 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.478, allocations: 1.963 MB / 0.5395 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.4808, allocations: 0.8825 MB / 0.5404 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006772/0.4876, allocations: 4.065 MB / 0.5444 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.4915, allocations: 3.305 MB / 0.5476 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.4943, allocations: 1.756 MB / 0.5493 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.4968, allocations: 2.173 MB / 0.5514 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.4974, allocations: 316 kB / 0.5517 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.4995, allocations: 1.209 MB / 0.5529 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.5011, allocations: 2.003 MB / 0.5549 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.5031, allocations: 2.294 MB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007375/0.5105, allocations: 7.186 MB / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5106, allocations: 0 / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5106, allocations: 0 / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.5107, allocations: 0 / 0.5641 GB, free: 13.18 MB / 430.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.01045/0.5212, allocations: 5.345 MB / 0.5693 GB, free: 7.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.5213, allocations: 8.031 kB / 0.5694 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001088/0.5224, allocations: 0.753 MB / 0.5701 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/0.5287, allocations: 1.882 MB / 0.5719 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006024/0.5347, allocations: 2.882 MB / 0.5747 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.5349, allocations: 230 kB / 0.575 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006464/0.5356, allocations: 323.8 kB / 0.5753 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.5565, allocations: 11.19 MB / 0.5862 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.5567, allocations: 47.53 kB / 0.5862 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008107/0.5575, allocations: 151.8 kB / 0.5864 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.5616, allocations: 2.302 MB / 0.5886 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.5809, allocations: 9.874 MB / 0.5983 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/0.6411, allocations: 44.11 MB / 0.6414 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.6549, allocations: 5.817 MB / 0.647 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.6589, allocations: 3.245 MB / 0.6502 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01521/0.6741, allocations: 9.374 MB / 0.6594 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01013/0.6842, allocations: 3.369 MB / 0.6627 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=211): time 6.822e-06/0.6843, allocations: 0 / 0.6627 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=285): time 0.1184/0.8027, allocations: 33.39 MB / 0.6953 GB, free: 4.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.8028, allocations: 166.5 kB / 0.6954 GB, free: 3.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008104/0.811, allocations: 4.19 MB / 0.6995 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007296/0.8117, allocations: 73.7 kB / 0.6996 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003371/0.8151, allocations: 3.255 MB / 0.7028 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/0.8169, allocations: 1.045 MB / 0.7038 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003715/0.8206, allocations: 1.337 MB / 0.7051 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8207, allocations: 305.1 kB / 0.7054 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/0.8259, allocations: 3.37 MB / 0.7087 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3289/1.155, allocations: 6.969 MB / 0.7155 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/1.171, allocations: 11.17 MB / 0.7264 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/1.171, allocations: 40.05 kB / 0.7264 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02715/1.198, allocations: 12.59 MB / 0.7387 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/1.198, allocations: 58.88 kB / 0.7388 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.198, allocations: 131.5 kB / 0.7389 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006706/1.205, allocations: 2.632 MB / 0.7415 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/1.21, allocations: 1.473 MB / 0.7429 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/1.234, allocations: 23.37 MB / 0.7657 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.239, allocations: 431.7 kB / 0.7661 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007801/1.24, allocations: 387.9 kB / 0.7665 GB, free: 133.3 MB / 0.5606 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.002809/1.242, allocations: 2.226 MB / 0.7687 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/1.243, allocations: 409.1 kB / 0.7691 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.255, allocations: 8.016 MB / 0.7769 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/1.255, allocations: 32 kB / 0.7769 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.255, allocations: 8 kB / 0.7769 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/1.255, allocations: 19.94 kB / 0.777 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/1.276, allocations: 14.6 MB / 0.7912 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.276, allocations: 4 kB / 0.7912 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.278, allocations: 403.3 kB / 0.7916 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/1.283, allocations: 2.306 MB / 0.7939 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/1.283, allocations: 54.83 kB / 0.7939 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/1.305, allocations: 23.14 MB / 0.8165 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.305, allocations: 7.938 kB / 0.8165 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.317, allocations: 8.142 MB / 0.8245 GB, free: 73.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.318, allocations: 439.8 kB / 0.8249 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.319, allocations: 51.59 kB / 0.8249 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.321, allocations: 215.7 kB / 0.8251 GB, free: 72.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/1.321, allocations: 189.6 kB / 0.8253 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/1.322, allocations: 75.98 kB / 0.8254 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003002/1.325, allocations: 2.634 MB / 0.828 GB, free: 70 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.325, allocations: 0 / 0.828 GB, free: 70 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005141/1.33, allocations: 1.361 MB / 0.8293 GB, free: 68.64 MB / 0.5606 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.01325/1.343, allocations: 9.11 MB / 0.8382 GB, free: 59.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.354, allocations: 8.885 MB / 0.8469 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.354, allocations: 0 / 0.8469 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.359, allocations: 4.1 MB / 0.8509 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.362, allocations: 0.4899 MB / 0.8513 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07609/1.438, allocations: 60.14 MB / 0.9101 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00574/1.444, allocations: 3.578 MB / 0.9136 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005458/1.449, allocations: 2.144 MB / 0.9157 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003558/1.453, allocations: 2.081 MB / 0.9177 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/1.453, allocations: 0 / 0.9177 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4525/1.906, allocations: 102.2 MB / 1.018 GB, free: 177.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.43/22.33, allocations: 0 / 1.018 GB, free: 177.7 MB / 0.6231 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