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.001671/0.001671, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002423/0.002423, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001988/0.001988, allocations: 60.56 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.271, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02098/0.292, allocations: 18.14 MB / 450.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.306, allocations: 6.107 MB / 456.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.3101, allocations: 167.1 kB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.3229, allocations: 6.351 MB / 462.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009183/0.3321, allocations: 2.891 MB / 465.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005691/0.3378, allocations: 2.304 MB / 467.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.3531, allocations: 9.718 MB / 477.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00959/0.3627, allocations: 6.225 MB / 483.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006575/0.3692, allocations: 3.257 MB / 487.1 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007922/0.3772, allocations: 4.472 MB / 491.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00255/0.3797, allocations: 0.7187 MB / 492.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.385, allocations: 1.947 MB / 494.2 MB, free: 8.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006745/0.3917, allocations: 3.912 MB / 498.1 MB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009431/0.4011, allocations: 4.403 MB / 0.4907 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.4207, allocations: 13.88 MB / 0.5043 GB, free: 2.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4207, allocations: 4 kB / 0.5043 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4207, allocations: 0 / 0.5043 GB, free: 2.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000451/0.4211, allocations: 0 / 0.5043 GB, free: 2.059 MB / 414.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.03174/0.4529, allocations: 9.581 MB / 0.5137 GB, free: 8.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.4529, allocations: 12.03 kB / 0.5137 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004219/0.4572, allocations: 1.131 MB / 0.5148 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7099/1.167, allocations: 23.27 MB / 0.5375 GB, free: 94.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/1.188, allocations: 7.461 MB / 0.5448 GB, free: 92.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/1.188, allocations: 435.4 kB / 0.5452 GB, free: 92.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/1.191, allocations: 0.5795 MB / 0.5458 GB, free: 92.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/1.223, allocations: 16.86 MB / 0.5622 GB, free: 81.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/1.224, allocations: 83.41 kB / 0.5623 GB, free: 80.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/1.226, allocations: 268 kB / 0.5626 GB, free: 80.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003782/1.229, allocations: 2.657 MB / 0.5652 GB, free: 78.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/1.256, allocations: 14.41 MB / 0.5792 GB, free: 63.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08013/1.336, allocations: 63.59 MB / 0.6413 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02433/1.36, allocations: 7.909 MB / 0.649 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007086/1.367, allocations: 4.581 MB / 0.6535 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03611/1.403, allocations: 17.47 MB / 0.6706 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/1.403, allocations: 64.56 kB / 0.6706 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 7.634e-06/1.403, allocations: 0 / 0.6706 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2687/1.672, allocations: 72.96 MB / 0.7419 GB, free: 8.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002666/1.672, allocations: 368.6 kB / 0.7422 GB, free: 7.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.687, allocations: 6.435 MB / 0.7485 GB, free: 1.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.688, allocations: 81.7 kB / 0.7486 GB, free: 1.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2692/1.957, allocations: 5.015 MB / 0.7535 GB, free: 191.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002302/1.959, allocations: 1.434 MB / 0.7549 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004801/1.964, allocations: 1.845 MB / 0.7567 GB, free: 190.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/1.964, allocations: 301.8 kB / 0.757 GB, free: 190 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008766/1.973, allocations: 5.669 MB / 0.7625 GB, free: 187.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/1.985, allocations: 10.61 MB / 0.7729 GB, free: 179.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/2.004, allocations: 17.35 MB / 0.7898 GB, free: 167 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/2.004, allocations: 50.78 kB / 0.7899 GB, free: 167 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04181/2.046, allocations: 21.93 MB / 0.8113 GB, free: 148.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/2.046, allocations: 76 kB / 0.8114 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/2.046, allocations: 174 kB / 0.8115 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01922/2.065, allocations: 6.857 MB / 0.8182 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007067/2.072, allocations: 2.07 MB / 0.8203 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04095/2.113, allocations: 36.1 MB / 0.8555 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008449/2.122, allocations: 0.7196 MB / 0.8562 GB, free: 102.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/2.124, allocations: 0.5078 MB / 0.8567 GB, free: 101.7 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.00614/2.13, allocations: 3.427 MB / 0.8601 GB, free: 98.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.131, allocations: 0.617 MB / 0.8607 GB, free: 97.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/2.16, allocations: 16.03 MB / 0.8763 GB, free: 81.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.193e-05/2.16, allocations: 47.98 kB / 0.8764 GB, free: 81.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/2.16, allocations: 16 kB / 0.8764 GB, free: 81.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.024e-05/2.16, allocations: 15.94 kB / 0.8764 GB, free: 81.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06263/2.223, allocations: 31.2 MB / 0.9069 GB, free: 50.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.056e-05/2.223, allocations: 4.25 kB / 0.9069 GB, free: 50.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004376/2.227, allocations: 0.6123 MB / 0.9075 GB, free: 49.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0236/2.251, allocations: 6.438 MB / 0.9137 GB, free: 42.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009149/2.252, allocations: 60 kB / 0.9138 GB, free: 42.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03785/2.289, allocations: 34.33 MB / 0.9473 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/2.289, allocations: 8 kB / 0.9473 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/2.559, allocations: 23.51 MB / 0.9703 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/2.561, allocations: 0.5799 MB / 0.9709 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/2.563, allocations: 59.62 kB / 0.9709 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005203/2.568, allocations: 428.3 kB / 0.9713 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001557/2.57, allocations: 269.7 kB / 0.9716 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004667/2.571, allocations: 94.61 kB / 0.9717 GB, free: 169.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006699/2.577, allocations: 4.109 MB / 0.9757 GB, free: 168.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/2.577, allocations: 0 / 0.9757 GB, free: 168.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009761/2.587, allocations: 2.185 MB / 0.9778 GB, free: 168.1 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.03781/2.625, allocations: 24.29 MB / 1.002 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01866/2.643, allocations: 13.65 MB / 1.015 GB, free: 139.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/2.643, allocations: 7.875 kB / 1.015 GB, free: 139.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008864/2.652, allocations: 6.025 MB / 1.021 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00639/2.659, allocations: 0.9417 MB / 1.022 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1611/2.82, allocations: 102.9 MB / 1.122 GB, free: 22.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007731/2.828, allocations: 5.257 MB / 1.127 GB, free: 16.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00755/2.835, allocations: 3.036 MB / 1.13 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007152/2.842, allocations: 3.389 MB / 1.134 GB, free: 10.46 MB / 0.545 GB Notification: Performance of SimCode: time 2.715e-06/2.842, allocations: 0 / 1.134 GB, free: 10.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5266/3.369, allocations: 172.2 MB / 1.302 GB, free: 66.69 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.61/30.98, allocations: 16.05 kB / 1.302 GB, free: 66.67 MB / 0.5607 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.62635347433388] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w'] 31.175665616057813 31.192312204 30.767653458 Calling exit ...