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.001918/0.001918, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001389/0.001389, allocations: 173 kB / 23.49 MB, free: 1.059 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.03462/0.03462, allocations: 7.184 MB / 267.5 MB, free: 6.113 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.653e-06/1.653e-06, allocations: 0 / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.446e-05, allocations: 4.562 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.006607/0.006631, allocations: 7.986 MB / 346.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.009775, allocations: 2.506 MB / 349.4 MB, free: 8 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.01031, allocations: 31.98 kB / 349.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.01093, allocations: 373.4 kB / 349.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.01275, allocations: 1.415 MB / 351.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.01299, allocations: 127.5 kB / 351.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.01496, allocations: 2.507 MB / 353.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.01862, allocations: 0.7133 MB / 354.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.02106, allocations: 1.34 MB / 355.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.02311, allocations: 1.286 MB / 357.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006166/0.02373, allocations: 228 kB / 357.4 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.02528, allocations: 0.7957 MB / 358.2 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.02651, allocations: 1.266 MB / 359.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.02808, allocations: 0.8019 MB / 360.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.03317, allocations: 3.272 MB / 363.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.03318, allocations: 0 / 363.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.03318, allocations: 0 / 363.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.03329, allocations: 0 / 363.5 MB, free: 1.801 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.004546/0.03784, allocations: 3.563 MB / 367.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.03788, allocations: 8.031 kB / 367.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.0424, allocations: 2.226 MB / 369.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.044, allocations: 1.201 MB / 370.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.04409, allocations: 143.9 kB / 370.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.04435, allocations: 196.1 kB / 370.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/0.04993, allocations: 4.029 MB / 374.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.04998, allocations: 16.06 kB / 374.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.05017, allocations: 96.22 kB / 375 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.05213, allocations: 1.981 MB / 377 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.0578, allocations: 2.326 MB / 379.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.07801, allocations: 24.92 MB / 404.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.08041, allocations: 1.004 MB / 405.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.08083, allocations: 282.8 kB / 405.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/0.08393, allocations: 2.353 MB / 407.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.08396, allocations: 54.39 kB / 407.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.226e-06/0.08396, allocations: 0 / 407.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.005002/0.08897, allocations: 2.883 MB / 410.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.08901, allocations: 64.41 kB / 410.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1233/0.2123, allocations: 1.938 MB / 412.8 MB, free: 64.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.2124, allocations: 41.27 kB / 412.8 MB, free: 64.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009303/0.2134, allocations: 2.318 MB / 415.1 MB, free: 63.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.2137, allocations: 0.5025 MB / 415.6 MB, free: 63.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.2144, allocations: 0.8217 MB / 416.5 MB, free: 63.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.2145, allocations: 0.5165 MB / 417 MB, free: 62.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.2152, allocations: 402.4 kB / 417.4 MB, free: 62.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.2166, allocations: 3.553 MB / 420.9 MB, free: 58.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.2191, allocations: 4.328 MB / 425.2 MB, free: 54.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/0.2191, allocations: 21.16 kB / 425.3 MB, free: 54.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.003942/0.223, allocations: 3.074 MB / 428.3 MB, free: 54.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.2231, allocations: 37.59 kB / 428.4 MB, free: 54.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-05/0.2232, allocations: 75.16 kB / 428.4 MB, free: 54.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.2233, allocations: 102.4 kB / 428.5 MB, free: 54.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.2251, allocations: 0.8482 MB / 429.4 MB, free: 54.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.333e-05/0.2252, allocations: 153.3 kB / 429.5 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.2266, allocations: 183.3 kB / 429.7 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.2269, allocations: 229.8 kB / 430 MB, free: 54.16 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.0008185/0.2277, allocations: 462.5 kB / 430.4 MB, free: 53.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.2279, allocations: 214.1 kB / 430.6 MB, free: 53.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2289, allocations: 0.7292 MB / 431.3 MB, free: 53.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.282e-05/0.229, allocations: 32.33 kB / 431.4 MB, free: 53.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.229, allocations: 7.688 kB / 431.4 MB, free: 53.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.229, allocations: 4.219 kB / 431.4 MB, free: 53.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.2334, allocations: 3.499 MB / 434.9 MB, free: 52.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2334, allocations: 8.406 kB / 434.9 MB, free: 52.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.2339, allocations: 197.2 kB / 435.1 MB, free: 52.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.2339, allocations: 10.81 kB / 435.1 MB, free: 52.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.2339, allocations: 30.3 kB / 435.1 MB, free: 52.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.2339, allocations: 14.42 kB / 435.1 MB, free: 52.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.2339, allocations: 11.22 kB / 435.1 MB, free: 52.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.2352, allocations: 1.36 MB / 436.5 MB, free: 51.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2355, allocations: 173 kB / 436.7 MB, free: 51.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.2356, allocations: 26.2 kB / 436.7 MB, free: 51.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.236, allocations: 46.73 kB / 436.7 MB, free: 51.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.2361, allocations: 87.09 kB / 436.8 MB, free: 51.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.2361, allocations: 44.64 kB / 436.9 MB, free: 51.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008273/0.2369, allocations: 0.8617 MB / 437.7 MB, free: 51.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2369, allocations: 0 / 437.7 MB, free: 51.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002268/0.2392, allocations: 0.6043 MB / 438.3 MB, free: 50.46 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.0003134/0.2395, allocations: 160.5 kB / 438.5 MB, free: 50.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.2421, allocations: 1.615 MB / 440.1 MB, free: 48.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2421, allocations: 0 / 440.1 MB, free: 48.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.2425, allocations: 333.9 kB / 440.4 MB, free: 48.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2436, allocations: 270.7 kB / 440.7 MB, free: 48.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/0.2511, allocations: 5.501 MB / 446.2 MB, free: 43.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.252, allocations: 0.896 MB / 447.1 MB, free: 42.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00181/0.2538, allocations: 0.9347 MB / 448 MB, free: 41.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.2541, allocations: 147.8 kB / 448.2 MB, free: 41.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2541, allocations: 4 kB / 448.2 MB, free: 41.81 MB / 330.7 MB Notification: Performance of Templates: time 0.02921/0.2833, allocations: 17.51 MB / 465.7 MB, free: 24.88 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.456428241916001]