Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2374/0.2374, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003136/0.003136, allocations: 82.34 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1302, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01461/0.1448, allocations: 11.97 MB / 492.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1551, allocations: 4.747 MB / 496.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.1586, allocations: 79.75 kB / 497 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006776/0.1655, allocations: 2.986 MB / 500 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.171, allocations: 1.969 MB / 0.4902 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1733, allocations: 0.842 MB / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006841/0.1801, allocations: 4.104 MB / 0.495 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005072/0.1852, allocations: 3.301 MB / 0.4982 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.1883, allocations: 1.748 MB / 0.4999 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.1917, allocations: 2.161 MB / 0.502 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.1928, allocations: 312 kB / 0.5023 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.1957, allocations: 1.198 MB / 0.5035 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2117/0.4074, allocations: 1.933 MB / 0.5054 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.4105, allocations: 2.275 MB / 0.5076 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009178/0.4197, allocations: 6.885 MB / 0.5143 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.4197, allocations: 0 / 0.5143 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4197, allocations: 0 / 0.5143 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.42, allocations: 0 / 0.5143 GB, free: 15.2 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.01861/0.4386, allocations: 5.341 MB / 0.5196 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4387, allocations: 9.719 kB / 0.5196 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003458/0.4422, allocations: 0.7478 MB / 0.5203 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008276/0.4505, allocations: 1.879 MB / 0.5221 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007192/0.4577, allocations: 2.708 MB / 0.5248 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.458, allocations: 243.9 kB / 0.525 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.4595, allocations: 317.6 kB / 0.5253 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.4811, allocations: 11.19 MB / 0.5362 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.4813, allocations: 46.38 kB / 0.5363 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000522/0.4818, allocations: 153.9 kB / 0.5364 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003784/0.4856, allocations: 2.295 MB / 0.5387 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/0.506, allocations: 9.863 MB / 0.5483 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/0.5698, allocations: 44.31 MB / 0.5916 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.5858, allocations: 5.828 MB / 0.5973 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/0.5906, allocations: 3.239 MB / 0.6004 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01666/0.6073, allocations: 9.352 MB / 0.6096 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0117/0.619, allocations: 3.373 MB / 0.6129 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=211): time 7.744e-06/0.6191, allocations: 0 / 0.6129 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=285): time 0.1334/0.7524, allocations: 33.4 MB / 0.6455 GB, free: 10.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.7526, allocations: 158.5 kB / 0.6456 GB, free: 10.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009383/0.762, allocations: 4.194 MB / 0.6497 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001055/0.7631, allocations: 80.42 kB / 0.6498 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005031/0.7682, allocations: 3.246 MB / 0.653 GB, free: 2.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002408/0.7706, allocations: 1.042 MB / 0.654 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005569/0.7762, allocations: 1.333 MB / 0.6553 GB, free: 340 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7764, allocations: 305.1 kB / 0.6556 GB, free: 32 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007488/0.7839, allocations: 3.378 MB / 0.6589 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/0.7953, allocations: 6.971 MB / 0.6657 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01706/0.8124, allocations: 11.17 MB / 0.6766 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.8126, allocations: 36 kB / 0.6766 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02847/0.841, allocations: 12.59 MB / 0.6889 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.8413, allocations: 64.06 kB / 0.689 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/0.8416, allocations: 124 kB / 0.6891 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008556/0.8502, allocations: 2.643 MB / 0.6917 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006207/0.8564, allocations: 1.474 MB / 0.6931 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2667/1.123, allocations: 23.4 MB / 0.716 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006977/1.13, allocations: 435 kB / 0.7164 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.132, allocations: 392 kB / 0.7168 GB, free: 190.4 MB / 0.545 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.005673/1.138, allocations: 2.231 MB / 0.7189 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009719/1.139, allocations: 401.8 kB / 0.7193 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.154, allocations: 8.01 MB / 0.7272 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/1.154, allocations: 31.03 kB / 0.7272 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/1.154, allocations: 10.41 kB / 0.7272 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.155, allocations: 20.11 kB / 0.7272 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0284/1.183, allocations: 14.8 MB / 0.7417 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.183, allocations: 3 kB / 0.7417 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.185, allocations: 400.8 kB / 0.7421 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005323/1.191, allocations: 2.321 MB / 0.7443 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005907/1.191, allocations: 45.5 kB / 0.7444 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/1.215, allocations: 23.12 MB / 0.7669 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.215, allocations: 7.938 kB / 0.7669 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.228, allocations: 8.122 MB / 0.7749 GB, free: 156.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.229, allocations: 440 kB / 0.7753 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.23, allocations: 53.47 kB / 0.7753 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.233, allocations: 211.7 kB / 0.7755 GB, free: 155.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009818/1.234, allocations: 193 kB / 0.7757 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004502/1.235, allocations: 73.17 kB / 0.7758 GB, free: 155.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00483/1.24, allocations: 2.634 MB / 0.7784 GB, free: 152.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.72e-07/1.24, allocations: 0.9844 kB / 0.7784 GB, free: 152.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00949/1.249, allocations: 1.343 MB / 0.7797 GB, free: 151.3 MB / 0.545 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.01664/1.266, allocations: 9.105 MB / 0.7886 GB, free: 142.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0178/1.284, allocations: 11.63 MB / 0.7999 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.284, allocations: 0 / 0.7999 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.29, allocations: 4.086 MB / 0.8039 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/1.293, allocations: 0.4932 MB / 0.8044 GB, free: 126 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/1.395, allocations: 67.69 MB / 0.8705 GB, free: 50.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005897/1.401, allocations: 3.574 MB / 0.874 GB, free: 46.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006003/1.407, allocations: 2.149 MB / 0.8761 GB, free: 44.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003644/1.41, allocations: 2.073 MB / 0.8781 GB, free: 42.32 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.41, allocations: 0 / 0.8781 GB, free: 42.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/1.82, allocations: 104.5 MB / 0.9802 GB, free: 148.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/16.27, allocations: 10.33 kB / 0.9802 GB, free: 148.8 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)