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.00164/0.00164, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001804/0.001804, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.002007/0.002007, allocations: 68.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 53.38 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.0131/0.2941, allocations: 10.33 MB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.3028, allocations: 3.925 MB / 446.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3043, allocations: 59.75 kB / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.3088, allocations: 2.11 MB / 448.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.3136, allocations: 1.65 MB / 450 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3154, allocations: 0.6978 MB / 450.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005599/0.321, allocations: 3.396 MB / 454.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/0.3246, allocations: 2.212 MB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.3271, allocations: 1.273 MB / 457.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.3303, allocations: 1.896 MB / 459.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007238/0.3311, allocations: 264 kB / 459.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.3335, allocations: 1.147 MB / 460.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.3355, allocations: 1.597 MB / 462.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.3383, allocations: 1.852 MB / 464.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008644/0.347, allocations: 5.917 MB / 470.3 MB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.347, allocations: 0 / 470.3 MB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.347, allocations: 0 / 470.3 MB, free: 412 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000228/0.3472, allocations: 0 / 470.3 MB, free: 412 kB / 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.01041/0.3576, allocations: 4.157 MB / 474.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3577, allocations: 8.031 kB / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001021/0.3587, allocations: 0.6452 MB / 475.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.3654, allocations: 1.886 MB / 477 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/0.3703, allocations: 2.044 MB / 479 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.3705, allocations: 213.1 kB / 479.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007391/0.3712, allocations: 267.9 kB / 479.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.3923, allocations: 10 MB / 489.5 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.3924, allocations: 39.67 kB / 489.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004476/0.3929, allocations: 139.8 kB / 489.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003201/0.3961, allocations: 1.852 MB / 491.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.4155, allocations: 8.571 MB / 0.4883 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.4686, allocations: 36.65 MB / 0.5241 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/0.4785, allocations: 3.106 MB / 0.5272 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.4812, allocations: 1.689 MB / 0.5288 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.4929, allocations: 6.636 MB / 0.5353 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.493, allocations: 47.56 kB / 0.5353 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.699e-06/0.493, allocations: 0 / 0.5353 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2716/0.7645, allocations: 17.5 MB / 0.5524 GB, free: 97.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.7646, allocations: 145.5 kB / 0.5526 GB, free: 97.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.7684, allocations: 3.483 MB / 0.556 GB, free: 94.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.7686, allocations: 45.7 kB / 0.556 GB, free: 94.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.7697, allocations: 2.843 MB / 0.5588 GB, free: 91.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.7701, allocations: 0.6722 MB / 0.5595 GB, free: 90.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.7712, allocations: 1.123 MB / 0.5606 GB, free: 89.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.7712, allocations: 313 kB / 0.5609 GB, free: 89.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.7735, allocations: 1.951 MB / 0.5628 GB, free: 87.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.7767, allocations: 5.377 MB / 0.568 GB, free: 80.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/0.7829, allocations: 7.939 MB / 0.5758 GB, free: 70.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.579e-05/0.7829, allocations: 36 kB / 0.5758 GB, free: 70.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01229/0.7952, allocations: 8.178 MB / 0.5838 GB, free: 62.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.7953, allocations: 58.5 kB / 0.5838 GB, free: 62.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/0.7954, allocations: 120 kB / 0.584 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.7989, allocations: 1.3 MB / 0.5852 GB, free: 61.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.8024, allocations: 1.255 MB / 0.5864 GB, free: 59.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007117/0.8095, allocations: 6.443 MB / 0.5927 GB, free: 53.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.8133, allocations: 307.6 kB / 0.593 GB, free: 53.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/0.8138, allocations: 347.3 kB / 0.5934 GB, free: 52.71 MB / 446.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.002126/0.8159, allocations: 1.811 MB / 0.5951 GB, free: 50.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/0.8164, allocations: 321.8 kB / 0.5954 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.8223, allocations: 3.369 MB / 0.5987 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.8224, allocations: 20 kB / 0.5987 GB, free: 47.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.8224, allocations: 8 kB / 0.5988 GB, free: 47.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.8224, allocations: 14.12 kB / 0.5988 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.8339, allocations: 7.545 MB / 0.6061 GB, free: 39.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.834, allocations: 8 kB / 0.6061 GB, free: 39.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.835, allocations: 247.6 kB / 0.6064 GB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/0.8382, allocations: 1.112 MB / 0.6075 GB, free: 38.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.8384, allocations: 31.98 kB / 0.6075 GB, free: 38.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.8451, allocations: 6.074 MB / 0.6134 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.8451, allocations: 8.094 kB / 0.6134 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008122/0.8533, allocations: 5.74 MB / 0.619 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.854, allocations: 293.7 kB / 0.6193 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.8543, allocations: 31.58 kB / 0.6194 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8554, allocations: 99.88 kB / 0.6194 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.8557, allocations: 88.81 kB / 0.6195 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8558, allocations: 44 kB / 0.6196 GB, free: 25.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002603/0.8584, allocations: 2.146 MB / 0.6217 GB, free: 23.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8584, allocations: 0 / 0.6217 GB, free: 23.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003712/0.8621, allocations: 0.8906 MB / 0.6225 GB, free: 22.66 MB / 446.1 MB 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.008102/0.8702, allocations: 6.403 MB / 0.6288 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007141/0.8773, allocations: 4.611 MB / 0.6333 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8773, allocations: 4.062 kB / 0.6333 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.8793, allocations: 1.453 MB / 0.6347 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.8813, allocations: 351.1 kB / 0.6351 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06768/0.949, allocations: 41.33 MB / 0.6754 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/0.9524, allocations: 2.858 MB / 0.6782 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004068/0.9565, allocations: 1.696 MB / 0.6799 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/0.9588, allocations: 1.573 MB / 0.6814 GB, free: 5.035 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9588, allocations: 0 / 0.6814 GB, free: 5.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3621/1.321, allocations: 65.08 MB / 0.745 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/21.24, allocations: 5.125 kB / 0.745 GB, free: 184.3 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.777830465696752] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'revolute.phi', 'revolute.w'] 21.3689888343215 21.386713812 21.035834449 Calling exit ...