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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 280 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.001925/0.001925, allocations: 169 kB / 23.02 MB, free: 1.555 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.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.03017/0.03017, allocations: 7.172 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.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.523e-06/1.523e-06, allocations: 0 / 338.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.513e-05, allocations: 4.562 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.005613/0.005638, allocations: 8.006 MB / 346.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.009328, allocations: 2.506 MB / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.009971, allocations: 35.88 kB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.01065, allocations: 373.5 kB / 349.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.01274, allocations: 1.423 MB / 351.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.01301, allocations: 123.5 kB / 351.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.01509, allocations: 2.51 MB / 353.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.01597, allocations: 0.7171 MB / 354.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.01739, allocations: 1.336 MB / 355.9 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.01866, allocations: 1.29 MB / 357.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.01894, allocations: 224 kB / 357.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.01992, allocations: 0.7996 MB / 358.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007528/0.02068, allocations: 1.266 MB / 359.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007036/0.02138, allocations: 0.798 MB / 360.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.02401, allocations: 3.276 MB / 363.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02401, allocations: 0 / 363.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02401, allocations: 4 kB / 363.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-05/0.02406, allocations: 0 / 363.5 MB, free: 1.438 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.004124/0.02818, allocations: 3.563 MB / 367.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.02823, allocations: 12.03 kB / 367.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.03233, allocations: 2.222 MB / 369.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.03391, allocations: 1.201 MB / 370.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.034, allocations: 147.9 kB / 370.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.03425, allocations: 188.2 kB / 370.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.04051, allocations: 4.033 MB / 374.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.04056, allocations: 16.06 kB / 374.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.04079, allocations: 91.98 kB / 375 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.04328, allocations: 1.989 MB / 377 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006509/0.04979, allocations: 2.315 MB / 379.3 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.07377, allocations: 24.92 MB / 404.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.07669, allocations: 0.9992 MB / 405.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.07723, allocations: 286.8 kB / 405.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003794/0.08103, allocations: 2.353 MB / 407.8 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.08106, allocations: 50.33 kB / 407.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 4.087e-06/0.08107, allocations: 0 / 407.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.006476/0.08754, allocations: 2.887 MB / 410.8 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.08758, allocations: 60.41 kB / 410.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1357/0.2232, allocations: 1.939 MB / 412.8 MB, free: 64.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.2234, allocations: 40.83 kB / 412.8 MB, free: 64.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009245/0.2243, allocations: 2.323 MB / 415.1 MB, free: 63.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.2247, allocations: 0.5041 MB / 415.6 MB, free: 63.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/0.2255, allocations: 0.8188 MB / 416.5 MB, free: 62.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.2256, allocations: 0.5127 MB / 417 MB, free: 62.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008456/0.2264, allocations: 391.1 kB / 417.4 MB, free: 62.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.2282, allocations: 3.564 MB / 420.9 MB, free: 58.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.231, allocations: 4.32 MB / 425.2 MB, free: 54.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/0.2311, allocations: 23.42 kB / 425.3 MB, free: 54.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.004598/0.2357, allocations: 3.073 MB / 428.3 MB, free: 53.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.2357, allocations: 38.03 kB / 428.4 MB, free: 53.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.2359, allocations: 76.38 kB / 428.5 MB, free: 53.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.236, allocations: 105.3 kB / 428.6 MB, free: 53.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.2381, allocations: 0.8504 MB / 429.4 MB, free: 53.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/0.2382, allocations: 152.7 kB / 429.6 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.24, allocations: 179.2 kB / 429.7 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.2402, allocations: 235.5 kB / 430 MB, free: 53.79 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.0007571/0.241, allocations: 457.7 kB / 430.4 MB, free: 53.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.2412, allocations: 212.5 kB / 430.6 MB, free: 53.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.2423, allocations: 0.7369 MB / 431.4 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/0.2424, allocations: 31.89 kB / 431.4 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2424, allocations: 10.84 kB / 431.4 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2424, allocations: 4.781 kB / 431.4 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.2473, allocations: 3.495 MB / 434.9 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.2473, allocations: 7.156 kB / 434.9 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.2478, allocations: 191 kB / 435.1 MB, free: 52.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.2479, allocations: 10.66 kB / 435.1 MB, free: 52.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.2479, allocations: 36.83 kB / 435.1 MB, free: 52.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.2479, allocations: 14.33 kB / 435.1 MB, free: 52.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2479, allocations: 11.09 kB / 435.2 MB, free: 52.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2494, allocations: 1.353 MB / 436.5 MB, free: 51.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.2496, allocations: 179 kB / 436.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.2497, allocations: 31.12 kB / 436.7 MB, free: 51.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.2502, allocations: 42.88 kB / 436.8 MB, free: 51.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.2503, allocations: 84.75 kB / 436.8 MB, free: 51.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.2503, allocations: 57.03 kB / 436.9 MB, free: 51.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002234/0.2526, allocations: 0.8634 MB / 437.8 MB, free: 50.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2526, allocations: 0 / 437.8 MB, free: 50.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002541/0.2551, allocations: 0.6015 MB / 438.4 MB, free: 49.95 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.0002791/0.2554, allocations: 161.7 kB / 438.5 MB, free: 49.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.2577, allocations: 1.605 MB / 440.1 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2577, allocations: 4.812 kB / 440.1 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.2581, allocations: 334.9 kB / 440.5 MB, free: 48.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.2592, allocations: 279.2 kB / 440.7 MB, free: 47.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.2658, allocations: 5.489 MB / 446.2 MB, free: 42.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.2666, allocations: 0.8994 MB / 447.1 MB, free: 41.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001709/0.2683, allocations: 0.9326 MB / 448.1 MB, free: 41.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.2686, allocations: 151.5 kB / 448.2 MB, free: 41.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2687, allocations: 0 / 448.2 MB, free: 41.3 MB / 330.7 MB Notification: Performance of Templates: time 0.02391/0.2926, allocations: 17.52 MB / 465.7 MB, free: 24.35 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.490748926065862]