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.PendulumWithSpringDamper.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.001297/0.001297, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001367/0.001367, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",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.001891/0.001891, allocations: 67.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.3 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.2295/0.334, allocations: 10.31 MB / 437.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.3417, allocations: 3.902 MB / 441.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.3438, allocations: 52.41 kB / 441.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004641/0.3485, allocations: 2.104 MB / 443.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.3538, allocations: 1.64 MB / 444.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.3561, allocations: 0.6972 MB / 445.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006288/0.3624, allocations: 3.392 MB / 449 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003929/0.3663, allocations: 2.303 MB / 451.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.3696, allocations: 1.249 MB / 452.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.3738, allocations: 1.899 MB / 454.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.3749, allocations: 262.5 kB / 454.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.3783, allocations: 1.143 MB / 455.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002705/0.381, allocations: 1.608 MB / 457.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.3848, allocations: 1.847 MB / 459.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.3951, allocations: 5.919 MB / 465.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3951, allocations: 1.531 kB / 465.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3951, allocations: 0 / 465.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002715/0.3954, allocations: 0 / 465.2 MB, free: 7.641 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.01403/0.4094, allocations: 4.231 MB / 469.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4095, allocations: 9.906 kB / 469.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.4113, allocations: 0.6351 MB / 470.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/0.4189, allocations: 1.89 MB / 472 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.4254, allocations: 2.112 MB / 474.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.4257, allocations: 209.2 kB / 474.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.4271, allocations: 268.8 kB / 474.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/0.4496, allocations: 10 MB / 484.6 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.4497, allocations: 39.64 kB / 484.6 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007211/0.4505, allocations: 131.9 kB / 484.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/0.4538, allocations: 1.856 MB / 486.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.4732, allocations: 8.561 MB / 495.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05534/0.5286, allocations: 36.76 MB / 0.5194 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.5392, allocations: 3.782 MB / 0.5231 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/0.5422, allocations: 1.693 MB / 0.5248 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.5574, allocations: 7.623 MB / 0.5322 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.5574, allocations: 43.56 kB / 0.5323 GB, free: 8.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.2e-06/0.5574, allocations: 0 / 0.5323 GB, free: 8.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05842/0.6159, allocations: 17.74 MB / 0.5496 GB, free: 6.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.616, allocations: 145.5 kB / 0.5497 GB, free: 6.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007854/0.6238, allocations: 3.47 MB / 0.5531 GB, free: 2.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004179/0.6243, allocations: 53.7 kB / 0.5532 GB, free: 2.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/0.6273, allocations: 2.846 MB / 0.556 GB, free: 15.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.6285, allocations: 0.6668 MB / 0.5566 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003543/0.6321, allocations: 1.123 MB / 0.5577 GB, free: 14.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6322, allocations: 308.9 kB / 0.558 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.6364, allocations: 1.955 MB / 0.5599 GB, free: 11.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007486/0.6438, allocations: 5.381 MB / 0.5652 GB, free: 4.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.6554, allocations: 7.933 MB / 0.5729 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.6555, allocations: 36 kB / 0.5729 GB, free: 11.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01914/0.6746, allocations: 8.184 MB / 0.5809 GB, free: 2.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.6748, allocations: 56 kB / 0.581 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/0.675, allocations: 120 kB / 0.5811 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/0.6794, allocations: 1.296 MB / 0.5824 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.6838, allocations: 1.259 MB / 0.5836 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.6946, allocations: 6.549 MB / 0.59 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/0.699, allocations: 307.7 kB / 0.5903 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/0.7001, allocations: 336 kB / 0.5906 GB, free: 8.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004835/0.7049, allocations: 1.82 MB / 0.5924 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009749/0.7059, allocations: 321.8 kB / 0.5927 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/0.7147, allocations: 3.365 MB / 0.596 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/0.7147, allocations: 21.92 kB / 0.596 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.7148, allocations: 8 kB / 0.596 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-05/0.7148, allocations: 11.97 kB / 0.596 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.7347, allocations: 7.575 MB / 0.6034 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/0.7347, allocations: 4 kB / 0.6034 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.736, allocations: 248.1 kB / 0.6037 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/0.74, allocations: 1.113 MB / 0.6047 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/0.7403, allocations: 31.98 kB / 0.6048 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009814/0.7501, allocations: 6.176 MB / 0.6108 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7501, allocations: 5.188 kB / 0.6108 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2136/0.9637, allocations: 5.742 MB / 0.6164 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000933/0.9647, allocations: 365.3 kB / 0.6168 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/0.9651, allocations: 23.5 kB / 0.6168 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.9664, allocations: 95.75 kB / 0.6169 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.9667, allocations: 88.02 kB / 0.617 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.9668, allocations: 45.28 kB / 0.617 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003862/0.9707, allocations: 2.152 MB / 0.6191 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9707, allocations: 0 / 0.6191 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005363/0.976, allocations: 0.8978 MB / 0.62 GB, free: 163.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129): * Single equations (assignments): 125 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/0.987, allocations: 6.388 MB / 0.6262 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008379/0.9954, allocations: 4.62 MB / 0.6307 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9954, allocations: 0 / 0.6307 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.9979, allocations: 1.441 MB / 0.6321 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.001, allocations: 359.2 kB / 0.6325 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05921/1.06, allocations: 41.27 MB / 0.6728 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/1.062, allocations: 2.849 MB / 0.6756 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003351/1.066, allocations: 1.703 MB / 0.6772 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.068, allocations: 1.585 MB / 0.6788 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/1.068, allocations: 0 / 0.6788 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.186, allocations: 60.57 MB / 0.7379 GB, free: 60.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.29, allocations: 4.562 kB / 0.7379 GB, free: 60.59 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.714292488992214] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'revolute.phi', 'revolute.w'] 20.415870364755392 20.428699222 20.03043981 Calling exit ...