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.001787/0.001787, 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.0023/0.0023, allocations: 213.2 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002005/0.002005, allocations: 68.75 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2788, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.0131/0.2919, allocations: 10.75 MB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008923/0.3008, allocations: 3.923 MB / 446.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.3028, allocations: 71.62 kB / 446.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004877/0.3076, allocations: 2.277 MB / 448.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.3149, allocations: 1.848 MB / 450.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.3174, allocations: 0.7136 MB / 451.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007044/0.3244, allocations: 4.312 MB / 455.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/0.3281, allocations: 2.448 MB / 458.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.3311, allocations: 1.495 MB / 459.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.335, allocations: 2.255 MB / 462 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009154/0.3359, allocations: 292 kB / 462.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.338, allocations: 0.9557 MB / 463.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.34, allocations: 1.846 MB / 465.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.343, allocations: 2.089 MB / 467.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008302/0.3513, allocations: 6.395 MB / 473.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3513, allocations: 4 kB / 473.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3513, allocations: 0 / 473.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002232/0.3515, allocations: 0 / 473.6 MB, free: 13.01 MB / 382.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.01102/0.3625, allocations: 4.629 MB / 478.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3626, allocations: 12.02 kB / 478.2 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001753/0.3643, allocations: 0.695 MB / 478.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007725/0.3721, allocations: 1.964 MB / 480.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.3782, allocations: 2.623 MB / 483.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.3784, allocations: 229.6 kB / 483.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.3795, allocations: 303.7 kB / 484 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.3994, allocations: 9.651 MB / 493.7 MB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.3996, allocations: 51.62 kB / 493.7 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.4007, allocations: 139.9 kB / 493.9 MB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/0.404, allocations: 1.919 MB / 495.8 MB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4213, allocations: 7.641 MB / 0.4916 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05157/0.4728, allocations: 37.55 MB / 0.5283 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007116/0.48, allocations: 2.355 MB / 0.5306 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4815, allocations: 0.7871 MB / 0.5314 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007097/0.4886, allocations: 3.09 MB / 0.5344 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.4887, allocations: 51.16 kB / 0.5344 GB, free: 1.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 5.771e-06/0.4887, allocations: 0 / 0.5344 GB, free: 1.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.2597/0.7484, allocations: 9.129 MB / 0.5434 GB, free: 98.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.7484, allocations: 147.2 kB / 0.5435 GB, free: 98.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/0.7531, allocations: 3.942 MB / 0.5473 GB, free: 96.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.7533, allocations: 46.45 kB / 0.5474 GB, free: 96.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.7549, allocations: 3.21 MB / 0.5505 GB, free: 94.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.7554, allocations: 0.6295 MB / 0.5511 GB, free: 94.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.7564, allocations: 1.17 MB / 0.5523 GB, free: 93.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.7565, allocations: 301.1 kB / 0.5526 GB, free: 93.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.7584, allocations: 1.57 MB / 0.5541 GB, free: 92.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.7615, allocations: 5.338 MB / 0.5593 GB, free: 87.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005807/0.7673, allocations: 7.523 MB / 0.5667 GB, free: 78.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.7675, allocations: 43.81 kB / 0.5667 GB, free: 78.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.009907/0.7774, allocations: 6.639 MB / 0.5732 GB, free: 72.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.7774, allocations: 66.5 kB / 0.5733 GB, free: 72.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.7775, allocations: 140 kB / 0.5734 GB, free: 72.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.7777, allocations: 179.4 kB / 0.5736 GB, free: 71.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.7813, allocations: 1.372 MB / 0.5749 GB, free: 70.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.7815, allocations: 266.9 kB / 0.5752 GB, free: 70.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/0.7852, allocations: 287.7 kB / 0.5754 GB, free: 69.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006057/0.7859, allocations: 371 kB / 0.5758 GB, free: 69.62 MB / 446.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.003163/0.789, allocations: 1.97 MB / 0.5777 GB, free: 67.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008513/0.7899, allocations: 353.6 kB / 0.578 GB, free: 67.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009775/0.7908, allocations: 405.5 kB / 0.5784 GB, free: 66.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.7909, allocations: 20 kB / 0.5784 GB, free: 66.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/0.7909, allocations: 0 / 0.5784 GB, free: 66.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.7909, allocations: 7.984 kB / 0.5785 GB, free: 66.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.8012, allocations: 5.726 MB / 0.584 GB, free: 60.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.8013, allocations: 16 kB / 0.5841 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.8022, allocations: 279.6 kB / 0.5843 GB, free: 60.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/0.8023, allocations: 31.94 kB / 0.5844 GB, free: 60.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8024, allocations: 44 kB / 0.5844 GB, free: 60.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/0.8024, allocations: 35.86 kB / 0.5844 GB, free: 60.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.8024, allocations: 27.94 kB / 0.5845 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.8058, allocations: 3.253 MB / 0.5876 GB, free: 56.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009007/0.8067, allocations: 341.5 kB / 0.588 GB, free: 56.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/0.8073, allocations: 59.92 kB / 0.588 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.8088, allocations: 59.95 kB / 0.5881 GB, free: 56.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.809, allocations: 155.3 kB / 0.5882 GB, free: 56.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.8091, allocations: 71.66 kB / 0.5883 GB, free: 56.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00392/0.813, allocations: 2.434 MB / 0.5907 GB, free: 53.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.813, allocations: 0 / 0.5907 GB, free: 53.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005165/0.8181, allocations: 0.8475 MB / 0.5915 GB, free: 52.99 MB / 446.1 MB 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.00408/0.8222, allocations: 3.92 MB / 0.5953 GB, free: 48.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.8274, allocations: 3.531 MB / 0.5988 GB, free: 45.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.8274, allocations: 4 kB / 0.5988 GB, free: 45.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.8284, allocations: 0.6927 MB / 0.5995 GB, free: 44.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.8318, allocations: 443.7 kB / 0.5999 GB, free: 44.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05286/0.8847, allocations: 40.39 MB / 0.6393 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005333/0.89, allocations: 3.097 MB / 0.6424 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004486/0.8945, allocations: 1.764 MB / 0.6441 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/0.8975, allocations: 1.784 MB / 0.6458 GB, free: 6.809 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.8975, allocations: 0 / 0.6458 GB, free: 6.809 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.025, allocations: 60.97 MB / 0.7054 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.11, allocations: 17.78 kB / 0.7054 GB, free: 10.23 MB / 0.5137 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.615128045901656] Failed to read output from testmodel.py, exit status != 0: ['time', 'p1.s', 'p1.v', 'p2.s', 'p2.v'] 20.22656375169754 20.252741403 19.89612415 Calling exit ...