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.001426/0.001426, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.0016/0.0016, allocations: 220.8 kB / 22.92 MB, free: 5.535 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.301/1.301, allocations: 230.5 MB / 256.4 MB, free: 8.414 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.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.00185/0.00185, allocations: 59.84 kB / 376.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2081, allocations: 53.33 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01136/0.2194, allocations: 10.32 MB / 439.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.2259, allocations: 3.925 MB / 443.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/0.2265, allocations: 55.88 kB / 443.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.2301, allocations: 2.114 MB / 445.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.2329, allocations: 1.641 MB / 447.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.2341, allocations: 0.6978 MB / 448.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.2377, allocations: 3.388 MB / 451.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.2398, allocations: 2.02 MB / 453.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.2413, allocations: 1.257 MB / 454.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.2436, allocations: 1.892 MB / 456.7 MB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.2441, allocations: 271.9 kB / 457 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.2459, allocations: 1.139 MB / 458.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.2474, allocations: 1.593 MB / 459.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.249, allocations: 1.848 MB / 461.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005803/0.2548, allocations: 5.926 MB / 467.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2548, allocations: 0 / 467.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2548, allocations: 0 / 467.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.2549, allocations: 0 / 467.5 MB, free: 1.184 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.006539/0.2614, allocations: 4.228 MB / 471.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2615, allocations: 8.031 kB / 471.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006987/0.2622, allocations: 0.6413 MB / 472.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/0.2684, allocations: 1.89 MB / 474.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.2716, allocations: 2.109 MB / 476.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.2718, allocations: 213.2 kB / 476.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.2722, allocations: 263.9 kB / 476.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.2882, allocations: 10 MB / 486.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.852e-05/0.2883, allocations: 43.62 kB / 486.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.2886, allocations: 127.9 kB / 487 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002975/0.2916, allocations: 1.86 MB / 488.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.3082, allocations: 8.56 MB / 497.4 MB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/0.3483, allocations: 36.76 MB / 0.5217 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009277/0.3576, allocations: 3.781 MB / 0.5254 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.3597, allocations: 1.698 MB / 0.527 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009727/0.3695, allocations: 7.62 MB / 0.5345 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3695, allocations: 47.5 kB / 0.5345 GB, free: 14.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 3.237e-06/0.3695, allocations: 0 / 0.5345 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.2159/0.5854, allocations: 17.74 MB / 0.5518 GB, free: 117.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5855, allocations: 147.9 kB / 0.552 GB, free: 117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.5894, allocations: 3.48 MB / 0.5554 GB, free: 115.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5896, allocations: 49.42 kB / 0.5554 GB, free: 115.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.5906, allocations: 2.842 MB / 0.5582 GB, free: 113.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/0.5911, allocations: 0.6785 MB / 0.5589 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.5921, allocations: 1.117 MB / 0.56 GB, free: 113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.5921, allocations: 307 kB / 0.5602 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.5943, allocations: 1.956 MB / 0.5622 GB, free: 112.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.5974, allocations: 5.37 MB / 0.5674 GB, free: 106.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005588/0.603, allocations: 7.945 MB / 0.5752 GB, free: 100.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-05/0.603, allocations: 41.48 kB / 0.5752 GB, free: 100.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01124/0.6142, allocations: 8.178 MB / 0.5832 GB, free: 92.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.6143, allocations: 56 kB / 0.5832 GB, free: 92.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-05/0.6144, allocations: 120.8 kB / 0.5834 GB, free: 92.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.6178, allocations: 1.3 MB / 0.5846 GB, free: 91.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.6207, allocations: 1.267 MB / 0.5859 GB, free: 90 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.6271, allocations: 6.532 MB / 0.5922 GB, free: 83.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.6305, allocations: 311.5 kB / 0.5925 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/0.6309, allocations: 340 kB / 0.5929 GB, free: 82.7 MB / 462.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.001855/0.6327, allocations: 1.804 MB / 0.5946 GB, free: 80.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.6331, allocations: 321.8 kB / 0.5949 GB, free: 80.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005814/0.6389, allocations: 3.373 MB / 0.5982 GB, free: 77.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.639, allocations: 22.81 kB / 0.5982 GB, free: 77.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.639, allocations: 10.12 kB / 0.5983 GB, free: 77.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.639, allocations: 11.97 kB / 0.5983 GB, free: 77.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.6496, allocations: 7.581 MB / 0.6057 GB, free: 69.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6496, allocations: 0 / 0.6057 GB, free: 69.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/0.6506, allocations: 250.1 kB / 0.6059 GB, free: 69.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/0.6538, allocations: 1.111 MB / 0.607 GB, free: 68.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.6539, allocations: 31.98 kB / 0.607 GB, free: 68.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/0.6601, allocations: 6.167 MB / 0.613 GB, free: 61.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6601, allocations: 0 / 0.613 GB, free: 61.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/0.6676, allocations: 5.744 MB / 0.6187 GB, free: 56.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.6682, allocations: 374.8 kB / 0.619 GB, free: 55.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.6685, allocations: 27.2 kB / 0.619 GB, free: 55.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.6697, allocations: 99.42 kB / 0.6191 GB, free: 55.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.6699, allocations: 88.83 kB / 0.6192 GB, free: 55.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.67, allocations: 43.98 kB / 0.6193 GB, free: 55.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.6722, allocations: 2.15 MB / 0.6214 GB, free: 53.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6722, allocations: 4 kB / 0.6214 GB, free: 53.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003278/0.6755, allocations: 0.8945 MB / 0.6222 GB, free: 52.39 MB / 462.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.007571/0.683, allocations: 6.386 MB / 0.6285 GB, free: 45.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005519/0.6885, allocations: 4.618 MB / 0.633 GB, free: 41.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6885, allocations: 0 / 0.633 GB, free: 41.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.6903, allocations: 1.452 MB / 0.6344 GB, free: 39.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.692, allocations: 349 kB / 0.6347 GB, free: 39.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04416/0.7362, allocations: 41.33 MB / 0.6751 GB, free: 8.961 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/0.7392, allocations: 2.847 MB / 0.6779 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003388/0.7426, allocations: 1.699 MB / 0.6795 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/0.7445, allocations: 1.585 MB / 0.6811 GB, free: 2.789 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7445, allocations: 0 / 0.6811 GB, free: 2.789 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/0.8569, allocations: 60.99 MB / 0.7406 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.19, allocations: 3.938 kB / 0.7406 GB, free: 6.211 MB / 0.5294 GB " [Timeout remaining time 643] (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 --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: 19.5248626889952]