Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001261/0.001261, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001388/0.001388, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.446/1.446, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",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.002005/0.002005, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 53.32 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01259/0.129, allocations: 10.32 MB / 437.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008113/0.1371, allocations: 3.894 MB / 441.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1384, allocations: 71.69 kB / 441.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003927/0.1423, allocations: 2.102 MB / 443.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.1465, allocations: 1.642 MB / 445 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1481, allocations: 0.6862 MB / 445.7 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2652/0.4133, allocations: 3.387 MB / 449.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/0.4161, allocations: 2.297 MB / 451.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.4188, allocations: 1.27 MB / 452.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.422, allocations: 1.899 MB / 454.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007286/0.4227, allocations: 262.4 kB / 454.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.4253, allocations: 1.137 MB / 456 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.4271, allocations: 1.598 MB / 457.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.4291, allocations: 1.856 MB / 459.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008505/0.4376, allocations: 5.928 MB / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4376, allocations: 1.375 kB / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4376, allocations: 0 / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002329/0.4379, allocations: 0 / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.009777/0.4477, allocations: 4.225 MB / 469.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4477, allocations: 8.719 kB / 469.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.4488, allocations: 0.6437 MB / 470.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006926/0.4558, allocations: 1.89 MB / 472.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0048/0.4606, allocations: 2.112 MB / 474.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.4607, allocations: 204 kB / 474.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008814/0.4616, allocations: 272.5 kB / 474.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.483, allocations: 10.01 MB / 484.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4831, allocations: 40.45 kB / 484.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.4835, allocations: 134.2 kB / 484.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003287/0.4868, allocations: 1.85 MB / 486.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/0.5083, allocations: 8.566 MB / 495.3 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05076/0.5591, allocations: 36.75 MB / 0.5196 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.5698, allocations: 3.78 MB / 0.5233 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/0.5724, allocations: 1.704 MB / 0.5249 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/0.5845, allocations: 7.614 MB / 0.5324 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.5846, allocations: 50.94 kB / 0.5324 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 3.566e-06/0.5846, allocations: 0 / 0.5324 GB, free: 108 kB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.05866/0.6432, allocations: 17.73 MB / 0.5497 GB, free: 14.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6433, allocations: 160.2 kB / 0.5499 GB, free: 14.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005641/0.649, allocations: 3.474 MB / 0.5533 GB, free: 10.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003468/0.6493, allocations: 49.7 kB / 0.5533 GB, free: 10.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.6516, allocations: 2.85 MB / 0.5561 GB, free: 7.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008806/0.6525, allocations: 0.6681 MB / 0.5568 GB, free: 7.121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/0.6542, allocations: 1.118 MB / 0.5579 GB, free: 5.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6544, allocations: 305.1 kB / 0.5581 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.6577, allocations: 1.956 MB / 0.5601 GB, free: 3.734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006571/0.6643, allocations: 5.377 MB / 0.5653 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.6752, allocations: 7.944 MB / 0.5731 GB, free: 3.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/0.6753, allocations: 32 kB / 0.5731 GB, free: 3.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.0282/0.7035, allocations: 8.184 MB / 0.5811 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.7037, allocations: 60 kB / 0.5811 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003178/0.704, allocations: 120 kB / 0.5813 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006593/0.7106, allocations: 1.296 MB / 0.5825 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007059/0.7177, allocations: 1.259 MB / 0.5838 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.734, allocations: 6.546 MB / 0.5901 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/0.7411, allocations: 303.6 kB / 0.5904 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.7424, allocations: 342 kB / 0.5908 GB, free: 0.8398 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004924/0.7474, allocations: 1.807 MB / 0.5925 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.7484, allocations: 317.8 kB / 0.5928 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.7601, allocations: 3.374 MB / 0.5961 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.044e-05/0.7602, allocations: 20 kB / 0.5961 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.7602, allocations: 4 kB / 0.5961 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.7602, allocations: 7.969 kB / 0.5962 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.7792, allocations: 7.584 MB / 0.6036 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.7792, allocations: 4 kB / 0.6036 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.7805, allocations: 248.7 kB / 0.6038 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003998/0.7845, allocations: 1.123 MB / 0.6049 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.7846, allocations: 27.12 kB / 0.6049 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009571/0.7942, allocations: 6.175 MB / 0.611 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7942, allocations: 7.938 kB / 0.611 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.8053, allocations: 5.742 MB / 0.6166 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.8063, allocations: 370.8 kB / 0.6169 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/0.8067, allocations: 24.62 kB / 0.6169 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.8081, allocations: 102.7 kB / 0.617 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.8084, allocations: 88.88 kB / 0.6171 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.8085, allocations: 47.98 kB / 0.6172 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003708/0.8122, allocations: 2.142 MB / 0.6193 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.8122, allocations: 0 / 0.6193 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005309/0.8175, allocations: 0.8867 MB / 0.6201 GB, free: 2.523 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/0.8291, allocations: 6.399 MB / 0.6264 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008734/0.8378, allocations: 4.62 MB / 0.6309 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.8378, allocations: 0 / 0.6309 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.8405, allocations: 1.445 MB / 0.6323 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.8427, allocations: 359 kB / 0.6326 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3118/1.155, allocations: 41.26 MB / 0.6729 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00417/1.159, allocations: 2.845 MB / 0.6757 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003656/1.162, allocations: 1.699 MB / 0.6774 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/1.165, allocations: 1.589 MB / 0.6789 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.724e-06/1.165, allocations: 0 / 0.6789 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.267, allocations: 60.58 MB / 0.7381 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/20.76, allocations: 10.72 kB / 0.7381 GB, free: 102.1 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.367607509251684] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'revolute.phi', 'revolute.w'] 20.88341954909265 20.891867647 20.452019678 Calling exit ...