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.001216/0.001216, allocations: 105 kB / 19.74 MB, free: 2.453 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.001271/0.001271, allocations: 218.3 kB / 22.92 MB, free: 5.195 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.254/1.254, allocations: 230.5 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.001743/0.001743, allocations: 71.83 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2031, allocations: 53.3 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01113/0.2142, allocations: 10.75 MB / 440.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.2207, allocations: 3.915 MB / 444.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.2213, allocations: 67.81 kB / 444.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.225, allocations: 2.269 MB / 446.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.2282, allocations: 1.837 MB / 448.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2293, allocations: 0.7135 MB / 449 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004579/0.2339, allocations: 4.315 MB / 453.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.2363, allocations: 2.217 MB / 455.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.2379, allocations: 1.46 MB / 456.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.2404, allocations: 2.258 MB / 459.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.2408, allocations: 292 kB / 459.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.2424, allocations: 0.9518 MB / 460.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.2439, allocations: 1.854 MB / 462.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.2457, allocations: 2.085 MB / 464.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.2514, allocations: 6.392 MB / 470.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2514, allocations: 0 / 470.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2514, allocations: 0 / 470.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.583e-05/0.2515, allocations: 0 / 470.8 MB, free: 13.89 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.006715/0.2582, allocations: 4.712 MB / 475.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2582, allocations: 11.97 kB / 475.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007387/0.259, allocations: 0.6912 MB / 476.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006993/0.266, allocations: 1.967 MB / 478.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.2701, allocations: 2.687 MB / 480.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.2703, allocations: 229.6 kB / 481.1 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.2707, allocations: 295.8 kB / 481.4 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.2842, allocations: 9.655 MB / 491 MB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.2843, allocations: 51.62 kB / 491.1 MB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.2847, allocations: 143.8 kB / 491.2 MB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002804/0.2875, allocations: 1.919 MB / 493.1 MB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.3009, allocations: 7.649 MB / 0.489 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03901/0.3399, allocations: 37.69 MB / 0.5258 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006403/0.3463, allocations: 2.789 MB / 0.5286 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.3474, allocations: 0.7949 MB / 0.5293 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00505/0.3525, allocations: 3.84 MB / 0.5331 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3525, allocations: 55.16 kB / 0.5331 GB, free: 248 kB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 2.736e-06/0.3525, allocations: 0 / 0.5331 GB, free: 248 kB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.02022/0.3727, allocations: 9.284 MB / 0.5422 GB, free: 6.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.3728, allocations: 153.5 kB / 0.5424 GB, free: 6.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/0.3776, allocations: 3.93 MB / 0.5462 GB, free: 2.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.274e-05/0.3777, allocations: 45.7 kB / 0.5462 GB, free: 2.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1594/0.5371, allocations: 3.203 MB / 0.5494 GB, free: 115.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005764/0.5377, allocations: 0.6322 MB / 0.55 GB, free: 115.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.5392, allocations: 1.169 MB / 0.5511 GB, free: 115.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.5392, allocations: 310.8 kB / 0.5514 GB, free: 115.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.5413, allocations: 1.566 MB / 0.5529 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/0.5443, allocations: 5.345 MB / 0.5582 GB, free: 109.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.5496, allocations: 7.532 MB / 0.5655 GB, free: 102.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/0.5497, allocations: 39.88 kB / 0.5656 GB, free: 102.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.007751/0.5575, allocations: 6.645 MB / 0.572 GB, free: 99.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.5575, allocations: 63.41 kB / 0.5721 GB, free: 99.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.219e-05/0.5576, allocations: 132 kB / 0.5722 GB, free: 99.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.5577, allocations: 178.4 kB / 0.5724 GB, free: 99.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.5608, allocations: 1.373 MB / 0.5737 GB, free: 98.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/0.5609, allocations: 264.7 kB / 0.574 GB, free: 98.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.5636, allocations: 287.2 kB / 0.5743 GB, free: 98.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/0.5638, allocations: 364 kB / 0.5746 GB, free: 97.97 MB / 462.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.00166/0.5655, allocations: 1.969 MB / 0.5765 GB, free: 96.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.5658, allocations: 357.6 kB / 0.5769 GB, free: 95.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.5662, allocations: 402.8 kB / 0.5773 GB, free: 95.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5662, allocations: 26.83 kB / 0.5773 GB, free: 95.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5663, allocations: 0 / 0.5773 GB, free: 95.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5663, allocations: 12.3 kB / 0.5773 GB, free: 95.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.5717, allocations: 5.748 MB / 0.5829 GB, free: 90.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5717, allocations: 20 kB / 0.5829 GB, free: 90.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/0.5725, allocations: 281 kB / 0.5832 GB, free: 90.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/0.5725, allocations: 24 kB / 0.5832 GB, free: 90.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.5725, allocations: 48.56 kB / 0.5833 GB, free: 90.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.5726, allocations: 39.14 kB / 0.5833 GB, free: 90.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/0.5726, allocations: 31.88 kB / 0.5833 GB, free: 90.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.5749, allocations: 3.258 MB / 0.5865 GB, free: 86.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.5752, allocations: 425.6 kB / 0.5869 GB, free: 86.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.5754, allocations: 51.98 kB / 0.587 GB, free: 86.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009599/0.5764, allocations: 59.88 kB / 0.587 GB, free: 86.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5765, allocations: 147.4 kB / 0.5872 GB, free: 86.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.5766, allocations: 71.98 kB / 0.5872 GB, free: 86.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.5787, allocations: 2.438 MB / 0.5896 GB, free: 83.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5787, allocations: 0 / 0.5896 GB, free: 83.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003139/0.5819, allocations: 0.8406 MB / 0.5904 GB, free: 82.79 MB / 462.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.002579/0.5844, allocations: 3.927 MB / 0.5943 GB, free: 78.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003591/0.588, allocations: 3.542 MB / 0.5977 GB, free: 75.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.588, allocations: 0 / 0.5977 GB, free: 75.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006524/0.5887, allocations: 0.6832 MB / 0.5984 GB, free: 74.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.5906, allocations: 463.7 kB / 0.5989 GB, free: 73.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/0.6217, allocations: 40.38 MB / 0.6383 GB, free: 27.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.6238, allocations: 3.101 MB / 0.6413 GB, free: 24.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00288/0.6267, allocations: 1.76 MB / 0.643 GB, free: 22.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.6281, allocations: 1.792 MB / 0.6448 GB, free: 20.63 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6281, allocations: 0 / 0.6448 GB, free: 20.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09285/0.7209, allocations: 56.61 MB / 0.7001 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.43, allocations: 4 kB / 0.7001 GB, free: 12.43 MB / 0.4981 GB " [Timeout remaining time 643] (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 --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: 18.53042896000261]