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.001575/0.001575, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001698/0.001698, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.454/1.454, allocations: 230.5 MB / 254.7 MB, free: 15.23 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.001998/0.001998, allocations: 71.83 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 53.32 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.2331/0.3512, allocations: 10.71 MB / 437.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.3592, allocations: 3.904 MB / 441.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3613, allocations: 63.56 kB / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.3656, allocations: 2.256 MB / 443.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.3717, allocations: 1.846 MB / 445.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.3736, allocations: 0.71 MB / 446.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007709/0.3814, allocations: 4.307 MB / 450.7 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004668/0.386, allocations: 2.493 MB / 453.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.3903, allocations: 1.469 MB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004732/0.395, allocations: 2.263 MB / 456.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.3963, allocations: 292.3 kB / 457.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.3991, allocations: 0.9451 MB / 458.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.4016, allocations: 1.846 MB / 460 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004156/0.4057, allocations: 2.087 MB / 462.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.4159, allocations: 6.392 MB / 468.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.4159, allocations: 11.98 kB / 468.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4159, allocations: 0 / 468.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002751/0.4162, allocations: 0 / 468.5 MB, free: 5.609 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.01267/0.4289, allocations: 4.7 MB / 473.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4289, allocations: 17.23 kB / 473.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00178/0.4307, allocations: 0.6946 MB / 473.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007846/0.4386, allocations: 1.968 MB / 475.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/0.4457, allocations: 2.688 MB / 478.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.4459, allocations: 229.6 kB / 478.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009954/0.4469, allocations: 303.7 kB / 479.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.4683, allocations: 9.648 MB / 488.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.4684, allocations: 55.58 kB / 488.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005688/0.469, allocations: 139.9 kB / 488.9 MB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.4723, allocations: 1.919 MB / 490.8 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.4903, allocations: 7.65 MB / 498.5 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05061/0.5409, allocations: 37.67 MB / 0.5236 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.548, allocations: 2.794 MB / 0.5263 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.5494, allocations: 0.7955 MB / 0.5271 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007692/0.5571, allocations: 3.845 MB / 0.5309 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.5571, allocations: 43.22 kB / 0.5309 GB, free: 9.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 4.979e-06/0.5571, allocations: 4 kB / 0.5309 GB, free: 9.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.02443/0.5815, allocations: 9.3 MB / 0.54 GB, free: 284 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5816, allocations: 145.5 kB / 0.5401 GB, free: 108 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/0.5884, allocations: 3.93 MB / 0.544 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.5887, allocations: 45.7 kB / 0.544 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002951/0.5916, allocations: 3.209 MB / 0.5471 GB, free: 8.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008626/0.5925, allocations: 0.6436 MB / 0.5478 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.5943, allocations: 1.156 MB / 0.5489 GB, free: 7.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5944, allocations: 313 kB / 0.5492 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/0.5974, allocations: 1.565 MB / 0.5507 GB, free: 5.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006779/0.6042, allocations: 5.342 MB / 0.5559 GB, free: 13.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.6144, allocations: 7.532 MB / 0.5633 GB, free: 4.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.6145, allocations: 36 kB / 0.5633 GB, free: 4.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01507/0.6296, allocations: 6.643 MB / 0.5698 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.6297, allocations: 64 kB / 0.5699 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/0.6299, allocations: 136 kB / 0.57 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.6301, allocations: 176 kB / 0.5702 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/0.6352, allocations: 1.365 MB / 0.5715 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/0.6355, allocations: 271 kB / 0.5718 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/0.6409, allocations: 287.7 kB / 0.572 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/0.6424, allocations: 364 kB / 0.5724 GB, free: 11.24 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.005702/0.6481, allocations: 1.982 MB / 0.5743 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000927/0.649, allocations: 357.6 kB / 0.5747 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6501, allocations: 397.6 kB / 0.575 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/0.6501, allocations: 20 kB / 0.5751 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.6501, allocations: 0 / 0.5751 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.6501, allocations: 7.969 kB / 0.5751 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.6627, allocations: 5.757 MB / 0.5807 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.6627, allocations: 16 kB / 0.5807 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6637, allocations: 275.5 kB / 0.581 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.912e-05/0.6638, allocations: 28 kB / 0.581 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.6639, allocations: 44.47 kB / 0.581 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-05/0.6639, allocations: 39.86 kB / 0.5811 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.79e-05/0.6639, allocations: 28.81 kB / 0.5811 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.6689, allocations: 3.259 MB / 0.5843 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.6702, allocations: 422.5 kB / 0.5847 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.6707, allocations: 59.91 kB / 0.5847 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.672, allocations: 55.97 kB / 0.5848 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.6722, allocations: 151.4 kB / 0.5849 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.6723, allocations: 67.98 kB / 0.585 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00549/0.6778, allocations: 2.442 MB / 0.5874 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6778, allocations: 0 / 0.5874 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006031/0.6838, allocations: 0.8436 MB / 0.5882 GB, free: 10.44 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.006001/0.6898, allocations: 3.927 MB / 0.592 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006979/0.6968, allocations: 3.534 MB / 0.5955 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/0.6968, allocations: 4.188 kB / 0.5955 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.6981, allocations: 0.6859 MB / 0.5962 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.7016, allocations: 455.5 kB / 0.5966 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2878/0.9893, allocations: 40.39 MB / 0.636 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004474/0.9938, allocations: 3.089 MB / 0.6391 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00473/0.9985, allocations: 1.761 MB / 0.6408 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/1.001, allocations: 1.79 MB / 0.6425 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/1.001, allocations: 0 / 0.6425 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/1.099, allocations: 56.37 MB / 0.6976 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/19, allocations: 14.81 kB / 0.6976 GB, free: 126.4 MB / 0.5294 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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: 21.463360401336104] Failed to read output from testmodel.py, exit status != 0: ['time', 'p1.s', 'p1.v', 'p2.s', 'p2.v'] 19.115609796717763 19.125396831 18.706787733 Calling exit ...