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.0007513/0.0007513, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001899, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001123/0.001123, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002695, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9558/0.9558, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08249/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.0285/0.0285, allocations: 7.177 MB / 251.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00423/0.03273, allocations: 2.565 MB / 253.9 MB, free: 5.203 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.363e-06/1.363e-06, allocations: 0 / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.78e-05, allocations: 2.312 kB / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01029/0.01031, allocations: 9.209 MB / 264.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006615/0.01692, allocations: 2.852 MB / 267.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.01831, allocations: 39.88 kB / 267.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.01937, allocations: 445.1 kB / 267.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.0229, allocations: 1.516 MB / 269.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.02341, allocations: 159.6 kB / 269.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.02739, allocations: 2.802 MB / 272.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.02888, allocations: 0.8641 MB / 273 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.03124, allocations: 1.568 MB / 274.6 MB, free: 368 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1134/0.1446, allocations: 1.35 MB / 276 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009178/0.1456, allocations: 250.5 kB / 276.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.1473, allocations: 0.8481 MB / 277 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1485, allocations: 1.247 MB / 278.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.1501, allocations: 0.7496 MB / 279 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005078/0.1552, allocations: 3.331 MB / 282.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.1552, allocations: 0 / 282.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1552, allocations: 1.375 kB / 282.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002266/0.1554, allocations: 0 / 282.4 MB, free: 3.434 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.01011/0.1655, allocations: 4.107 MB / 286.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1656, allocations: 10.8 kB / 286.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.1685, allocations: 1.081 MB / 287.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.1703, allocations: 1.047 MB / 288.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1704, allocations: 167.3 kB / 288.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.1706, allocations: 219.6 kB / 289 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.1753, allocations: 3.734 MB / 292.7 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.1754, allocations: 27.09 kB / 292.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.1756, allocations: 109.5 kB / 292.9 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.1771, allocations: 1.784 MB / 294.7 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/0.1821, allocations: 2.155 MB / 296.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.2004, allocations: 20.35 MB / 317.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.2031, allocations: 1.014 MB / 318.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.2037, allocations: 354.9 kB / 318.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005046/0.2088, allocations: 2.693 MB / 321.2 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2088, allocations: 46.28 kB / 321.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 3.607e-06/0.2088, allocations: 1.094 kB / 321.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=135): time 0.007692/0.2165, allocations: 3.651 MB / 324.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2165, allocations: 64.41 kB / 325 MB, free: 3.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.2185, allocations: 1.993 MB / 327 MB, free: 1.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.2186, allocations: 44.28 kB / 327 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.22, allocations: 2.423 MB / 329.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.2204, allocations: 0.5375 MB / 330 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008676/0.2212, allocations: 0.8279 MB / 330.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.2213, allocations: 353.8 kB / 331.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.222, allocations: 434.5 kB / 331.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.2239, allocations: 2.797 MB / 334.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.2278, allocations: 4.102 MB / 338.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.143e-05/0.2278, allocations: 24.56 kB / 338.5 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.004175/0.232, allocations: 2.967 MB / 341.4 MB, free: 1.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.232, allocations: 44 kB / 341.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.2321, allocations: 100 kB / 341.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.2327, allocations: 335.8 kB / 341.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/0.235, allocations: 1.018 MB / 342.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.2393, allocations: 7.752 MB / 350.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.2415, allocations: 174.9 kB / 350.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/0.2419, allocations: 220 kB / 351.1 MB, free: 7.184 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 (515): * Single equations (assignments): 506 * Array equations: 4 * 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.001372/0.2432, allocations: 462.4 kB / 351.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.2435, allocations: 155.6 kB / 351.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2447, allocations: 0.8208 MB / 352.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/0.2448, allocations: 16 kB / 352.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2448, allocations: 0 / 352.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2448, allocations: 11.97 kB / 352.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.2559, allocations: 3.054 MB / 355.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.2559, allocations: 8 kB / 355.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.2565, allocations: 199.7 kB / 355.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.2569, allocations: 189.7 kB / 356 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.2574, allocations: 223.6 kB / 356.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.2575, allocations: 31.92 kB / 356.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/0.2631, allocations: 4.472 MB / 360.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.2631, allocations: 7.938 kB / 360.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.2681, allocations: 1.112 MB / 361.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/0.2685, allocations: 35.97 kB / 361.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/0.2691, allocations: 27.98 kB / 361.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2692, allocations: 80.73 kB / 361.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.2693, allocations: 32 kB / 362 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004167/0.2735, allocations: 0.7173 MB / 362.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2735, allocations: 4.031 kB / 362.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007062/0.2805, allocations: 0.707 MB / 363.4 MB, free: 10.78 MB / 346.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 (103): * Single equations (assignments): 96 * Array equations: 4 * 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.0003817/0.2809, allocations: 136.1 kB / 363.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006475/0.2874, allocations: 2.344 MB / 365.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00019/0.2876, allocations: 64.3 kB / 365.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.2885, allocations: 0.7381 MB / 366.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/0.2938, allocations: 2.001 MB / 368.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/0.3158, allocations: 6.036 MB / 374.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/0.3167, allocations: 0.9787 MB / 375.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009717/0.3177, allocations: 317 kB / 376 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.3181, allocations: 365.2 kB / 376.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3181, allocations: 0 / 376.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Templates: time 0.03246/0.3506, allocations: 20.11 MB / 396.5 MB, free: 9.352 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1462528882548213]