Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004368/0.004375, allocations: 360 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.082/4.082, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.00353/0.00353, allocations: 222.1 kB / 451 MB, free: 145 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.4923/0.4923, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006309, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5659, allocations: 96.94 MB / 0.7747 GB, free: 4.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5662, allocations: 82.64 kB / 0.7748 GB, free: 4.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2659/0.8321, allocations: 64.23 MB / 0.8375 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8321, allocations: 3.844 kB / 0.8376 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001961/0.8323, allocations: 64 kB / 0.8376 GB, free: 12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01329/0.8457, allocations: 3.359 MB / 0.8409 GB, free: 8.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8457, allocations: 12.03 kB / 0.8409 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.8603, allocations: 1.968 MB / 0.8428 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006903/0.8672, allocations: 1.943 MB / 0.8447 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.8677, allocations: 283.2 kB / 0.845 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.87, allocations: 363.8 kB / 0.8453 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/0.9057, allocations: 10.36 MB / 0.8555 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/0.906, allocations: 55.61 kB / 0.8555 GB, free: 8.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.9078, allocations: 175.9 kB / 0.8557 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.9105, allocations: 0.9822 MB / 0.8566 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/0.942, allocations: 8.884 MB / 0.8653 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4118/1.354, allocations: 43.28 MB / 0.9076 GB, free: 93.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/1.372, allocations: 3.905 MB / 0.9114 GB, free: 92.37 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004822/1.377, allocations: 2.22 MB / 0.9136 GB, free: 92.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/1.389, allocations: 5.094 MB / 0.9185 GB, free: 90.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.389, allocations: 48.41 kB / 0.9186 GB, free: 90.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=161): time 6.062e-06/1.389, allocations: 4.938 kB / 0.9186 GB, free: 90.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=204): time 0.1406/1.53, allocations: 26.46 MB / 0.9444 GB, free: 87.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/1.53, allocations: 152.5 kB / 0.9446 GB, free: 87.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/1.536, allocations: 3.15 MB / 0.9476 GB, free: 86.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005535/1.537, allocations: 57.45 kB / 0.9477 GB, free: 86.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/1.539, allocations: 2.587 MB / 0.9502 GB, free: 84.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.541, allocations: 0.7648 MB / 0.951 GB, free: 84.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007536/1.541, allocations: 111.1 kB / 0.9511 GB, free: 83.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/1.542, allocations: 0.5407 MB / 0.9516 GB, free: 83.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006025/1.548, allocations: 2.466 MB / 0.954 GB, free: 82.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008282/1.556, allocations: 5.659 MB / 0.9595 GB, free: 77.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/1.565, allocations: 3.676 MB / 0.9631 GB, free: 76.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.915e-05/1.565, allocations: 29.5 kB / 0.9632 GB, free: 76.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.03229/1.598, allocations: 8.711 MB / 0.9717 GB, free: 73.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/1.598, allocations: 53.69 kB / 0.9717 GB, free: 73.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.598, allocations: 114.9 kB / 0.9718 GB, free: 73.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007252/1.606, allocations: 1.045 MB / 0.9728 GB, free: 72.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/1.619, allocations: 1.305 MB / 0.9741 GB, free: 72.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.631, allocations: 5.368 MB / 0.9794 GB, free: 67.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009954/1.641, allocations: 311.6 kB / 0.9797 GB, free: 67.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.643, allocations: 334.6 kB / 0.98 GB, free: 67.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00589/1.649, allocations: 1.84 MB / 0.9818 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009809/1.65, allocations: 288.2 kB / 0.982 GB, free: 65.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.662, allocations: 4.359 MB / 0.9863 GB, free: 61.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/1.663, allocations: 27.95 kB / 0.9863 GB, free: 61.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.663, allocations: 4 kB / 0.9863 GB, free: 61.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/1.663, allocations: 10.73 kB / 0.9863 GB, free: 61.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02676/1.689, allocations: 9.345 MB / 0.9955 GB, free: 53.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/1.69, allocations: 3.703 kB / 0.9955 GB, free: 53.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003822/1.693, allocations: 355.4 kB / 0.9958 GB, free: 53.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004329/1.698, allocations: 0.8704 MB / 0.9967 GB, free: 52.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005207/1.698, allocations: 39.14 kB / 0.9967 GB, free: 52.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/1.705, allocations: 4.727 MB / 1.001 GB, free: 48.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.705, allocations: 0 / 1.001 GB, free: 48.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.722, allocations: 7.605 MB / 1.009 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/1.724, allocations: 0.7191 MB / 1.009 GB, free: 40.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008461/1.725, allocations: 37.27 kB / 1.009 GB, free: 40.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.728, allocations: 115.8 kB / 1.01 GB, free: 40.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/1.728, allocations: 113.6 kB / 1.01 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.729, allocations: 52.27 kB / 1.01 GB, free: 40.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.733, allocations: 1.943 MB / 1.012 GB, free: 38.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.733, allocations: 0 / 1.012 GB, free: 38.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00706/1.74, allocations: 0.9384 MB / 1.013 GB, free: 37.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (171): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009678/1.741, allocations: 181.4 kB / 1.013 GB, free: 37.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01553/1.756, allocations: 6.393 MB / 1.019 GB, free: 31.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.757, allocations: 4 kB / 1.019 GB, free: 31.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006976/1.764, allocations: 2.688 MB / 1.022 GB, free: 28.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.767, allocations: 308.1 kB / 1.022 GB, free: 28.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.788, allocations: 10.43 MB / 1.032 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004465/1.793, allocations: 2.93 MB / 1.035 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007531/1.8, allocations: 1.854 MB / 1.037 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.802, allocations: 226.5 kB / 1.037 GB, free: 12.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/1.802, allocations: 0 / 1.037 GB, free: 12.67 MB / 474.7 MB Notification: Performance of Templates: time 0.1004/1.902, allocations: 34.57 MB / 1.071 GB, free: 10.61 MB / 0.4949 GB