Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.001383/0.001383, allocations: 88.72 kB / 19.44 MB, free: 356 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.001667/0.001667, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.442/1.442, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.07551/0.07551, allocations: 7.182 MB / 266.7 MB, free: 6.066 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.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.359e-05, allocations: 6.25 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.005886/0.00591, allocations: 7.288 MB / 345.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.009976, allocations: 2.442 MB / 347.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/0.01069, allocations: 35.88 kB / 347.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.01131, allocations: 365.5 kB / 348.2 MB, free: 396 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.01411, allocations: 1.423 MB / 349.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.01448, allocations: 123.6 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.01752, allocations: 2.503 MB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.01857, allocations: 0.7094 MB / 353 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.02034, allocations: 1.336 MB / 354.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.02233, allocations: 1.29 MB / 355.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.0227, allocations: 228 kB / 355.9 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.02417, allocations: 0.8034 MB / 356.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.02547, allocations: 1.254 MB / 357.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.02655, allocations: 0.8019 MB / 358.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.03332, allocations: 4.952 MB / 363.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.03332, allocations: 0 / 363.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03332, allocations: 0 / 363.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.03343, allocations: 0 / 363.7 MB, free: 0.9062 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.007026/0.04045, allocations: 3.258 MB / 366.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.0405, allocations: 8.031 kB / 366.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007975/0.04847, allocations: 2.3 MB / 369.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.05157, allocations: 1.265 MB / 370.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.05174, allocations: 147.9 kB / 370.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.05227, allocations: 188.2 kB / 370.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.06638, allocations: 8.119 MB / 378.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.373e-05/0.06645, allocations: 20 kB / 379 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.06674, allocations: 92.22 kB / 379 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003717/0.07046, allocations: 1.993 MB / 381 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.08523, allocations: 7.094 MB / 388.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03646/0.1217, allocations: 22.02 MB / 410.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1079/0.2296, allocations: 1.769 MB / 411.9 MB, free: 76.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.2308, allocations: 0.6886 MB / 412.6 MB, free: 76.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/0.2355, allocations: 2.461 MB / 415.1 MB, free: 75.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2355, allocations: 45.42 kB / 415.1 MB, free: 75.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.357e-06/0.2355, allocations: 0 / 415.1 MB, free: 75.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.009284/0.2448, allocations: 4.647 MB / 419.8 MB, free: 74.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.2448, allocations: 61.56 kB / 419.8 MB, free: 74.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.247, allocations: 2.227 MB / 422.1 MB, free: 73.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.247, allocations: 41.61 kB / 422.1 MB, free: 73.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.2477, allocations: 2.222 MB / 424.3 MB, free: 71.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.2479, allocations: 497.9 kB / 424.8 MB, free: 71.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007349/0.2487, allocations: 0.763 MB / 425.6 MB, free: 70.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.2487, allocations: 344.7 kB / 425.9 MB, free: 70.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.2503, allocations: 1.188 MB / 427.1 MB, free: 70.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.2524, allocations: 3.343 MB / 430.4 MB, free: 67.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.2561, allocations: 4.835 MB / 435.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.2561, allocations: 24 kB / 435.3 MB, free: 61.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.005664/0.2618, allocations: 4.642 MB / 439.9 MB, free: 57.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.2618, allocations: 40.03 kB / 440 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.948e-05/0.2619, allocations: 76 kB / 440 MB, free: 56.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.912e-05/0.262, allocations: 104 kB / 440.1 MB, free: 56.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.2642, allocations: 0.8578 MB / 441 MB, free: 55.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.067e-05/0.2643, allocations: 151.4 kB / 441.2 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.2664, allocations: 183.9 kB / 441.3 MB, free: 55.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.2666, allocations: 227.8 kB / 441.6 MB, free: 55.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 462 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001585/0.2682, allocations: 1.572 MB / 443.1 MB, free: 53.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.2685, allocations: 222.7 kB / 443.3 MB, free: 53.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.2706, allocations: 1.43 MB / 444.8 MB, free: 52.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/0.2707, allocations: 31.98 kB / 444.8 MB, free: 52.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2707, allocations: 2.938 kB / 444.8 MB, free: 52.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2707, allocations: 7.922 kB / 444.8 MB, free: 52.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.2766, allocations: 4.084 MB / 448.9 MB, free: 47.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.2766, allocations: 8.062 kB / 448.9 MB, free: 47.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.2774, allocations: 195.7 kB / 449.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.2774, allocations: 8 kB / 449.1 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.2775, allocations: 34.64 kB / 449.1 MB, free: 47.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2775, allocations: 15.94 kB / 449.2 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2775, allocations: 11.94 kB / 449.2 MB, free: 47.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.2803, allocations: 2.487 MB / 451.7 MB, free: 45.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.2806, allocations: 178.8 kB / 451.8 MB, free: 44.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.2808, allocations: 31.98 kB / 451.9 MB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.2815, allocations: 59.94 kB / 451.9 MB, free: 44.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2816, allocations: 76.36 kB / 452 MB, free: 44.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.2817, allocations: 50.88 kB / 452 MB, free: 44.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.2831, allocations: 1.285 MB / 453.3 MB, free: 43.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2831, allocations: 0 / 453.3 MB, free: 43.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002433/0.2855, allocations: 0.6092 MB / 453.9 MB, free: 42.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * 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 (97): * Single equations (assignments): 92 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003078/0.2858, allocations: 161.8 kB / 454.1 MB, free: 42.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003486/0.2893, allocations: 2.583 MB / 456.7 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2893, allocations: 4 kB / 456.7 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.2901, allocations: 0.6218 MB / 457.3 MB, free: 39.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.2914, allocations: 279.5 kB / 457.6 MB, free: 39.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/0.2993, allocations: 6.425 MB / 464 MB, free: 32.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.3012, allocations: 2.005 MB / 466 MB, free: 30.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002179/0.3034, allocations: 1.071 MB / 467.1 MB, free: 29.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.3038, allocations: 144.5 kB / 467.2 MB, free: 29.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3038, allocations: 0 / 467.2 MB, free: 29.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02698/0.3307, allocations: 17.6 MB / 484.8 MB, free: 12.13 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.216721466975287]