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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 215.5 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 230.2 MB / 256.1 MB, free: 8.734 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2016/0.2016, allocations: 46.89 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002136/0.002136, allocations: 83.84 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2582, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01309/0.2712, allocations: 12.05 MB / 0.5702 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008631/0.2799, allocations: 4.802 MB / 0.5748 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.2814, allocations: 83.69 kB / 0.5749 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005577/0.287, allocations: 3.029 MB / 0.5779 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.292, allocations: 2.031 MB / 0.5799 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.2941, allocations: 0.8498 MB / 0.5807 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005683/0.2998, allocations: 4.089 MB / 0.5847 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.3032, allocations: 2.517 MB / 0.5871 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.3059, allocations: 1.764 MB / 0.5889 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.3091, allocations: 2.356 MB / 0.5912 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007813/0.3099, allocations: 316 kB / 0.5915 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.3122, allocations: 1.233 MB / 0.5927 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002083/0.3143, allocations: 2.029 MB / 0.5947 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.3166, allocations: 2.279 MB / 0.5969 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007133/0.3238, allocations: 7.17 MB / 0.6039 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3238, allocations: 0 / 0.6039 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3238, allocations: 0 / 0.6039 GB, free: 6.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.447e-05/0.3238, allocations: 0 / 0.6039 GB, free: 6.402 MB / 446.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.009372/0.3332, allocations: 5.493 MB / 0.6092 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3333, allocations: 8.031 kB / 0.6093 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000879/0.3341, allocations: 0.7491 MB / 0.61 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.3402, allocations: 1.911 MB / 0.6119 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004555/0.3447, allocations: 2.792 MB / 0.6146 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3449, allocations: 242 kB / 0.6148 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000531/0.3454, allocations: 315.8 kB / 0.6151 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.3624, allocations: 11.19 MB / 0.626 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.3625, allocations: 47.62 kB / 0.6261 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/0.3629, allocations: 151.8 kB / 0.6262 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.3667, allocations: 2.295 MB / 0.6285 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.3843, allocations: 9.862 MB / 0.6381 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/0.4337, allocations: 44.2 MB / 0.6813 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.447, allocations: 5.593 MB / 0.6867 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/0.4507, allocations: 2.925 MB / 0.6896 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/0.4634, allocations: 9.373 MB / 0.6987 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009789/0.4732, allocations: 3.365 MB / 0.702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=211): time 5.791e-06/0.4732, allocations: 4 kB / 0.702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=285): time 0.3242/0.7974, allocations: 33.6 MB / 0.7348 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.7975, allocations: 159.2 kB / 0.735 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.8015, allocations: 4.209 MB / 0.7391 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004012/0.802, allocations: 69.23 kB / 0.7392 GB, free: 155 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.8041, allocations: 3.379 MB / 0.7425 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.8052, allocations: 1.093 MB / 0.7435 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.8066, allocations: 1.345 MB / 0.7449 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.8067, allocations: 305.1 kB / 0.7451 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.8101, allocations: 3.374 MB / 0.7484 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.8148, allocations: 6.969 MB / 0.7552 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008464/0.8233, allocations: 11.17 MB / 0.7662 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.371e-05/0.8233, allocations: 36 kB / 0.7662 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01597/0.8393, allocations: 12.56 MB / 0.7785 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.8393, allocations: 60 kB / 0.7785 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.489e-05/0.8394, allocations: 124 kB / 0.7786 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005708/0.8451, allocations: 2.643 MB / 0.7812 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/0.849, allocations: 1.474 MB / 0.7826 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.87, allocations: 23.39 MB / 0.8055 GB, free: 94.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/0.8746, allocations: 434.9 kB / 0.8059 GB, free: 94.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/0.8752, allocations: 396.9 kB / 0.8063 GB, free: 93.64 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.002452/0.8777, allocations: 2.236 MB / 0.8085 GB, free: 91.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.8782, allocations: 425.1 kB / 0.8089 GB, free: 91.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.8895, allocations: 7.969 MB / 0.8167 GB, free: 83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/0.8896, allocations: 28 kB / 0.8167 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.8896, allocations: 12 kB / 0.8167 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.8896, allocations: 11.95 kB / 0.8167 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.9083, allocations: 14.56 MB / 0.8309 GB, free: 68.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.9083, allocations: 4 kB / 0.8309 GB, free: 68.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.9102, allocations: 391.6 kB / 0.8313 GB, free: 67.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/0.915, allocations: 2.316 MB / 0.8336 GB, free: 65.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003442/0.9153, allocations: 48 kB / 0.8336 GB, free: 65.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/0.936, allocations: 23.18 MB / 0.8562 GB, free: 41.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.936, allocations: 8.094 kB / 0.8563 GB, free: 41.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.9471, allocations: 8.114 MB / 0.8642 GB, free: 33.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.9479, allocations: 466 kB / 0.8646 GB, free: 33.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/0.9484, allocations: 55.34 kB / 0.8647 GB, free: 33.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.9503, allocations: 211.7 kB / 0.8649 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/0.9509, allocations: 193.6 kB / 0.8651 GB, free: 32.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/0.9511, allocations: 72 kB / 0.8651 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002592/0.9537, allocations: 2.63 MB / 0.8677 GB, free: 30 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9537, allocations: 0 / 0.8677 GB, free: 30 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004495/0.9582, allocations: 1.348 MB / 0.869 GB, free: 28.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%), (2,14,100.0%), (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.01235/0.9706, allocations: 9.094 MB / 0.8779 GB, free: 19.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01029/0.9809, allocations: 8.505 MB / 0.8862 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9809, allocations: 4 kB / 0.8862 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/0.9855, allocations: 3.772 MB / 0.8899 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.9878, allocations: 0.4975 MB / 0.8904 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08295/1.071, allocations: 60.33 MB / 0.9493 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00448/1.075, allocations: 3.574 MB / 0.9528 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004684/1.08, allocations: 2.144 MB / 0.9549 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002961/1.083, allocations: 2.073 MB / 0.9569 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1.083, allocations: 0 / 0.9569 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3365/1.419, allocations: 102.1 MB / 1.057 GB, free: 181.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/20.13, allocations: 6.922 kB / 1.057 GB, free: 181.9 MB / 0.6544 GB " [Timeout remaining time 640] (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.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.849095896002837]