Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004215/0.004221, allocations: 361.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 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003633/0.003633, allocations: 222.5 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.5203/0.5203, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004809, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/0.6135, allocations: 97.22 MB / 0.775 GB, free: 4.301 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.6139, allocations: 85.08 kB / 0.7751 GB, free: 4.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1536/0.7675, allocations: 33.29 MB / 0.8076 GB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.7676, allocations: 0 / 0.8076 GB, free: 7.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001318/0.7677, allocations: 35.98 kB / 0.8077 GB, free: 7.086 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006753/0.7745, allocations: 1.789 MB / 0.8094 GB, free: 5.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.7746, allocations: 15.97 kB / 0.8094 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.778, allocations: 364.3 kB / 0.8098 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.7837, allocations: 1.804 MB / 0.8115 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.7839, allocations: 111.9 kB / 0.8116 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/0.7844, allocations: 138.9 kB / 0.8118 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009543/0.794, allocations: 2.867 MB / 0.8146 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/0.7942, allocations: 19.73 kB / 0.8146 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.7944, allocations: 66.66 kB / 0.8147 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007674/0.7952, allocations: 268.7 kB / 0.8149 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008499/0.8037, allocations: 2.049 MB / 0.8169 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/0.8241, allocations: 11.23 MB / 0.8279 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/0.8308, allocations: 1.091 MB / 0.8289 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.8319, allocations: 367.5 kB / 0.8293 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005635/0.8376, allocations: 2.622 MB / 0.8319 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.8377, allocations: 30.56 kB / 0.8319 GB, free: 1.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 4.899e-06/0.8377, allocations: 4 kB / 0.8319 GB, free: 1.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.02018/0.8579, allocations: 3.528 MB / 0.8353 GB, free: 13.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.858, allocations: 81.55 kB / 0.8354 GB, free: 13.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.8607, allocations: 1.181 MB / 0.8366 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.8609, allocations: 33.7 kB / 0.8366 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009154/0.8618, allocations: 0.9238 MB / 0.8375 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.8621, allocations: 201.4 kB / 0.8377 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.8622, allocations: 28 kB / 0.8377 GB, free: 11.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.8624, allocations: 369.9 kB / 0.8381 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8635, allocations: 383.7 kB / 0.8384 GB, free: 10.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.8652, allocations: 1.21 MB / 0.8396 GB, free: 8.832 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.8667, allocations: 0.6447 MB / 0.8402 GB, free: 8.191 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.8668, allocations: 11.95 kB / 0.8403 GB, free: 8.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004276/0.8711, allocations: 1.641 MB / 0.8419 GB, free: 6.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.8712, allocations: 23.92 kB / 0.8419 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/0.8712, allocations: 28 kB / 0.8419 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.8716, allocations: 92.83 kB / 0.842 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.8737, allocations: 339.8 kB / 0.8423 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.8759, allocations: 1.709 MB / 0.844 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.8775, allocations: 68.05 kB / 0.8441 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.8777, allocations: 87.98 kB / 0.8441 GB, free: 4.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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.00146/0.8791, allocations: 0.628 MB / 0.8448 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.8794, allocations: 110.6 kB / 0.8449 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.8813, allocations: 0.6605 MB / 0.8455 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8814, allocations: 8 kB / 0.8455 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8814, allocations: 3.938 kB / 0.8455 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.8814, allocations: 0 / 0.8455 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.8867, allocations: 2.158 MB / 0.8476 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.8867, allocations: 4 kB / 0.8476 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.8874, allocations: 91.83 kB / 0.8477 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.8878, allocations: 61.27 kB / 0.8478 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.8878, allocations: 19.98 kB / 0.8478 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.8901, allocations: 1.729 MB / 0.8495 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.8901, allocations: 7.938 kB / 0.8495 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.8925, allocations: 1.012 MB / 0.8505 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.8931, allocations: 219.6 kB / 0.8507 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.8932, allocations: 16 kB / 0.8507 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.8939, allocations: 23.97 kB / 0.8507 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.894, allocations: 40.08 kB / 0.8508 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.8941, allocations: 27.95 kB / 0.8508 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001697/0.8958, allocations: 0.7476 MB / 0.8515 GB, free: 12.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.777e-06/0.8959, allocations: 0 / 0.8515 GB, free: 12.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002149/0.898, allocations: 299.9 kB / 0.8518 GB, free: 11.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.8984, allocations: 139.2 kB / 0.8519 GB, free: 11.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.9011, allocations: 1.031 MB / 0.8529 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9012, allocations: 4 kB / 0.8529 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.9022, allocations: 374.4 kB / 0.8533 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.904, allocations: 177.3 kB / 0.8535 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.912, allocations: 3.254 MB / 0.8567 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.9139, allocations: 1.461 MB / 0.8581 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00192/0.9159, allocations: 397.4 kB / 0.8585 GB, free: 4.895 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.9162, allocations: 75.44 kB / 0.8585 GB, free: 4.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.9162, allocations: 0 / 0.8585 GB, free: 4.82 MB / 442.7 MB Notification: Performance of Templates: time 0.03432/0.9505, allocations: 9.467 MB / 0.8678 GB, free: 11.41 MB / 458.7 MB