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.001615/0.001615, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001951/0.001951, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001902/0.001902, allocations: 60.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01363/0.3368, allocations: 10.34 MB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008485/0.3453, allocations: 3.933 MB / 446.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.3469, allocations: 59.75 kB / 446.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004484/0.3514, allocations: 2.114 MB / 448.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.3565, allocations: 1.646 MB / 450 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.3585, allocations: 0.6978 MB / 450.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005885/0.3644, allocations: 3.392 MB / 454.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.3683, allocations: 2.22 MB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.371, allocations: 1.273 MB / 457.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.3744, allocations: 1.892 MB / 459.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009902/0.3754, allocations: 264 kB / 459.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.3783, allocations: 1.151 MB / 460.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.3806, allocations: 1.597 MB / 462.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.3833, allocations: 1.852 MB / 464.3 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007732/0.391, allocations: 5.914 MB / 470.3 MB, free: 396 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.391, allocations: 0 / 470.3 MB, free: 396 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.391, allocations: 0 / 470.3 MB, free: 396 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001546/0.3912, allocations: 0 / 470.3 MB, free: 396 kB / 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.008351/0.3995, allocations: 4.157 MB / 474.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3996, allocations: 12.02 kB / 474.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008101/0.4004, allocations: 0.6335 MB / 475.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/0.4067, allocations: 1.894 MB / 477 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/0.4122, allocations: 2.052 MB / 479 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4124, allocations: 201.2 kB / 479.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006176/0.413, allocations: 271.9 kB / 479.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.4342, allocations: 10 MB / 489.5 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.4344, allocations: 35.69 kB / 489.5 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.4354, allocations: 139.8 kB / 489.6 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/0.4389, allocations: 1.852 MB / 491.5 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.4592, allocations: 8.571 MB / 0.4883 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05669/0.5159, allocations: 36.66 MB / 0.5241 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5262, allocations: 3.098 MB / 0.5272 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.529, allocations: 1.689 MB / 0.5288 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/0.542, allocations: 6.64 MB / 0.5353 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.5421, allocations: 43.56 kB / 0.5353 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.578e-06/0.5421, allocations: 0 / 0.5353 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.3113/0.8534, allocations: 17.5 MB / 0.5524 GB, free: 97.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.8534, allocations: 149.5 kB / 0.5526 GB, free: 97.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.8575, allocations: 3.484 MB / 0.556 GB, free: 94.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003174/0.8578, allocations: 48.91 kB / 0.556 GB, free: 94.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.8593, allocations: 2.842 MB / 0.5588 GB, free: 91.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000732/0.86, allocations: 0.6803 MB / 0.5595 GB, free: 90.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.8611, allocations: 1.119 MB / 0.5606 GB, free: 89.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.8612, allocations: 305.1 kB / 0.5608 GB, free: 89.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.8636, allocations: 1.955 MB / 0.5628 GB, free: 87.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.8671, allocations: 5.373 MB / 0.568 GB, free: 80.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/0.8742, allocations: 7.944 MB / 0.5758 GB, free: 70.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.47e-05/0.8743, allocations: 36.88 kB / 0.5758 GB, free: 70.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.0143/0.8886, allocations: 8.175 MB / 0.5838 GB, free: 62.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.8888, allocations: 58.66 kB / 0.5838 GB, free: 62.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/0.889, allocations: 120 kB / 0.584 GB, free: 62.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.8927, allocations: 1.296 MB / 0.5852 GB, free: 61.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/0.8966, allocations: 1.267 MB / 0.5865 GB, free: 59.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/0.9047, allocations: 6.431 MB / 0.5927 GB, free: 53.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/0.9093, allocations: 311.6 kB / 0.593 GB, free: 53.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000869/0.9102, allocations: 343.3 kB / 0.5934 GB, free: 52.73 MB / 446.1 MB 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.003205/0.9134, allocations: 1.813 MB / 0.5951 GB, free: 50.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007941/0.9142, allocations: 321.8 kB / 0.5954 GB, free: 50.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006859/0.921, allocations: 3.369 MB / 0.5987 GB, free: 47.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/0.9211, allocations: 23.56 kB / 0.5987 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.9211, allocations: 4 kB / 0.5988 GB, free: 47.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.9211, allocations: 14.12 kB / 0.5988 GB, free: 47.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.9362, allocations: 7.546 MB / 0.6061 GB, free: 39.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.9362, allocations: 8 kB / 0.6061 GB, free: 39.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.9374, allocations: 247.7 kB / 0.6064 GB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/0.941, allocations: 1.112 MB / 0.6075 GB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/0.9413, allocations: 31.36 kB / 0.6075 GB, free: 38.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.9487, allocations: 6.075 MB / 0.6134 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9487, allocations: 4.031 kB / 0.6134 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008904/0.9576, allocations: 5.744 MB / 0.619 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.9585, allocations: 289.7 kB / 0.6193 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006864/0.9592, allocations: 24 kB / 0.6193 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.9608, allocations: 99.86 kB / 0.6194 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.9611, allocations: 88.83 kB / 0.6195 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.9612, allocations: 51.66 kB / 0.6196 GB, free: 25.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003532/0.9647, allocations: 2.142 MB / 0.6217 GB, free: 23.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9647, allocations: 0 / 0.6217 GB, free: 23.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004685/0.9694, allocations: 0.8945 MB / 0.6225 GB, free: 22.67 MB / 446.1 MB 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.009001/0.9784, allocations: 6.399 MB / 0.6288 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006861/0.9853, allocations: 4.611 MB / 0.6333 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9853, allocations: 0 / 0.6333 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.9875, allocations: 1.457 MB / 0.6347 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.9905, allocations: 369.5 kB / 0.6351 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0768/1.067, allocations: 41.31 MB / 0.6754 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/1.072, allocations: 2.858 MB / 0.6782 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004554/1.077, allocations: 1.703 MB / 0.6799 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002991/1.08, allocations: 1.577 MB / 0.6814 GB, free: 5.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/1.08, allocations: 0 / 0.6814 GB, free: 5.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/1.442, allocations: 65.07 MB / 0.7449 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/21.52, allocations: 3.531 kB / 0.745 GB, free: 184.2 MB / 0.5294 GB " [Timeout remaining time 638] (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: 23.930739576928318] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'revolute.phi', 'revolute.w'] 21.64475014107302 21.65428914 21.260859876 Calling exit ...