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.0007181/0.0007181, allocations: 95 kB / 17 MB, free: 6.102 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.0007432/0.0007432, allocations: 182.5 kB / 17.89 MB, free: 5.684 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.307/1.307, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 13.23 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 61.91 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.03871/0.1719, allocations: 42.51 MB / 0.5021 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2898/0.4618, allocations: 9.813 MB / 0.5117 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.4738, allocations: 207.3 kB / 0.5119 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009503/0.4834, allocations: 2.315 MB / 0.5141 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01985/0.5033, allocations: 6.588 MB / 0.5206 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.5075, allocations: 0.7543 MB / 0.5213 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007731/0.5153, allocations: 4.68 MB / 0.5259 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00636/0.5217, allocations: 3.92 MB / 0.5297 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.5246, allocations: 1.515 MB / 0.5312 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.5275, allocations: 2.045 MB / 0.5332 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006072/0.5282, allocations: 142.1 kB / 0.5333 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.5302, allocations: 0.9381 MB / 0.5342 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.5319, allocations: 1.742 MB / 0.5359 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.5329, allocations: 0.8676 MB / 0.5368 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.5381, allocations: 5.432 MB / 0.5421 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5381, allocations: 0 / 0.5421 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5381, allocations: 2.5 kB / 0.5421 GB, free: 488 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002425/0.5383, allocations: 0 / 0.5421 GB, free: 488 kB / 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.01019/0.5485, allocations: 4.489 MB / 0.5465 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5486, allocations: 8.031 kB / 0.5465 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002369/0.551, allocations: 0.7489 MB / 0.5472 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00725/0.5583, allocations: 1.93 MB / 0.5491 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/0.5653, allocations: 2.756 MB / 0.5518 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.5656, allocations: 235.3 kB / 0.552 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.5671, allocations: 317.7 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.5887, allocations: 11.2 MB / 0.5633 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.5889, allocations: 51.45 kB / 0.5633 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004946/0.5894, allocations: 155.5 kB / 0.5634 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003826/0.5932, allocations: 2.297 MB / 0.5657 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.6146, allocations: 9.835 MB / 0.5753 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0613/0.676, allocations: 44.29 MB / 0.6186 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.6894, allocations: 5.849 MB / 0.6243 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/0.694, allocations: 3.238 MB / 0.6274 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.7087, allocations: 9.363 MB / 0.6366 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009856/0.7186, allocations: 3.374 MB / 0.6399 GB, free: 1.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 3.867e-06/0.7186, allocations: 0 / 0.6399 GB, free: 1.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=285): time 0.1103/0.8289, allocations: 33.54 MB / 0.6726 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.829, allocations: 158.5 kB / 0.6728 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/0.8352, allocations: 4.172 MB / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007557/0.836, allocations: 69.7 kB / 0.6769 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003644/0.8397, allocations: 3.251 MB / 0.6801 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/0.8414, allocations: 1.051 MB / 0.6811 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000468/0.8419, allocations: 128 kB / 0.6812 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003824/0.8423, allocations: 0.5907 MB / 0.6818 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004979/0.8473, allocations: 3.343 MB / 0.6851 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00753/0.8548, allocations: 6.95 MB / 0.6919 GB, free: 10 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.8622, allocations: 4.727 MB / 0.6965 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.034e-05/0.8623, allocations: 36 kB / 0.6965 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.3411/1.203, allocations: 12.52 MB / 0.7087 GB, free: 182 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.204, allocations: 59.45 kB / 0.7088 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/1.204, allocations: 125.1 kB / 0.7089 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007914/1.212, allocations: 2.654 MB / 0.7115 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/1.218, allocations: 1.479 MB / 0.713 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/1.244, allocations: 21.6 MB / 0.734 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005952/1.25, allocations: 427.1 kB / 0.7344 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/1.251, allocations: 390.9 kB / 0.7348 GB, free: 170.8 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.005578/1.257, allocations: 2.233 MB / 0.737 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.258, allocations: 400 kB / 0.7374 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.272, allocations: 8.007 MB / 0.7452 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/1.272, allocations: 28.94 kB / 0.7452 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.272, allocations: 12 kB / 0.7452 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/1.272, allocations: 15.94 kB / 0.7453 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/1.297, allocations: 14.76 MB / 0.7597 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.297, allocations: 3.688 kB / 0.7597 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.299, allocations: 406.8 kB / 0.7601 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005124/1.304, allocations: 2.431 MB / 0.7624 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/1.304, allocations: 52.77 kB / 0.7625 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/1.327, allocations: 21.34 MB / 0.7833 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.327, allocations: 3.938 kB / 0.7833 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.34, allocations: 8.101 MB / 0.7912 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.342, allocations: 447.8 kB / 0.7917 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008107/1.343, allocations: 47.98 kB / 0.7917 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.344, allocations: 212.6 kB / 0.7919 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/1.345, allocations: 193.6 kB / 0.7921 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.345, allocations: 83.89 kB / 0.7922 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004114/1.349, allocations: 2.602 MB / 0.7947 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/1.349, allocations: 0 / 0.7947 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006458/1.356, allocations: 1.361 MB / 0.7961 GB, free: 113.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01319/1.369, allocations: 9.078 MB / 0.8049 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.382, allocations: 8.815 MB / 0.8135 GB, free: 95.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.383, allocations: 0 / 0.8135 GB, free: 95.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00601/1.389, allocations: 4.072 MB / 0.8175 GB, free: 91.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.392, allocations: 484 kB / 0.818 GB, free: 90.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08339/1.475, allocations: 45.96 MB / 0.8628 GB, free: 40.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.48, allocations: 3.57 MB / 0.8663 GB, free: 37.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005655/1.486, allocations: 2.144 MB / 0.8684 GB, free: 35.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/1.489, allocations: 2.081 MB / 0.8705 GB, free: 33.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/1.489, allocations: 0 / 0.8705 GB, free: 33.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/1.906, allocations: 106.3 MB / 0.9742 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.906, allocations: 248.7 kB / 0.9745 GB, free: 128 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.56/6.466, allocations: 4 kB / 0.9745 GB, free: 128 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat