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.001048/0.001048, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.0009897/0.0009897, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.407/1.407, allocations: 222.9 MB / 242.4 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.2345/0.2345, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4118, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01402/0.4259, allocations: 12 MB / 0.5301 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.4366, allocations: 4.611 MB / 0.5346 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.4391, allocations: 81.03 kB / 0.5347 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005798/0.445, allocations: 2.998 MB / 0.5376 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.4508, allocations: 2.021 MB / 0.5396 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.4534, allocations: 0.8707 MB / 0.5404 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006689/0.4601, allocations: 4.067 MB / 0.5444 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005237/0.4654, allocations: 3.313 MB / 0.5477 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.469, allocations: 1.752 MB / 0.5494 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.4725, allocations: 2.173 MB / 0.5515 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.4736, allocations: 312 kB / 0.5518 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.4768, allocations: 1.213 MB / 0.553 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002767/0.4796, allocations: 2.002 MB / 0.5549 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004508/0.4841, allocations: 2.298 MB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.4948, allocations: 7.19 MB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4948, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4948, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.4951, allocations: 0 / 0.5642 GB, free: 13.1 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.01428/0.5094, allocations: 5.337 MB / 0.5694 GB, free: 7.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5095, allocations: 12.03 kB / 0.5694 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002022/0.5115, allocations: 0.7491 MB / 0.5701 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.5184, allocations: 1.882 MB / 0.572 GB, free: 5.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006856/0.5253, allocations: 2.886 MB / 0.5748 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.5257, allocations: 230 kB / 0.575 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.5274, allocations: 315.8 kB / 0.5753 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5512, allocations: 11.19 MB / 0.5863 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.5515, allocations: 43.59 kB / 0.5863 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/0.5527, allocations: 147.8 kB / 0.5864 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/0.5569, allocations: 2.298 MB / 0.5887 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/0.5806, allocations: 9.874 MB / 0.5983 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0692/0.6498, allocations: 44.12 MB / 0.6414 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/0.6645, allocations: 5.816 MB / 0.6471 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/0.669, allocations: 3.246 MB / 0.6503 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/0.6848, allocations: 9.37 MB / 0.6594 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01101/0.6959, allocations: 3.365 MB / 0.6627 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=211): time 9.258e-06/0.6959, allocations: 4 kB / 0.6627 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=285): time 0.147/0.8429, allocations: 33.4 MB / 0.6953 GB, free: 4.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.843, allocations: 158.5 kB / 0.6955 GB, free: 3.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.8485, allocations: 4.194 MB / 0.6996 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006013/0.8492, allocations: 69.7 kB / 0.6996 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002561/0.8517, allocations: 3.255 MB / 0.7028 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.8535, allocations: 1.045 MB / 0.7038 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/0.8561, allocations: 1.337 MB / 0.7051 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8562, allocations: 305.1 kB / 0.7054 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005093/0.8613, allocations: 3.37 MB / 0.7087 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2741/1.135, allocations: 6.97 MB / 0.7155 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/1.152, allocations: 11.17 MB / 0.7264 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002613/1.153, allocations: 35.75 kB / 0.7265 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02445/1.177, allocations: 12.59 MB / 0.7388 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.859e-05/1.177, allocations: 58.59 kB / 0.7388 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/1.177, allocations: 130.2 kB / 0.7389 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006257/1.184, allocations: 2.62 MB / 0.7415 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/1.189, allocations: 1.478 MB / 0.7429 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.212, allocations: 23.39 MB / 0.7658 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/1.218, allocations: 427.6 kB / 0.7662 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.219, allocations: 387.9 kB / 0.7666 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.004409/1.224, allocations: 2.221 MB / 0.7687 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.225, allocations: 416.6 kB / 0.7691 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.238, allocations: 8.003 MB / 0.7769 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.208e-05/1.238, allocations: 33.86 kB / 0.777 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/1.238, allocations: 12 kB / 0.777 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-05/1.238, allocations: 15.95 kB / 0.777 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.263, allocations: 14.61 MB / 0.7913 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/1.263, allocations: 3.938 kB / 0.7913 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.266, allocations: 396.6 kB / 0.7917 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005232/1.271, allocations: 2.308 MB / 0.7939 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004761/1.271, allocations: 51.98 kB / 0.794 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/1.294, allocations: 23.15 MB / 0.8166 GB, free: 81.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.295, allocations: 4 kB / 0.8166 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.308, allocations: 8.142 MB / 0.8245 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.309, allocations: 443.7 kB / 0.8249 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.31, allocations: 47.36 kB / 0.825 GB, free: 73.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.313, allocations: 219.7 kB / 0.8252 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009727/1.314, allocations: 181.7 kB / 0.8254 GB, free: 72.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004644/1.314, allocations: 75.98 kB / 0.8254 GB, free: 72.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0049/1.319, allocations: 2.634 MB / 0.828 GB, free: 70.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.319, allocations: 0 / 0.828 GB, free: 70.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00771/1.327, allocations: 1.366 MB / 0.8293 GB, free: 68.65 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.01517/1.342, allocations: 9.107 MB / 0.8382 GB, free: 59.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.356, allocations: 8.885 MB / 0.8469 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.356, allocations: 0 / 0.8469 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006197/1.362, allocations: 4.089 MB / 0.8509 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/1.367, allocations: 0.4978 MB / 0.8514 GB, free: 46.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1004/1.467, allocations: 60.14 MB / 0.9101 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006226/1.474, allocations: 3.574 MB / 0.9136 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006069/1.48, allocations: 2.14 MB / 0.9157 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003967/1.484, allocations: 2.073 MB / 0.9177 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/1.484, allocations: 4 kB / 0.9177 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4619/1.946, allocations: 100.4 MB / 1.016 GB, free: 179.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/22.95, allocations: 2.5 kB / 1.016 GB, free: 179.4 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