Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002628/0.002628, allocations: 360.8 kB / 15.95 MB, free: 6.207 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.202/4.202, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.003538/0.003538, allocations: 241.9 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.5302/0.5302, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006532, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1425, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.6446, allocations: 95.48 MB / 0.7733 GB, free: 5.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.645, allocations: 84.45 kB / 0.7734 GB, free: 5.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4228/1.068, allocations: 84.05 MB / 0.8555 GB, free: 9.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.386e-06/1.068, allocations: 0 / 0.8555 GB, free: 9.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002251/1.068, allocations: 72 kB / 0.8556 GB, free: 9.344 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01596/1.084, allocations: 3.646 MB / 0.8591 GB, free: 5.633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.084, allocations: 19.91 kB / 0.8591 GB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0284/1.113, allocations: 3.473 MB / 0.8625 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/1.124, allocations: 3.09 MB / 0.8655 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004935/1.125, allocations: 299.6 kB / 0.8658 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/1.127, allocations: 391.8 kB / 0.8662 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/1.161, allocations: 9.901 MB / 0.8759 GB, free: 3.977 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.162, allocations: 23.72 kB / 0.8759 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/1.164, allocations: 179.9 kB / 0.8761 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/1.167, allocations: 1.168 MB / 0.8772 GB, free: 2.609 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/1.199, allocations: 9.358 MB / 0.8864 GB, free: 9.242 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4636/1.663, allocations: 32.38 MB / 0.918 GB, free: 97.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/1.676, allocations: 3.355 MB / 0.9213 GB, free: 96.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/1.68, allocations: 1.073 MB / 0.9223 GB, free: 96.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/1.683, allocations: 1.317 MB / 0.9236 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/1.683, allocations: 48.69 kB / 0.9236 GB, free: 94.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=187): time 7.434e-06/1.683, allocations: 0 / 0.9236 GB, free: 94.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.0459/1.729, allocations: 9.758 MB / 0.9332 GB, free: 92.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.729, allocations: 100.7 kB / 0.9333 GB, free: 92.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/1.735, allocations: 2.632 MB / 0.9358 GB, free: 92.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.735, allocations: 51.81 kB / 0.9359 GB, free: 92.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.738, allocations: 2.731 MB / 0.9385 GB, free: 91.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.739, allocations: 0.7113 MB / 0.9392 GB, free: 90.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.74, allocations: 95.03 kB / 0.9393 GB, free: 90.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004211/1.74, allocations: 0.5146 MB / 0.9398 GB, free: 90.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005044/1.745, allocations: 1.533 MB / 0.9413 GB, free: 90.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007766/1.753, allocations: 4.438 MB / 0.9457 GB, free: 86.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00774/1.761, allocations: 2.619 MB / 0.9482 GB, free: 86.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.761, allocations: 30.34 kB / 0.9482 GB, free: 86.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01994/1.781, allocations: 5.87 MB / 0.954 GB, free: 84.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.781, allocations: 47.94 kB / 0.954 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/1.781, allocations: 98.62 kB / 0.9541 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/1.782, allocations: 199.2 kB / 0.9543 GB, free: 84.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008286/1.79, allocations: 1.085 MB / 0.9554 GB, free: 84.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/1.793, allocations: 1.67 MB / 0.957 GB, free: 83.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/1.799, allocations: 218.1 kB / 0.9572 GB, free: 83.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.8, allocations: 297.3 kB / 0.9575 GB, free: 83.24 MB / 474.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.005135/1.805, allocations: 2.021 MB / 0.9595 GB, free: 82.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/1.806, allocations: 248 kB / 0.9597 GB, free: 82.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/1.812, allocations: 2.535 MB / 0.9622 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/1.812, allocations: 20.53 kB / 0.9622 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/1.812, allocations: 8.094 kB / 0.9622 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/1.812, allocations: 6.844 kB / 0.9622 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.832, allocations: 8.183 MB / 0.9702 GB, free: 78.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.832, allocations: 8.344 kB / 0.9702 GB, free: 78.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.834, allocations: 260.9 kB / 0.9705 GB, free: 78.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/1.834, allocations: 58.12 kB / 0.9705 GB, free: 78.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.834, allocations: 45.55 kB / 0.9706 GB, free: 78.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.836, allocations: 1.487 MB / 0.972 GB, free: 76.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.836, allocations: 19.69 kB / 0.972 GB, free: 76.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007777/1.843, allocations: 4.038 MB / 0.976 GB, free: 75.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.845, allocations: 0.5042 MB / 0.9765 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004566/1.845, allocations: 44.69 kB / 0.9765 GB, free: 74.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.847, allocations: 52.36 kB / 0.9766 GB, free: 74.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/1.847, allocations: 133.9 kB / 0.9767 GB, free: 74.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.847, allocations: 67.58 kB / 0.9768 GB, free: 74.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003347/1.851, allocations: 1.598 MB / 0.9783 GB, free: 74.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.851, allocations: 0 / 0.9783 GB, free: 74.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005581/1.856, allocations: 0.8178 MB / 0.9791 GB, free: 73.96 MB / 474.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.0006023/1.857, allocations: 174.3 kB / 0.9793 GB, free: 73.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008446/1.865, allocations: 3.843 MB / 0.983 GB, free: 72.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.866, allocations: 8.094 kB / 0.983 GB, free: 72.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.868, allocations: 1.246 MB / 0.9843 GB, free: 72.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.871, allocations: 329.9 kB / 0.9846 GB, free: 71.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.894, allocations: 10.43 MB / 0.9948 GB, free: 63.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007178/1.902, allocations: 3.278 MB / 0.998 GB, free: 60.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007374/1.909, allocations: 1.726 MB / 0.9996 GB, free: 59.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009755/1.91, allocations: 186.8 kB / 0.9998 GB, free: 59.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/1.91, allocations: 0 / 0.9998 GB, free: 59.28 MB / 474.7 MB Notification: Performance of Templates: time 0.08544/1.996, allocations: 21.97 MB / 1.021 GB, free: 43.4 MB / 474.7 MB