Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004721/0.004727, allocations: 361.8 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.265/4.265, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003599/0.003599, allocations: 240.4 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5196/0.5196, allocations: 80.01 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.000753, allocations: 11.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1229, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.613, allocations: 97.41 MB / 0.7752 GB, free: 4.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6133, allocations: 81.83 kB / 0.7753 GB, free: 4.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4812/1.094, allocations: 84.33 MB / 0.8576 GB, free: 7.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.302e-06/1.095, allocations: 4 kB / 0.8576 GB, free: 7.371 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003861/1.095, allocations: 80 kB / 0.8577 GB, free: 7.293 MB / 442.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.02247/1.117, allocations: 4.137 MB / 0.8618 GB, free: 3.086 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.118, allocations: 12.03 kB / 0.8618 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/1.146, allocations: 2.377 MB / 0.8641 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/1.16, allocations: 3.909 MB / 0.8679 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005947/1.16, allocations: 328.4 kB / 0.8682 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/1.163, allocations: 431.8 kB / 0.8686 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03495/1.198, allocations: 10.43 MB / 0.8788 GB, free: 432 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003047/1.198, allocations: 63.41 kB / 0.8789 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/1.201, allocations: 211.9 kB / 0.8791 GB, free: 156 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/1.204, allocations: 1.01 MB / 0.8801 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02878/1.233, allocations: 8.116 MB / 0.888 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.469/1.702, allocations: 47.37 MB / 0.9343 GB, free: 73.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/1.72, allocations: 3.043 MB / 0.9372 GB, free: 72.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00378/1.724, allocations: 0.9768 MB / 0.9382 GB, free: 72.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/1.741, allocations: 5.167 MB / 0.9432 GB, free: 70.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/1.741, allocations: 50.92 kB / 0.9433 GB, free: 70.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 7.534e-06/1.741, allocations: 0 / 0.9433 GB, free: 70.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.04951/1.791, allocations: 8.968 MB / 0.952 GB, free: 67.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.791, allocations: 199.9 kB / 0.9522 GB, free: 67.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009624/1.801, allocations: 4.076 MB / 0.9562 GB, free: 66.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003311/1.801, allocations: 42.55 kB / 0.9562 GB, free: 66.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.804, allocations: 3.147 MB / 0.9593 GB, free: 65.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/1.805, allocations: 0.5947 MB / 0.9599 GB, free: 64.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/1.806, allocations: 125.1 kB / 0.96 GB, free: 64.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003793/1.806, allocations: 0.5515 MB / 0.9606 GB, free: 64.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/1.811, allocations: 1.626 MB / 0.9621 GB, free: 64.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.82, allocations: 5.444 MB / 0.9675 GB, free: 59.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007325/1.827, allocations: 2.91 MB / 0.9703 GB, free: 59.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.827, allocations: 37.09 kB / 0.9703 GB, free: 59.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01889/1.846, allocations: 6.775 MB / 0.977 GB, free: 56.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.846, allocations: 62.84 kB / 0.977 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/1.847, allocations: 136 kB / 0.9771 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/1.847, allocations: 195.1 kB / 0.9773 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008367/1.855, allocations: 1.419 MB / 0.9787 GB, free: 56.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003098/1.856, allocations: 272.1 kB / 0.979 GB, free: 56.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007003/1.863, allocations: 378.6 kB / 0.9793 GB, free: 56.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.864, allocations: 371.8 kB / 0.9797 GB, free: 56.51 MB / 474.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.005117/1.869, allocations: 2.012 MB / 0.9817 GB, free: 55.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000826/1.87, allocations: 341.8 kB / 0.982 GB, free: 55.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/1.873, allocations: 1.245 MB / 0.9832 GB, free: 54.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/1.873, allocations: 16.62 kB / 0.9832 GB, free: 54.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.874, allocations: 4 kB / 0.9832 GB, free: 54.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.874, allocations: 17.72 kB / 0.9832 GB, free: 54.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.888, allocations: 5.554 MB / 0.9887 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/1.889, allocations: 14.97 kB / 0.9887 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.89, allocations: 263.2 kB / 0.9889 GB, free: 52.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/1.89, allocations: 21.94 kB / 0.9889 GB, free: 52.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.89, allocations: 45.3 kB / 0.989 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-05/1.891, allocations: 30.69 kB / 0.989 GB, free: 52.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/1.891, allocations: 25.81 kB / 0.989 GB, free: 52.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/1.896, allocations: 3.094 MB / 0.9921 GB, free: 50.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.898, allocations: 0.5248 MB / 0.9926 GB, free: 50.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008983/1.899, allocations: 46.83 kB / 0.9926 GB, free: 50.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.901, allocations: 90.11 kB / 0.9927 GB, free: 50.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/1.902, allocations: 131.5 kB / 0.9928 GB, free: 49.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.902, allocations: 61.16 kB / 0.9929 GB, free: 49.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006865/1.909, allocations: 2.545 MB / 0.9954 GB, free: 49.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.673e-06/1.909, allocations: 3.844 kB / 0.9954 GB, free: 49.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006963/1.916, allocations: 0.8907 MB / 0.9963 GB, free: 49 MB / 474.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.0006959/1.916, allocations: 196.5 kB / 0.9964 GB, free: 48.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009872/1.926, allocations: 3.675 MB / 1 GB, free: 47.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/1.926, allocations: 0 / 1 GB, free: 47.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.928, allocations: 0.701 MB / 1.001 GB, free: 47.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.933, allocations: 444 kB / 1.001 GB, free: 47.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/1.956, allocations: 10.17 MB / 1.011 GB, free: 39.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00664/1.962, allocations: 3.227 MB / 1.014 GB, free: 37.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008148/1.971, allocations: 1.791 MB / 1.016 GB, free: 36.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.972, allocations: 238.8 kB / 1.016 GB, free: 36.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/1.972, allocations: 0 / 1.016 GB, free: 36.1 MB / 474.7 MB Notification: Performance of Templates: time 0.0846/2.056, allocations: 26.59 MB / 1.042 GB, free: 16.71 MB / 474.7 MB