Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001512/0.001512, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001783/0.001783, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.51/1.51, allocations: 230.5 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002014/0.002014, allocations: 71.81 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.117, allocations: 53.33 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0214/0.1384, allocations: 18.1 MB / 445.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2556/0.394, allocations: 6.061 MB / 451.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/0.3985, allocations: 173.9 kB / 451.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.4113, allocations: 6.313 MB / 457.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009395/0.4207, allocations: 2.891 MB / 460.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.4259, allocations: 2.285 MB / 462.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.4419, allocations: 9.678 MB / 472.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.4524, allocations: 6.897 MB / 479.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008864/0.4613, allocations: 3.254 MB / 482.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009693/0.471, allocations: 4.469 MB / 487.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003732/0.4747, allocations: 0.7155 MB / 487.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007422/0.4821, allocations: 1.952 MB / 489.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006977/0.4891, allocations: 3.903 MB / 493.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.5005, allocations: 4.406 MB / 498.1 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02244/0.523, allocations: 13.87 MB / 0.5 GB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.523, allocations: 0 / 0.5 GB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.523, allocations: 0 / 0.5 GB, free: 3.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004988/0.5235, allocations: 4 kB / 0.5 GB, free: 3.242 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.03152/0.555, allocations: 9.658 MB / 0.5094 GB, free: 9.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.555, allocations: 12.03 kB / 0.5094 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003769/0.5588, allocations: 1.141 MB / 0.5106 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3259/0.8847, allocations: 23.26 MB / 0.5333 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/0.9043, allocations: 7.573 MB / 0.5407 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.9048, allocations: 437 kB / 0.5411 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/0.9073, allocations: 0.5816 MB / 0.5417 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/0.9447, allocations: 16.86 MB / 0.5581 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.945, allocations: 83.41 kB / 0.5582 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.9461, allocations: 270.2 kB / 0.5585 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004931/0.9511, allocations: 2.65 MB / 0.561 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03414/0.9852, allocations: 14.4 MB / 0.5751 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.092, allocations: 63.8 MB / 0.6374 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4556/1.548, allocations: 8.343 MB / 0.6456 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006147/1.554, allocations: 4.558 MB / 0.65 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02874/1.583, allocations: 18.12 MB / 0.6677 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.583, allocations: 67.16 kB / 0.6678 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=281): time 5.871e-06/1.583, allocations: 0 / 0.6678 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=374): time 0.2426/1.826, allocations: 73.07 MB / 0.7391 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.826, allocations: 380.6 kB / 0.7395 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007773/1.834, allocations: 6.429 MB / 0.7458 GB, free: 98.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.835, allocations: 89.61 kB / 0.7459 GB, free: 98.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.837, allocations: 5.005 MB / 0.7507 GB, free: 93.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001625/1.838, allocations: 1.44 MB / 0.7521 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/1.841, allocations: 1.853 MB / 0.754 GB, free: 90.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/1.841, allocations: 305.1 kB / 0.7542 GB, free: 90.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006353/1.847, allocations: 5.659 MB / 0.7598 GB, free: 84.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008772/1.856, allocations: 10.61 MB / 0.7701 GB, free: 71.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.872, allocations: 17.35 MB / 0.7871 GB, free: 51.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/1.873, allocations: 48 kB / 0.7871 GB, free: 51.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03994/1.913, allocations: 21.93 MB / 0.8085 GB, free: 29.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.913, allocations: 82.03 kB / 0.8086 GB, free: 29.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/1.913, allocations: 172 kB / 0.8088 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01959/1.932, allocations: 6.86 MB / 0.8155 GB, free: 22.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007242/1.94, allocations: 2.066 MB / 0.8175 GB, free: 20.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3024/2.242, allocations: 36.41 MB / 0.8531 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/2.253, allocations: 0.712 MB / 0.8538 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/2.255, allocations: 0.5124 MB / 0.8543 GB, free: 160 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.007737/2.262, allocations: 3.414 MB / 0.8576 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/2.264, allocations: 0.6192 MB / 0.8582 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03572/2.3, allocations: 16.03 MB / 0.8739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.692e-05/2.3, allocations: 43.31 kB / 0.8739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.576e-05/2.3, allocations: 16.19 kB / 0.8739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.191e-05/2.3, allocations: 18.47 kB / 0.8739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05191/2.352, allocations: 31.23 MB / 0.9044 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/2.352, allocations: 4.438 kB / 0.9044 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/2.356, allocations: 0.6006 MB / 0.905 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/2.374, allocations: 6.436 MB / 0.9113 GB, free: 136.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/2.375, allocations: 63.62 kB / 0.9114 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0388/2.414, allocations: 34.63 MB / 0.9452 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.414, allocations: 4 kB / 0.9452 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03739/2.452, allocations: 23.51 MB / 0.9681 GB, free: 78.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/2.454, allocations: 0.6576 MB / 0.9688 GB, free: 78.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/2.456, allocations: 60 kB / 0.9688 GB, free: 78.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004985/2.461, allocations: 427.3 kB / 0.9692 GB, free: 77.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001427/2.462, allocations: 252.8 kB / 0.9695 GB, free: 77.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003613/2.462, allocations: 100.7 kB / 0.9696 GB, free: 77.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006004/2.468, allocations: 4.103 MB / 0.9736 GB, free: 73.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/2.468, allocations: 3.938 kB / 0.9736 GB, free: 73.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01032/2.479, allocations: 2.185 MB / 0.9757 GB, free: 71.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03862/2.517, allocations: 24.28 MB / 0.9994 GB, free: 46.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01976/2.537, allocations: 13.67 MB / 1.013 GB, free: 33.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.537, allocations: 0 / 1.013 GB, free: 33.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009027/2.546, allocations: 6.021 MB / 1.019 GB, free: 27.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006306/2.552, allocations: 0.9428 MB / 1.02 GB, free: 26.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4203/2.973, allocations: 102.7 MB / 1.12 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006909/2.98, allocations: 5.27 MB / 1.125 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006748/2.986, allocations: 3.025 MB / 1.128 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005273/2.992, allocations: 3.385 MB / 1.131 GB, free: 125 MB / 0.5607 GB Notification: Performance of SimCode: time 1.503e-06/2.992, allocations: 0 / 1.131 GB, free: 125 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4962/3.488, allocations: 167.8 MB / 1.295 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.17/30.66, allocations: 9.422 kB / 1.295 GB, free: 189.6 MB / 0.5763 GB " [Timeout remaining time 629] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.37222992442548] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w'] 30.840517250820994 30.855433285 30.328843214 Calling exit ...