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.InitSpringConstant.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.001434/0.001434, allocations: 121.3 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.001734/0.001734, 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.519/1.519, allocations: 230.5 MB / 254.7 MB, free: 15 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.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.001946/0.001946, allocations: 63.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2222/0.3377, allocations: 10.25 MB / 437.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.3448, allocations: 3.811 MB / 440.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3466, allocations: 58.25 kB / 441 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.3505, allocations: 1.972 MB / 443 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.3556, allocations: 1.67 MB / 444.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.3574, allocations: 0.6047 MB / 445.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006339/0.3638, allocations: 3.361 MB / 448.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.3674, allocations: 2.196 MB / 450.8 MB, free: 20 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.3708, allocations: 1.241 MB / 452 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.3751, allocations: 1.812 MB / 453.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.3764, allocations: 252.7 kB / 454.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.3797, allocations: 1.052 MB / 455.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.3824, allocations: 1.592 MB / 456.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.3855, allocations: 1.813 MB / 458.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009592/0.3951, allocations: 5.814 MB / 464.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3951, allocations: 0 / 464.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3951, allocations: 5.031 kB / 464.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.3954, allocations: 0 / 464.4 MB, free: 8.109 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01157/0.4069, allocations: 4.12 MB / 468.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.407, allocations: 9.562 kB / 468.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.4086, allocations: 0.6036 MB / 469.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/0.4155, allocations: 1.802 MB / 470.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/0.4218, allocations: 2.161 MB / 473.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.422, allocations: 191.8 kB / 473.3 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4231, allocations: 258.9 kB / 473.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.4414, allocations: 8.443 MB / 481.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.4416, allocations: 39.64 kB / 482 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004567/0.442, allocations: 130.3 kB / 482.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003062/0.4451, allocations: 1.699 MB / 483.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.4604, allocations: 7.112 MB / 490.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05037/0.5108, allocations: 34.08 MB / 0.5127 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007752/0.5186, allocations: 3.176 MB / 0.5158 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.5207, allocations: 1.361 MB / 0.5171 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008759/0.5295, allocations: 4.45 MB / 0.5215 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.5295, allocations: 55 kB / 0.5215 GB, free: 3.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.979e-06/0.5295, allocations: 0 / 0.5215 GB, free: 3.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03188/0.5614, allocations: 11.73 MB / 0.533 GB, free: 7.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5616, allocations: 153.1 kB / 0.5331 GB, free: 7.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00679/0.5683, allocations: 3.734 MB / 0.5368 GB, free: 3.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.5687, allocations: 41.7 kB / 0.5368 GB, free: 3.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/0.5713, allocations: 2.862 MB / 0.5396 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008138/0.5722, allocations: 0.539 MB / 0.5401 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.5738, allocations: 1.08 MB / 0.5412 GB, free: 15.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.574, allocations: 301.1 kB / 0.5415 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.5768, allocations: 1.705 MB / 0.5431 GB, free: 13.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/0.5828, allocations: 5.123 MB / 0.5481 GB, free: 6.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.593, allocations: 7.397 MB / 0.5554 GB, free: 13.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.5931, allocations: 39.94 kB / 0.5554 GB, free: 13.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01513/0.6083, allocations: 6.734 MB / 0.562 GB, free: 6.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.6084, allocations: 56 kB / 0.562 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002193/0.6086, allocations: 120 kB / 0.5622 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.6095, allocations: 325.4 kB / 0.5625 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/0.6139, allocations: 1.241 MB / 0.5637 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.6171, allocations: 2.5 MB / 0.5661 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.6218, allocations: 283.8 kB / 0.5664 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.623, allocations: 332 kB / 0.5667 GB, free: 1.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004647/0.6276, allocations: 1.791 MB / 0.5685 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008811/0.6285, allocations: 329.7 kB / 0.5688 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.6341, allocations: 2.355 MB / 0.5711 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/0.6341, allocations: 16 kB / 0.5711 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.6341, allocations: 4 kB / 0.5711 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.6341, allocations: 3.984 kB / 0.5711 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.6491, allocations: 5.918 MB / 0.5769 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.6491, allocations: 4.062 kB / 0.5769 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/0.6501, allocations: 171.8 kB / 0.577 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.6522, allocations: 0.7159 MB / 0.5777 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.6524, allocations: 27.98 kB / 0.5778 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006805/0.6592, allocations: 4.812 MB / 0.5825 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6592, allocations: 4 kB / 0.5825 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/0.6672, allocations: 4.347 MB / 0.5867 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.6684, allocations: 370.8 kB / 0.5871 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000894/0.6693, allocations: 28.8 kB / 0.5871 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.671, allocations: 67.97 kB / 0.5872 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.6713, allocations: 60.58 kB / 0.5872 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.6714, allocations: 39.98 kB / 0.5873 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005676/0.6771, allocations: 2.319 MB / 0.5895 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6771, allocations: 0 / 0.5895 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005998/0.6831, allocations: 0.8046 MB / 0.5903 GB, free: 8.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009101/0.6922, allocations: 4.988 MB / 0.5952 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007442/0.6996, allocations: 3.894 MB / 0.599 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.6996, allocations: 4.312 kB / 0.599 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.7016, allocations: 1.037 MB / 0.6 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/0.7053, allocations: 393.9 kB / 0.6004 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2978/1.003, allocations: 37.7 MB / 0.6372 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.006, allocations: 2.782 MB / 0.6399 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00387/1.01, allocations: 1.659 MB / 0.6415 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.012, allocations: 1.518 MB / 0.643 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/1.012, allocations: 0 / 0.643 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/1.108, allocations: 57.94 MB / 0.6996 GB, free: 95.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/23.86, allocations: 15.53 kB / 0.6996 GB, free: 95.34 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.37687950907275] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 23.97988370899111 23.993789519 23.595613223 Calling exit ...