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.0008426/0.0008426, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001049/0.001049, allocations: 169 kB / 23.02 MB, free: 1.539 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03335/0.03335, allocations: 7.169 MB / 267.1 MB, free: 6.078 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.893e-06/1.893e-06, allocations: 0 / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.459e-05, allocations: 12.53 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.009607/0.009642, allocations: 9.275 MB / 348.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.01465, allocations: 2.76 MB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.01601, allocations: 39.88 kB / 350.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009668/0.01698, allocations: 413.2 kB / 351.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.02021, allocations: 1.536 MB / 352.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.02065, allocations: 167.5 kB / 353 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.02365, allocations: 2.784 MB / 355.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.02524, allocations: 0.8401 MB / 356.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.02755, allocations: 1.516 MB / 358.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.02914, allocations: 1.414 MB / 359.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.02948, allocations: 252 kB / 359.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.03074, allocations: 0.8386 MB / 360.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009946/0.03174, allocations: 1.394 MB / 362.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.03291, allocations: 0.907 MB / 363 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.03713, allocations: 3.552 MB / 366.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03714, allocations: 4 kB / 366.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03714, allocations: 4 kB / 366.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.561e-05/0.03722, allocations: 0 / 366.5 MB, free: 14.39 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.005059/0.04228, allocations: 3.917 MB / 370.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.04233, allocations: 12.62 kB / 370.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.04651, allocations: 2.323 MB / 372.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.04852, allocations: 1.35 MB / 374.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.04862, allocations: 168.5 kB / 374.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.04896, allocations: 224.2 kB / 374.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006943/0.0559, allocations: 4.432 MB / 379 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.05596, allocations: 23.95 kB / 379 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.05619, allocations: 107.8 kB / 379.1 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001924/0.05811, allocations: 2.087 MB / 381.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007845/0.06596, allocations: 2.487 MB / 383.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1851/0.2511, allocations: 28.34 MB / 412 MB, free: 56.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.2539, allocations: 1.056 MB / 413.1 MB, free: 56.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.2545, allocations: 428.8 kB / 413.5 MB, free: 56.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.2591, allocations: 3.276 MB / 416.8 MB, free: 55.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2592, allocations: 40.98 kB / 416.8 MB, free: 55.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.045e-06/0.2592, allocations: 0 / 416.8 MB, free: 55.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.007974/0.2671, allocations: 4.15 MB / 420.9 MB, free: 54.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2672, allocations: 64.58 kB / 421 MB, free: 54.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/0.2702, allocations: 2.224 MB / 423.2 MB, free: 54.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.2703, allocations: 45.67 kB / 423.3 MB, free: 54.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.2713, allocations: 2.592 MB / 425.9 MB, free: 52.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.2716, allocations: 0.5513 MB / 426.4 MB, free: 52.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007093/0.2724, allocations: 0.9209 MB / 427.3 MB, free: 52.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.2725, allocations: 0.5216 MB / 427.9 MB, free: 51.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/0.2732, allocations: 457 kB / 428.3 MB, free: 51.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.275, allocations: 4.07 MB / 432.4 MB, free: 46.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.2782, allocations: 4.951 MB / 437.3 MB, free: 42.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/0.2782, allocations: 25.38 kB / 437.4 MB, free: 42.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.004537/0.2828, allocations: 3.699 MB / 441.1 MB, free: 41.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.2828, allocations: 42.16 kB / 441.1 MB, free: 41.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.448e-05/0.2829, allocations: 89.12 kB / 441.2 MB, free: 41.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.2835, allocations: 373 kB / 441.5 MB, free: 41.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.285, allocations: 0.9313 MB / 442.5 MB, free: 41.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2885, allocations: 10.58 MB / 453.1 MB, free: 31.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.2905, allocations: 232 kB / 453.3 MB, free: 30.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.2907, allocations: 255.5 kB / 453.5 MB, free: 30.68 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.001016/0.2918, allocations: 0.4973 MB / 454 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.292, allocations: 251.9 kB / 454.3 MB, free: 29.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2931, allocations: 1.029 MB / 455.3 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-05/0.2932, allocations: 43.14 kB / 455.3 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2932, allocations: 4 kB / 455.3 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2932, allocations: 7.547 kB / 455.4 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.2977, allocations: 3.841 MB / 459.2 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2977, allocations: 448 / 459.2 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.298, allocations: 180.6 kB / 459.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.2983, allocations: 167.1 kB / 459.5 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.2984, allocations: 28.83 kB / 459.6 MB, free: 25.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.3001, allocations: 6.156 MB / 465.7 MB, free: 18.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3001, allocations: 7.938 kB / 465.7 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.3016, allocations: 1.452 MB / 467.2 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.302, allocations: 197.1 kB / 467.4 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.3021, allocations: 27.05 kB / 467.4 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.3025, allocations: 73.16 kB / 467.5 MB, free: 17.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3026, allocations: 82.44 kB / 467.6 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/0.3027, allocations: 44.03 kB / 467.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.3037, allocations: 0.9802 MB / 468.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3037, allocations: 0 / 468.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002893/0.3066, allocations: 0.7097 MB / 469.3 MB, free: 15.55 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.0002889/0.3069, allocations: 159.8 kB / 469.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.3102, allocations: 2.777 MB / 472.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3102, allocations: 0 / 472.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.3108, allocations: 0.8882 MB / 473.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.3118, allocations: 296.6 kB / 473.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.3192, allocations: 5.811 MB / 479.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.3199, allocations: 0.9904 MB / 480.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001486/0.3214, allocations: 1.004 MB / 481.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3217, allocations: 164.5 kB / 481.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of SimCode: time 2.755e-06/0.3217, allocations: 0 / 481.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of Templates: time 0.03182/0.3535, allocations: 18.9 MB / 0.4885 GB, free: 0.6953 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: 3.692111097741872]