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.0007692/0.0007692, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001772, allocations: 435.8 kB / 10.33 MB, free: 364 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.000713/0.000713, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008753/0.001588, allocations: 463.6 kB / 11.68 MB, free: 2.48 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 1.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.143, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.03033/0.03033, allocations: 7.173 MB / 251.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005395/0.03573, allocations: 2.56 MB / 253.7 MB, free: 5.324 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.293e-06/1.293e-06, allocations: 0 / 255 MB, free: 4.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.341e-05, allocations: 6.25 kB / 255 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.006778/0.006792, allocations: 9.201 MB / 264.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.01118, allocations: 2.849 MB / 267 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.01178, allocations: 43.88 kB / 267.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.01238, allocations: 445.1 kB / 267.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.01429, allocations: 1.52 MB / 269 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.01454, allocations: 151.6 kB / 269.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.01648, allocations: 2.803 MB / 272 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.01727, allocations: 0.8641 MB / 272.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.01847, allocations: 1.571 MB / 274.4 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1132/0.1316, allocations: 1.347 MB / 275.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000937/0.1326, allocations: 250.6 kB / 276 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.1343, allocations: 0.8452 MB / 276.8 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.1354, allocations: 1.247 MB / 278.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.1365, allocations: 0.747 MB / 278.8 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.1401, allocations: 3.333 MB / 282.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.1401, allocations: 0 / 282.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1401, allocations: 0 / 282.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.831e-05/0.1402, allocations: 0 / 282.2 MB, free: 3.379 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.00515/0.1454, allocations: 4.11 MB / 286.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1454, allocations: 11.89 kB / 286.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.1491, allocations: 1.078 MB / 287.4 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.1505, allocations: 1.048 MB / 288.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-05/0.1506, allocations: 163.9 kB / 288.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.1509, allocations: 222.2 kB / 288.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/0.1551, allocations: 3.734 MB / 292.5 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.1551, allocations: 23.59 kB / 292.5 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.1554, allocations: 107.6 kB / 292.6 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.1572, allocations: 1.894 MB / 294.5 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/0.1623, allocations: 2.187 MB / 296.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.1809, allocations: 20.34 MB / 317.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.1833, allocations: 1.017 MB / 318.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.1839, allocations: 350 kB / 318.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004104/0.188, allocations: 2.693 MB / 321.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.188, allocations: 39.56 kB / 321.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.495e-06/0.188, allocations: 0.5 kB / 321.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=135): time 0.005221/0.1933, allocations: 3.417 MB / 324.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1933, allocations: 71.95 kB / 324.6 MB, free: 3.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.1948, allocations: 1.996 MB / 326.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.1948, allocations: 44.28 kB / 326.7 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009472/0.1958, allocations: 2.425 MB / 329.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.1961, allocations: 0.5276 MB / 329.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/0.1967, allocations: 0.8257 MB / 330.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.1968, allocations: 348.8 kB / 330.8 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.1974, allocations: 434.5 kB / 331.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.1991, allocations: 2.803 MB / 334 MB, free: 9.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.2022, allocations: 3.779 MB / 337.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/0.2023, allocations: 27.94 kB / 337.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.003063/0.2053, allocations: 2.97 MB / 340.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.2054, allocations: 44 kB / 340.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/0.2054, allocations: 87.94 kB / 340.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.2059, allocations: 339.5 kB / 341.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.2075, allocations: 1.026 MB / 342.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.211, allocations: 7.745 MB / 350 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.2123, allocations: 176 kB / 350.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.2125, allocations: 217.5 kB / 350.4 MB, free: 7.773 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.0009955/0.2135, allocations: 473.3 kB / 350.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2136, allocations: 151.7 kB / 351 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.2148, allocations: 0.8233 MB / 351.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.2148, allocations: 16 kB / 351.9 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2148, allocations: 4 kB / 351.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2148, allocations: 7.984 kB / 351.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.2181, allocations: 3.071 MB / 355 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2181, allocations: 0 / 355 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.2185, allocations: 199.7 kB / 355.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.2187, allocations: 174.6 kB / 355.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.219, allocations: 228.2 kB / 355.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.2191, allocations: 27.91 kB / 355.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.2211, allocations: 4.465 MB / 360 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2211, allocations: 4.234 kB / 360 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2222, allocations: 1.129 MB / 361.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2223, allocations: 20 kB / 361.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.2227, allocations: 31.98 kB / 361.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.2228, allocations: 84.73 kB / 361.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.2228, allocations: 40.05 kB / 361.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006063/0.2234, allocations: 0.7134 MB / 362.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2234, allocations: 0 / 362.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001919/0.2254, allocations: 0.7069 MB / 362.8 MB, free: 11.39 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.0002221/0.2256, allocations: 144.1 kB / 362.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.2276, allocations: 2.259 MB / 365.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001107/0.2277, allocations: 71.89 kB / 365.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.2282, allocations: 0.6515 MB / 365.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.2293, allocations: 459.9 kB / 366.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008762/0.238, allocations: 6.03 MB / 372.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.2391, allocations: 0.9785 MB / 373.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007306/0.2398, allocations: 325 kB / 373.7 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.2403, allocations: 381.2 kB / 374 MB, free: 15.89 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2403, allocations: 0 / 374 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Templates: time 0.03121/0.2715, allocations: 20.7 MB / 394.7 MB, free: 11.54 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.533339031971991]