Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004428/0.004434, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.917/3.917, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005504/0.005504, allocations: 222.1 kB / 397.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.663/0.663, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004623, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09201, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.507, allocations: 90.71 MB / 0.6953 GB, free: 22.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5074, allocations: 83.2 kB / 0.6954 GB, free: 21.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6915/1.199, allocations: 84.31 MB / 0.7777 GB, free: 85.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.199, allocations: 1.469 kB / 0.7777 GB, free: 85.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002895/1.199, allocations: 77.19 kB / 0.7778 GB, free: 85.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01715/1.216, allocations: 4.143 MB / 0.7818 GB, free: 84.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.216, allocations: 10 kB / 0.7819 GB, free: 84.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/1.236, allocations: 2.381 MB / 0.7842 GB, free: 83.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/1.249, allocations: 3.912 MB / 0.788 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/1.25, allocations: 324 kB / 0.7883 GB, free: 83.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/1.252, allocations: 432.5 kB / 0.7887 GB, free: 83.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03145/1.284, allocations: 10.42 MB / 0.7989 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/1.284, allocations: 70.62 kB / 0.799 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/1.285, allocations: 207 kB / 0.7992 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/1.288, allocations: 1.012 MB / 0.8001 GB, free: 80.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/1.314, allocations: 8.116 MB / 0.8081 GB, free: 79.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06719/1.381, allocations: 47.37 MB / 0.8543 GB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/1.393, allocations: 3.061 MB / 0.8573 GB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/1.396, allocations: 0.9856 MB / 0.8583 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/1.409, allocations: 5.159 MB / 0.8633 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/1.409, allocations: 57.94 kB / 0.8634 GB, free: 37.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 5.691e-06/1.409, allocations: 0 / 0.8634 GB, free: 37.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.03782/1.447, allocations: 8.968 MB / 0.8721 GB, free: 29.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/1.447, allocations: 192.9 kB / 0.8723 GB, free: 29.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009823/1.457, allocations: 4.08 MB / 0.8763 GB, free: 26.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.457, allocations: 44.91 kB / 0.8763 GB, free: 26.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003019/1.46, allocations: 3.148 MB / 0.8794 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/1.461, allocations: 0.5882 MB / 0.88 GB, free: 22.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007978/1.462, allocations: 120.9 kB / 0.8801 GB, free: 22.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004283/1.462, allocations: 0.5522 MB / 0.8807 GB, free: 22.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/1.467, allocations: 1.624 MB / 0.8822 GB, free: 20.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007826/1.475, allocations: 5.449 MB / 0.8876 GB, free: 13.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/1.483, allocations: 2.9 MB / 0.8904 GB, free: 11.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.483, allocations: 36 kB / 0.8904 GB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01975/1.503, allocations: 6.779 MB / 0.897 GB, free: 4.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.503, allocations: 63.95 kB / 0.8971 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.503, allocations: 136.9 kB / 0.8972 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/1.503, allocations: 200 kB / 0.8974 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008611/1.512, allocations: 1.415 MB / 0.8988 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002755/1.512, allocations: 267 kB / 0.8991 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.52, allocations: 379.5 kB / 0.8994 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.521, allocations: 371.3 kB / 0.8998 GB, free: 1.418 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 743 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005554/1.527, allocations: 2.005 MB / 0.9017 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000968/1.528, allocations: 347.5 kB / 0.9021 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/1.532, allocations: 1.252 MB / 0.9033 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/1.532, allocations: 21.27 kB / 0.9033 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.532, allocations: 0 / 0.9033 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.532, allocations: 7.969 kB / 0.9033 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.55, allocations: 5.555 MB / 0.9087 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/1.55, allocations: 12 kB / 0.9088 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.552, allocations: 259.6 kB / 0.909 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/1.552, allocations: 27.98 kB / 0.909 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.552, allocations: 44 kB / 0.9091 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.035e-05/1.552, allocations: 31.3 kB / 0.9091 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-05/1.552, allocations: 31.83 kB / 0.9091 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007116/1.559, allocations: 3.096 MB / 0.9122 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/1.562, allocations: 0.5277 MB / 0.9127 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.563, allocations: 43.98 kB / 0.9127 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.566, allocations: 83.92 kB / 0.9128 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.567, allocations: 137.1 kB / 0.9129 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.567, allocations: 59.98 kB / 0.913 GB, free: 3.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008162/1.575, allocations: 2.543 MB / 0.9155 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.575, allocations: 0 / 0.9155 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007447/1.582, allocations: 0.8916 MB / 0.9163 GB, free: 15.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (134): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007463/1.583, allocations: 199.7 kB / 0.9165 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.594, allocations: 3.672 MB / 0.9201 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/1.594, allocations: 5.625 kB / 0.9201 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.596, allocations: 0.6994 MB / 0.9208 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/1.601, allocations: 446.8 kB / 0.9212 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.627, allocations: 10.17 MB / 0.9312 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3156/1.943, allocations: 3.209 MB / 0.9343 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009714/1.953, allocations: 1.793 MB / 0.936 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.954, allocations: 236.6 kB / 0.9363 GB, free: 100.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.954, allocations: 0 / 0.9363 GB, free: 100.9 MB / 442.7 MB Notification: Performance of Templates: time 0.09411/2.048, allocations: 26.6 MB / 0.9623 GB, free: 99.98 MB / 442.7 MB