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.001337/0.001337, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001134/0.001134, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.02999/0.02999, allocations: 7.191 MB / 268.2 MB, free: 5.91 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.543e-06/1.543e-06, allocations: 0 / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.302e-05, allocations: 5.266 kB / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.006618/0.006641, allocations: 7.85 MB / 347.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.01189, allocations: 2.495 MB / 350.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.01309, allocations: 31.94 kB / 350.5 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.01388, allocations: 365.5 kB / 350.8 MB, free: 216 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.01658, allocations: 1.427 MB / 352.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.0169, allocations: 123.5 kB / 352.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.01908, allocations: 2.498 MB / 354.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.01988, allocations: 0.7171 MB / 355.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.02119, allocations: 1.336 MB / 356.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.02273, allocations: 1.293 MB / 358.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.02298, allocations: 228 kB / 358.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.024, allocations: 0.8035 MB / 359.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.02501, allocations: 1.254 MB / 360.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006523/0.02566, allocations: 0.8019 MB / 361.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.02846, allocations: 3.28 MB / 364.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.02846, allocations: 0 / 364.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02846, allocations: 0 / 364.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.0285, allocations: 0 / 364.6 MB, free: 2.395 MB / 330.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.004134/0.03264, allocations: 3.539 MB / 368.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.03268, allocations: 8.031 kB / 368.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.03587, allocations: 1.271 MB / 369.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.03735, allocations: 1.149 MB / 370.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.309e-05/0.03743, allocations: 147.9 kB / 370.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.0377, allocations: 184.2 kB / 370.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.04261, allocations: 3.673 MB / 374.5 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/0.04266, allocations: 24.05 kB / 374.6 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.04285, allocations: 96.22 kB / 374.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/0.04453, allocations: 1.778 MB / 376.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.04821, allocations: 1.859 MB / 378.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.06799, allocations: 24.04 MB / 402.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.07015, allocations: 0.9249 MB / 403.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.07047, allocations: 242.1 kB / 403.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00287/0.07334, allocations: 2.214 MB / 405.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.07337, allocations: 46.38 kB / 405.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 5.23e-06/0.07337, allocations: 4.109 kB / 405.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.005556/0.07893, allocations: 2.429 MB / 408.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.07897, allocations: 64.34 kB / 408.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.08073, allocations: 1.931 MB / 410.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.08079, allocations: 41.7 kB / 410.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.08213, allocations: 2.334 MB / 412.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.08251, allocations: 0.5079 MB / 413.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007706/0.08328, allocations: 0.8328 MB / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.08345, allocations: 0.5159 MB / 414.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.08388, allocations: 303.2 kB / 414.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.08604, allocations: 3.504 MB / 418.2 MB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.08937, allocations: 4.234 MB / 422.4 MB, free: 4.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.842e-05/0.0894, allocations: 20 kB / 422.5 MB, free: 4.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.00391/0.09332, allocations: 2.861 MB / 425.3 MB, free: 1.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.09336, allocations: 43.94 kB / 425.4 MB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/0.09341, allocations: 80.09 kB / 425.4 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.577e-05/0.09347, allocations: 100 kB / 425.5 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.09494, allocations: 0.8422 MB / 426.4 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-05/0.09501, allocations: 147.4 kB / 426.5 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.09643, allocations: 148 kB / 426.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.09688, allocations: 199.9 kB / 426.9 MB, free: 15.79 MB / 410.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 (springDamper.colorConnector_a[1],springDamper.colorConnector_a[2],springDamper.colorConnector_a[3],springDamper.colorConnector_b[1],springDamper.colorConnector_b[2],springDamper.colorConnector_b[3],springDamper.color[1],springDamper.color[2],springDamper.color[3],springDamper.color_a[1],springDamper.color_a[2],springDamper.color_a[3],springDamper.color_b[1],springDamper.color_b[2],springDamper.color_b[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * 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.0008926/0.09777, allocations: 461.2 kB / 427.3 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.09806, allocations: 214.7 kB / 427.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008796/0.09894, allocations: 0.6764 MB / 428.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.039e-05/0.09903, allocations: 23.98 kB / 428.2 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.09903, allocations: 0 / 428.2 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.09904, allocations: 3.984 kB / 428.2 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.1031, allocations: 2.715 MB / 430.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.1031, allocations: 8 kB / 431 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.1035, allocations: 179.8 kB / 431.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.1035, allocations: 12 kB / 431.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.1036, allocations: 31.98 kB / 431.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.1036, allocations: 15.94 kB / 431.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1036, allocations: 8.312 kB / 431.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.1048, allocations: 1.266 MB / 432.5 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.105, allocations: 178.7 kB / 432.6 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.1051, allocations: 27.98 kB / 432.7 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.1055, allocations: 35.91 kB / 432.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.1056, allocations: 84.36 kB / 432.8 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.1056, allocations: 39.98 kB / 432.8 MB, free: 9.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006809/0.1063, allocations: 0.7969 MB / 433.6 MB, free: 8.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1063, allocations: 0 / 433.6 MB, free: 8.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00215/0.1085, allocations: 0.6093 MB / 434.2 MB, free: 8.125 MB / 410.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.0002501/0.1087, allocations: 158.9 kB / 434.4 MB, free: 7.961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.1106, allocations: 1.503 MB / 435.9 MB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1106, allocations: 320 / 435.9 MB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.1109, allocations: 305.5 kB / 436.2 MB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.1117, allocations: 282.5 kB / 436.5 MB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.1192, allocations: 5.479 MB / 441.9 MB, free: 256 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1204/0.2397, allocations: 0.8903 MB / 442.8 MB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.2407, allocations: 291.9 kB / 443.1 MB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.2412, allocations: 389.3 kB / 443.5 MB, free: 129.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2412, allocations: 0 / 443.5 MB, free: 129.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02951/0.2707, allocations: 19.27 MB / 462.8 MB, free: 127.5 MB / 410.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.5505582951009274]