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.002287/0.002287, allocations: 93.47 kB / 19.44 MB, free: 336 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.002745/0.002745, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.658/1.658, allocations: 177.1 MB / 203.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 178] 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.05443/0.05443, allocations: 7.183 MB / 266.7 MB, free: 6.074 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.764e-06/1.764e-06, allocations: 0 / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.571e-05, allocations: 4.703 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.007577/0.007612, allocations: 9.245 MB / 347.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005623/0.01324, allocations: 2.725 MB / 350.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009851/0.01422, allocations: 39.88 kB / 350.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.01529, allocations: 425.1 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.01887, allocations: 1.528 MB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.01932, allocations: 171.4 kB / 352.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.02297, allocations: 2.785 MB / 355 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.02429, allocations: 0.844 MB / 355.9 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.02655, allocations: 1.512 MB / 357.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.02891, allocations: 1.41 MB / 358.8 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.02942, allocations: 252 kB / 359 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.03113, allocations: 0.8386 MB / 359.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.03307, allocations: 1.387 MB / 361.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.03502, allocations: 0.9109 MB / 362.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.04599, allocations: 5.361 MB / 367.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.046, allocations: 3.984 kB / 367.5 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.046, allocations: 0 / 367.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.04616, allocations: 4 kB / 367.5 MB, free: 13 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.01503/0.06119, allocations: 4.413 MB / 371.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.06125, allocations: 16.61 kB / 372 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.07596, allocations: 2.311 MB / 374.3 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/0.08156, allocations: 1.328 MB / 375.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.08186, allocations: 168.5 kB / 375.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.08315, allocations: 216.2 kB / 376 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.1021, allocations: 4.982 MB / 381 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.1022, allocations: 27.94 kB / 381 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004813/0.1027, allocations: 107.8 kB / 381.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005907/0.1086, allocations: 2.083 MB / 383.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.1247, allocations: 3.024 MB / 386.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2024/0.3271, allocations: 40.91 MB / 427.1 MB, free: 50.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.3313, allocations: 1.179 MB / 428.3 MB, free: 50.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3326, allocations: 0.5294 MB / 428.8 MB, free: 50.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008512/0.3411, allocations: 3.47 MB / 432.3 MB, free: 49.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3411, allocations: 41.98 kB / 432.3 MB, free: 49.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 4.028e-06/0.3411, allocations: 0 / 432.3 MB, free: 49.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.01173/0.3529, allocations: 4.57 MB / 436.9 MB, free: 48.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.3529, allocations: 66.72 kB / 437 MB, free: 48.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.3565, allocations: 2.97 MB / 439.9 MB, free: 46.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.3567, allocations: 45.67 kB / 440 MB, free: 46.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.3579, allocations: 2.747 MB / 442.7 MB, free: 44.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.3584, allocations: 0.588 MB / 443.3 MB, free: 44.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.3596, allocations: 1.117 MB / 444.4 MB, free: 43.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3598, allocations: 0.5436 MB / 445 MB, free: 43.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3611, allocations: 0.578 MB / 445.6 MB, free: 43.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.3636, allocations: 4.346 MB / 449.9 MB, free: 37.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.368, allocations: 5.345 MB / 455.2 MB, free: 31.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.179e-05/0.3681, allocations: 24 kB / 455.3 MB, free: 31.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006865/0.375, allocations: 3.958 MB / 459.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.375, allocations: 40 kB / 459.3 MB, free: 27.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.091e-05/0.3751, allocations: 88 kB / 459.4 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/0.376, allocations: 377.2 kB / 459.7 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.3787, allocations: 0.9318 MB / 460.7 MB, free: 26.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/0.3834, allocations: 10.75 MB / 471.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.3864, allocations: 219.9 kB / 471.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/0.3868, allocations: 263.4 kB / 471.9 MB, free: 14.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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 (513): * Single equations (assignments): 503 * 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.001486/0.3883, allocations: 0.6138 MB / 472.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.3887, allocations: 246.5 kB / 472.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.3911, allocations: 1.155 MB / 473.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001735/0.3912, allocations: 35.97 kB / 473.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3913, allocations: 4 kB / 473.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3913, allocations: 7.969 kB / 473.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009265/0.4005, allocations: 4.996 MB / 478.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4005, allocations: 4 kB / 478.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.4012, allocations: 180.1 kB / 479.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.4017, allocations: 186.4 kB / 479.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.4018, allocations: 28.86 kB / 479.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.4044, allocations: 6.264 MB / 485.6 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4044, allocations: 4 kB / 485.6 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.4083, allocations: 1.708 MB / 487.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/0.409, allocations: 202.6 kB / 487.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.4092, allocations: 20 kB / 487.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000802/0.41, allocations: 63.3 kB / 487.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.4102, allocations: 88.73 kB / 487.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.4103, allocations: 51.3 kB / 487.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.4126, allocations: 1.234 MB / 488.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4126, allocations: 4 kB / 488.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004258/0.4169, allocations: 0.7108 MB / 489.7 MB, free: 11.85 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 (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.0004755/0.4174, allocations: 155.6 kB / 489.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006526/0.4239, allocations: 3.133 MB / 492.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.4239, allocations: 8.062 kB / 492.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.4256, allocations: 0.9964 MB / 493.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.4274, allocations: 294.7 kB / 494.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.44, allocations: 5.926 MB / 0.4884 GB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.4434, allocations: 1.994 MB / 0.4904 GB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002856/0.4463, allocations: 1.004 MB / 0.4914 GB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.4467, allocations: 164.5 kB / 0.4915 GB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.735e-06/0.4467, allocations: 0 / 0.4915 GB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.04823/0.495, allocations: 18.05 MB / 0.5091 GB, free: 12.23 MB / 378.7 MB " [Timeout remaining time 659] 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: 6.088279035990126]