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.SpringMassSystem.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.001307/0.001307, allocations: 122.5 kB / 18.51 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.001468/0.001468, allocations: 215.2 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.464/1.464, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.SpringMassSystem,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",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.001963/0.001963, allocations: 63.84 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 53.32 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.2036/0.3148, allocations: 10.71 MB / 437.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.3226, allocations: 3.913 MB / 441.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.3246, allocations: 73.88 kB / 441.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004628/0.3292, allocations: 2.257 MB / 444 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.3351, allocations: 1.842 MB / 445.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.3371, allocations: 0.7131 MB / 446.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007762/0.3449, allocations: 4.306 MB / 450.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004683/0.3495, allocations: 2.496 MB / 453.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.3534, allocations: 1.496 MB / 454.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/0.3579, allocations: 2.256 MB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.3594, allocations: 292.6 kB / 457.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.3623, allocations: 0.9505 MB / 458.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002716/0.365, allocations: 1.843 MB / 460.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003771/0.3688, allocations: 2.087 MB / 462.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3789, allocations: 6.395 MB / 468.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3789, allocations: 1.812 kB / 468.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3789, allocations: 0 / 468.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002778/0.3792, allocations: 0 / 468.6 MB, free: 5.594 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01221/0.3914, allocations: 4.708 MB / 473.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3915, allocations: 9.656 kB / 473.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001682/0.3931, allocations: 0.705 MB / 474.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00855/0.4017, allocations: 1.96 MB / 476 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007366/0.4091, allocations: 2.692 MB / 478.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.4093, allocations: 233.6 kB / 478.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4107, allocations: 291.8 kB / 479.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.4309, allocations: 9.663 MB / 488.9 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.431, allocations: 39.62 kB / 488.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006036/0.4316, allocations: 151.8 kB / 489.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/0.4351, allocations: 1.919 MB / 491 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/0.4527, allocations: 7.643 MB / 498.6 MB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05048/0.5032, allocations: 37.68 MB / 0.5237 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007395/0.5106, allocations: 2.8 MB / 0.5265 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.512, allocations: 0.7954 MB / 0.5273 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/0.5191, allocations: 3.849 MB / 0.531 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.5191, allocations: 47.22 kB / 0.5311 GB, free: 9.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 4.578e-06/0.5191, allocations: 0 / 0.5311 GB, free: 9.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.02517/0.5443, allocations: 9.286 MB / 0.5401 GB, free: 204 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.5444, allocations: 141.5 kB / 0.5403 GB, free: 32 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00702/0.5514, allocations: 3.933 MB / 0.5441 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.5517, allocations: 53.69 kB / 0.5442 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003065/0.5548, allocations: 3.205 MB / 0.5473 GB, free: 8.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009445/0.5557, allocations: 0.6358 MB / 0.5479 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/0.5579, allocations: 1.171 MB / 0.5491 GB, free: 7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.558, allocations: 305.1 kB / 0.5493 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.5611, allocations: 1.573 MB / 0.5509 GB, free: 5.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.5681, allocations: 5.334 MB / 0.5561 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.579, allocations: 7.527 MB / 0.5634 GB, free: 4.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/0.5791, allocations: 43.75 kB / 0.5635 GB, free: 4.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01468/0.5938, allocations: 6.639 MB / 0.57 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.5939, allocations: 60.47 kB / 0.57 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.5941, allocations: 136 kB / 0.5702 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.5943, allocations: 176.8 kB / 0.5703 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/0.5989, allocations: 1.38 MB / 0.5717 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/0.5992, allocations: 266.9 kB / 0.5719 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/0.6033, allocations: 287.7 kB / 0.5722 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/0.6042, allocations: 360 kB / 0.5725 GB, free: 11.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (738): * Single equations (assignments): 735 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00426/0.6085, allocations: 1.99 MB / 0.5745 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008105/0.6093, allocations: 353.6 kB / 0.5748 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/0.6103, allocations: 401.6 kB / 0.5752 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.6103, allocations: 16 kB / 0.5752 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.6103, allocations: 0 / 0.5752 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.6104, allocations: 7.984 kB / 0.5752 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.6221, allocations: 5.753 MB / 0.5808 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.6222, allocations: 20 kB / 0.5809 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6232, allocations: 275.5 kB / 0.5811 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.522e-05/0.6233, allocations: 24 kB / 0.5811 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.6234, allocations: 60.59 kB / 0.5812 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.177e-05/0.6234, allocations: 39.86 kB / 0.5812 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.342e-05/0.6234, allocations: 31.81 kB / 0.5813 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004485/0.6279, allocations: 3.244 MB / 0.5844 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.6291, allocations: 426.6 kB / 0.5849 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/0.6296, allocations: 51.98 kB / 0.5849 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.6309, allocations: 59.95 kB / 0.585 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.6311, allocations: 143.4 kB / 0.5851 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.6312, allocations: 71.98 kB / 0.5852 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004681/0.6359, allocations: 2.442 MB / 0.5875 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6359, allocations: 0 / 0.5875 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005766/0.6416, allocations: 0.8397 MB / 0.5884 GB, free: 10.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.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 (142): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005528/0.6472, allocations: 3.924 MB / 0.5922 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007002/0.6542, allocations: 3.538 MB / 0.5957 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.6542, allocations: 4 kB / 0.5957 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6554, allocations: 0.6874 MB / 0.5963 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.6588, allocations: 462.6 kB / 0.5968 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2839/0.9427, allocations: 40.37 MB / 0.6362 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/0.947, allocations: 3.097 MB / 0.6392 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004498/0.9515, allocations: 1.759 MB / 0.6409 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/0.954, allocations: 1.788 MB / 0.6427 GB, free: 167 MB / 0.5294 GB Notification: Performance of SimCode: time 2.004e-06/0.954, allocations: 0 / 0.6427 GB, free: 167 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/1.049, allocations: 56.39 MB / 0.6978 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/19.64, allocations: 3.625 kB / 0.6978 GB, free: 126.4 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_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_Elementary_SpringMassSystem.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.17594214901328] Failed to read output from testmodel.py, exit status != 0: ['time', 'p1.s', 'p1.v', 'p2.s', 'p2.v'] 19.758933218661696 19.778320871000002 19.395493157 Calling exit ...