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.001123/0.001123, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001417/0.001417, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9974/0.9974, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.02983/0.02983, allocations: 7.189 MB / 267.4 MB, free: 5.945 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 1.283e-06/1.283e-06, allocations: 0 / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.381e-05, allocations: 2.312 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.1097/0.1097, allocations: 9.152 MB / 295.2 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.1148, allocations: 2.839 MB / 298.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.1156, allocations: 41.81 kB / 298.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.1163, allocations: 428.8 kB / 298.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.1187, allocations: 1.52 MB / 300.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1191, allocations: 167.1 kB / 300.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1216, allocations: 2.79 MB / 303 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009864/0.1226, allocations: 0.8554 MB / 303.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.1241, allocations: 1.508 MB / 305.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1257, allocations: 1.363 MB / 306.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.1262, allocations: 251.6 kB / 307 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1273, allocations: 0.8544 MB / 307.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006164/0.1279, allocations: 1.399 MB / 309.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.1286, allocations: 0.8992 MB / 310.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.1309, allocations: 3.563 MB / 313.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1309, allocations: 0 / 313.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1309, allocations: 0 / 313.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.1309, allocations: 0 / 313.7 MB, free: 4.348 MB / 266.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.002624/0.1335, allocations: 3.401 MB / 317.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.1336, allocations: 8.625 kB / 317.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.1364, allocations: 1.084 MB / 318.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1375, allocations: 1.052 MB / 319.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.355e-05/0.1376, allocations: 164.5 kB / 319.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.1379, allocations: 216.2 kB / 319.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.1416, allocations: 3.738 MB / 323.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.1417, allocations: 23.98 kB / 323.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.1419, allocations: 107.8 kB / 323.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.1435, allocations: 1.88 MB / 325.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.1464, allocations: 2.053 MB / 327.4 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.161, allocations: 20.39 MB / 347.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.163, allocations: 1.009 MB / 348.8 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.1636, allocations: 351 kB / 349.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004803/0.1684, allocations: 2.744 MB / 351.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1684, allocations: 39.56 kB / 351.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=119): time 2.665e-06/0.1684, allocations: 0 / 351.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=135): time 0.007317/0.1757, allocations: 3.443 MB / 355.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1758, allocations: 64.41 kB / 355.4 MB, free: 9.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.1777, allocations: 1.997 MB / 357.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.1778, allocations: 41.7 kB / 357.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.179, allocations: 2.421 MB / 359.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.1793, allocations: 0.5309 MB / 360.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009092/0.1802, allocations: 0.8301 MB / 361.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1803, allocations: 349.8 kB / 361.6 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.1811, allocations: 434.5 kB / 362 MB, free: 2.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.1831, allocations: 2.813 MB / 364.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.1863, allocations: 3.771 MB / 368.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-05/0.1863, allocations: 24 kB / 368.6 MB, free: 9.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.003914/0.1902, allocations: 2.973 MB / 371.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.1903, allocations: 40 kB / 371.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-05/0.1903, allocations: 91.94 kB / 371.7 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.1909, allocations: 327.1 kB / 372.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.193, allocations: 0.9475 MB / 373 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004227/0.1973, allocations: 7.755 MB / 380.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.199, allocations: 172 kB / 380.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.1993, allocations: 224 kB / 381.1 MB, free: 12.57 MB / 346.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.0009195/0.2002, allocations: 468.1 kB / 381.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.2004, allocations: 143.8 kB / 381.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.2017, allocations: 0.8203 MB / 382.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.101e-05/0.2018, allocations: 20 kB / 382.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2018, allocations: 4 kB / 382.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2018, allocations: 7.969 kB / 382.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.2062, allocations: 3.07 MB / 385.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2062, allocations: 4.438 kB / 385.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.2067, allocations: 171.7 kB / 385.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.2072, allocations: 225.5 kB / 386.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.2072, allocations: 31.91 kB / 386.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.2095, allocations: 4.458 MB / 390.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2095, allocations: 4 kB / 390.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2109, allocations: 1.12 MB / 391.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.2111, allocations: 182.6 kB / 391.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.2113, allocations: 23.94 kB / 391.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.2118, allocations: 31.98 kB / 391.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2119, allocations: 88.77 kB / 392 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.212, allocations: 36.05 kB / 392 MB, free: 1.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007987/0.2128, allocations: 0.7212 MB / 392.7 MB, free: 392 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2128, allocations: 0 / 392.7 MB, free: 392 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002619/0.2154, allocations: 0.707 MB / 393.4 MB, free: 15.67 MB / 362.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.0002312/0.2156, allocations: 140.1 kB / 393.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.2181, allocations: 2.268 MB / 395.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001179/0.2182, allocations: 51.94 kB / 395.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.2189, allocations: 0.6543 MB / 396.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.2198, allocations: 289 kB / 396.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.2276, allocations: 5.916 MB / 402.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.2287, allocations: 0.9787 MB / 403.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007864/0.2295, allocations: 317 kB / 404 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.23, allocations: 397.2 kB / 404.4 MB, free: 4.449 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.23, allocations: 0 / 404.4 MB, free: 4.449 MB / 362.7 MB Notification: Performance of Templates: time 0.0304/0.2604, allocations: 20.21 MB / 424.6 MB, free: 0.5938 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3604031964205205]