Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004261/0.004267, allocations: 350.4 kB / 15.94 MB, free: 6.215 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.539/3.539, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003572/0.003572, allocations: 213.6 kB / 397.9 MB, free: 4.973 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.4626/0.4626, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004642, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08963, allocations: 48.69 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5467, allocations: 88.78 MB / 0.6934 GB, free: 23.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5471, allocations: 82.11 kB / 0.6935 GB, free: 23.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7252/1.272, allocations: 84.05 MB / 0.7756 GB, free: 89.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.138e-06/1.272, allocations: 6.156 kB / 0.7756 GB, free: 89.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003078/1.273, allocations: 72.83 kB / 0.7757 GB, free: 89.53 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.0193/1.292, allocations: 3.637 MB / 0.7792 GB, free: 87.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/1.292, allocations: 10.5 kB / 0.7792 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03109/1.323, allocations: 3.481 MB / 0.7826 GB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.334, allocations: 3.09 MB / 0.7856 GB, free: 87.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/1.334, allocations: 301.2 kB / 0.7859 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/1.337, allocations: 385.6 kB / 0.7863 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/1.369, allocations: 9.913 MB / 0.796 GB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/1.369, allocations: 21.88 kB / 0.796 GB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/1.372, allocations: 175.2 kB / 0.7962 GB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.374, allocations: 1.172 MB / 0.7973 GB, free: 85.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/1.404, allocations: 9.359 MB / 0.8065 GB, free: 84.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09779/1.502, allocations: 32.38 MB / 0.8381 GB, free: 64.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/1.514, allocations: 3.362 MB / 0.8414 GB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/1.517, allocations: 1.075 MB / 0.8424 GB, free: 61.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/1.519, allocations: 1.311 MB / 0.8437 GB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/1.519, allocations: 55.81 kB / 0.8437 GB, free: 60.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=187): time 7.734e-06/1.519, allocations: 0 / 0.8437 GB, free: 60.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.04631/1.566, allocations: 9.758 MB / 0.8533 GB, free: 51.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.566, allocations: 90.42 kB / 0.8534 GB, free: 51.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006933/1.573, allocations: 2.629 MB / 0.8559 GB, free: 49.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004134/1.573, allocations: 53.7 kB / 0.856 GB, free: 49.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002862/1.576, allocations: 2.726 MB / 0.8586 GB, free: 46.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.577, allocations: 0.7072 MB / 0.8593 GB, free: 46.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006527/1.578, allocations: 96 kB / 0.8594 GB, free: 46.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005659/1.579, allocations: 0.5206 MB / 0.8599 GB, free: 45.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/1.584, allocations: 1.538 MB / 0.8614 GB, free: 44.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/1.591, allocations: 4.423 MB / 0.8658 GB, free: 38.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005697/1.597, allocations: 2.627 MB / 0.8683 GB, free: 36.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.05e-05/1.597, allocations: 28 kB / 0.8683 GB, free: 36.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01449/1.611, allocations: 5.872 MB / 0.8741 GB, free: 30.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/1.611, allocations: 52.03 kB / 0.8741 GB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/1.611, allocations: 100 kB / 0.8742 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/1.612, allocations: 193.8 kB / 0.8744 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.618, allocations: 1.088 MB / 0.8755 GB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/1.62, allocations: 1.671 MB / 0.8771 GB, free: 27.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.624, allocations: 219.8 kB / 0.8773 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009605/1.625, allocations: 297.5 kB / 0.8776 GB, free: 27.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004773/1.63, allocations: 2.027 MB / 0.8796 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/1.631, allocations: 244.8 kB / 0.8798 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006013/1.637, allocations: 2.529 MB / 0.8823 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/1.637, allocations: 20 kB / 0.8823 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.637, allocations: 4 kB / 0.8823 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/1.637, allocations: 11.92 kB / 0.8823 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.657, allocations: 8.169 MB / 0.8903 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.657, allocations: 8 kB / 0.8903 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.66, allocations: 261 kB / 0.8905 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/1.66, allocations: 69.44 kB / 0.8906 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.66, allocations: 40.94 kB / 0.8907 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.662, allocations: 1.497 MB / 0.8921 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/1.662, allocations: 15.94 kB / 0.8921 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.674, allocations: 4.05 MB / 0.8961 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.676, allocations: 0.5016 MB / 0.8966 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.677, allocations: 32 kB / 0.8966 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.68, allocations: 59.95 kB / 0.8967 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/1.681, allocations: 131.4 kB / 0.8968 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.681, allocations: 60 kB / 0.8968 GB, free: 6.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01808/1.699, allocations: 1.607 MB / 0.8984 GB, free: 5.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.699, allocations: 1.594 kB / 0.8984 GB, free: 5.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01685/1.716, allocations: 0.8195 MB / 0.8992 GB, free: 4.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.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 (142): * Single equations (assignments): 135 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009307/1.717, allocations: 177.7 kB / 0.8994 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0224/1.739, allocations: 3.848 MB / 0.9031 GB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.471e-05/1.74, allocations: 4 kB / 0.9031 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004891/1.744, allocations: 1.237 MB / 0.9044 GB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/1.75, allocations: 329.4 kB / 0.9047 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04133/1.791, allocations: 10.44 MB / 0.9149 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/1.803, allocations: 3.266 MB / 0.9181 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.4054/2.209, allocations: 1.726 MB / 0.9197 GB, free: 89.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/2.21, allocations: 185.4 kB / 0.9199 GB, free: 89.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/2.21, allocations: 0 / 0.9199 GB, free: 89.13 MB / 426.7 MB Notification: Performance of Templates: time 0.07739/2.287, allocations: 21.96 MB / 0.9414 GB, free: 88.46 MB / 426.7 MB