Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 81.86 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 169.7 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.144/1.144, allocations: 177.2 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.04056/0.04056, allocations: 7.191 MB / 267.4 MB, free: 5.891 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 339.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.163e-05/4.392e-05, allocations: 5.125 kB / 339.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.007242/0.007286, allocations: 9.087 MB / 348.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00707/0.01436, allocations: 2.717 MB / 351.1 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.01628, allocations: 43.88 kB / 351.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.01743, allocations: 421.1 kB / 351.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.02277, allocations: 1.532 MB / 353.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.02348, allocations: 167.6 kB / 353.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.02762, allocations: 2.794 MB / 356.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.02933, allocations: 0.844 MB / 356.9 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.03188, allocations: 1.508 MB / 358.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.03408, allocations: 1.418 MB / 359.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.03465, allocations: 252 kB / 360.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.03623, allocations: 0.8347 MB / 360.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.03736, allocations: 1.394 MB / 362.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.03879, allocations: 0.907 MB / 363.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005893/0.04468, allocations: 3.552 MB / 366.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.04469, allocations: 0 / 366.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04469, allocations: 0 / 366.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002239/0.04492, allocations: 0 / 366.8 MB, free: 14.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1301 * Number of variables: 1301 Notification: Performance of Generate backend data structure: time 0.006567/0.05148, allocations: 3.897 MB / 370.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.05154, allocations: 12.62 kB / 370.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.05518, allocations: 1.337 MB / 372 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.05774, allocations: 1.252 MB / 373.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.05788, allocations: 164.5 kB / 373.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.05821, allocations: 216.2 kB / 373.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/0.06486, allocations: 4.049 MB / 377.7 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/0.06493, allocations: 23.95 kB / 377.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.06516, allocations: 111.8 kB / 377.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/0.06706, allocations: 1.888 MB / 379.7 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/0.07417, allocations: 2.018 MB / 381.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/0.1076, allocations: 28.11 MB / 409.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.1103, allocations: 0.9821 MB / 410.8 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.111, allocations: 383.8 kB / 411.2 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2381/0.3491, allocations: 3.016 MB / 414.2 MB, free: 72.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3491, allocations: 47.23 kB / 414.2 MB, free: 72.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 5.19e-06/0.3491, allocations: 0 / 414.2 MB, free: 72.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.008269/0.3574, allocations: 3.535 MB / 417.8 MB, free: 71.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3574, allocations: 69.8 kB / 417.9 MB, free: 71.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.3613, allocations: 2.211 MB / 420.1 MB, free: 70.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.3615, allocations: 44.7 kB / 420.1 MB, free: 70.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.3632, allocations: 2.613 MB / 422.7 MB, free: 69.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.3638, allocations: 0.5549 MB / 423.3 MB, free: 69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009002/0.3647, allocations: 0.9396 MB / 424.2 MB, free: 68.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3648, allocations: 0.5307 MB / 424.7 MB, free: 68.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.3653, allocations: 354.7 kB / 425.1 MB, free: 68.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.3675, allocations: 3.99 MB / 429.1 MB, free: 63.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.3711, allocations: 4.828 MB / 433.9 MB, free: 58.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.603e-05/0.3712, allocations: 25 kB / 433.9 MB, free: 58.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.005319/0.3765, allocations: 3.442 MB / 437.4 MB, free: 56.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.3766, allocations: 40 kB / 437.4 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-05/0.3766, allocations: 88 kB / 437.5 MB, free: 56.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.3772, allocations: 342.5 kB / 437.8 MB, free: 56.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3788, allocations: 0.9088 MB / 438.7 MB, free: 55.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.3828, allocations: 10.43 MB / 449.2 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.3857, allocations: 171.7 kB / 449.3 MB, free: 44.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/0.3862, allocations: 223.5 kB / 449.6 MB, free: 44.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (514): * Single equations (assignments): 504 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.3877, allocations: 0.4943 MB / 450.1 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.3882, allocations: 246.6 kB / 450.3 MB, free: 43.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3894, allocations: 0.9533 MB / 451.2 MB, free: 43.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-05/0.3895, allocations: 24 kB / 451.3 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3895, allocations: 8 kB / 451.3 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3895, allocations: 7.406 kB / 451.3 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.3956, allocations: 3.698 MB / 455 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.3956, allocations: 4 kB / 455 MB, free: 39.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.396, allocations: 151.8 kB / 455.1 MB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.3963, allocations: 150.4 kB / 455.3 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.3964, allocations: 31.98 kB / 455.3 MB, free: 39.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.3986, allocations: 6.063 MB / 461.4 MB, free: 32.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3986, allocations: 7.938 kB / 461.4 MB, free: 32.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4004, allocations: 1.35 MB / 462.7 MB, free: 31.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.4008, allocations: 190.6 kB / 462.9 MB, free: 31.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.401, allocations: 28.03 kB / 462.9 MB, free: 31.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.4014, allocations: 27.98 kB / 463 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4015, allocations: 88.73 kB / 463.1 MB, free: 30.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.4015, allocations: 35.98 kB / 463.1 MB, free: 30.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009486/0.4025, allocations: 0.9053 MB / 464 MB, free: 29.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4025, allocations: 0 / 464 MB, free: 29.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003337/0.4058, allocations: 0.7069 MB / 464.7 MB, free: 29.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (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 (102): * Single equations (assignments): 94 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/0.4061, allocations: 155.5 kB / 464.9 MB, free: 29.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.4093, allocations: 2.659 MB / 467.5 MB, free: 26.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.4093, allocations: 0 / 467.5 MB, free: 26.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.41, allocations: 0.8625 MB / 468.4 MB, free: 25.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.4112, allocations: 302.1 kB / 468.7 MB, free: 25.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4214, allocations: 5.776 MB / 474.5 MB, free: 19.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.4225, allocations: 0.9903 MB / 475.4 MB, free: 18.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4237, allocations: 329 kB / 475.8 MB, free: 17.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.4242, allocations: 418.1 kB / 476.2 MB, free: 17.54 MB / 330.7 MB Notification: Performance of SimCode: time 2.675e-06/0.4242, allocations: 0 / 476.2 MB, free: 17.54 MB / 330.7 MB Notification: Performance of Templates: time 0.04209/0.4663, allocations: 20.23 MB / 496.4 MB, free: 13.61 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.292286306153983]