Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002687/0.002692, allocations: 348 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.672/3.672, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003633/0.003633, allocations: 214.1 kB / 397.8 MB, free: 4.965 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.5569/0.5569, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000636/0.0006363, allocations: 15.98 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09315, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5124, allocations: 90.53 MB / 0.6951 GB, free: 22.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5127, allocations: 79.95 kB / 0.6952 GB, free: 22.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1443/0.657, allocations: 33.28 MB / 0.7277 GB, free: 5.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6571, allocations: 0 / 0.7277 GB, free: 5.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.6572, allocations: 28 kB / 0.7277 GB, free: 5.168 MB / 378.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.006766/0.664, allocations: 1.795 MB / 0.7295 GB, free: 3.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6641, allocations: 8.031 kB / 0.7295 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.6675, allocations: 365.8 kB / 0.7299 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/0.6736, allocations: 1.808 MB / 0.7316 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.6738, allocations: 106.8 kB / 0.7317 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000664/0.6745, allocations: 144 kB / 0.7319 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009726/0.6842, allocations: 2.862 MB / 0.7347 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.024e-05/0.6843, allocations: 19.78 kB / 0.7347 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.6846, allocations: 67.98 kB / 0.7347 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007504/0.6854, allocations: 262 kB / 0.735 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008489/0.6939, allocations: 2.059 MB / 0.737 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0231/0.717, allocations: 11.22 MB / 0.748 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/0.7238, allocations: 1.09 MB / 0.749 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.7248, allocations: 373.7 kB / 0.7494 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005659/0.7305, allocations: 2.61 MB / 0.7519 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.7307, allocations: 42.52 kB / 0.752 GB, free: 11.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.988e-06/0.7307, allocations: 0 / 0.752 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.0203/0.751, allocations: 3.528 MB / 0.7554 GB, free: 7.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.7511, allocations: 81.55 kB / 0.7555 GB, free: 7.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.7535, allocations: 1.185 MB / 0.7566 GB, free: 6.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7536, allocations: 33.7 kB / 0.7567 GB, free: 6.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009157/0.7546, allocations: 0.9277 MB / 0.7576 GB, free: 5.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.7548, allocations: 197.4 kB / 0.7578 GB, free: 5.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.7549, allocations: 32 kB / 0.7578 GB, free: 5.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7551, allocations: 361.9 kB / 0.7581 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.7563, allocations: 387.7 kB / 0.7585 GB, free: 4.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.7581, allocations: 1.21 MB / 0.7597 GB, free: 3.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.7598, allocations: 0.648 MB / 0.7603 GB, free: 2.359 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.7599, allocations: 8 kB / 0.7603 GB, free: 2.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004502/0.7644, allocations: 1.642 MB / 0.7619 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.7645, allocations: 16.97 kB / 0.762 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/0.7645, allocations: 40.48 kB / 0.762 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.7649, allocations: 92.83 kB / 0.7621 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.767, allocations: 343.3 kB / 0.7624 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3423/1.109, allocations: 1.698 MB / 0.7641 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.111, allocations: 65.86 kB / 0.7641 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/1.111, allocations: 86.17 kB / 0.7642 GB, free: 103.5 MB / 410.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.001657/1.113, allocations: 0.6306 MB / 0.7648 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/1.113, allocations: 112.8 kB / 0.7649 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.116, allocations: 0.6638 MB / 0.7656 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.116, allocations: 5.781 kB / 0.7656 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.116, allocations: 4.266 kB / 0.7656 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.116, allocations: 2.625 kB / 0.7656 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/1.122, allocations: 2.147 MB / 0.7677 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.122, allocations: 7.359 kB / 0.7677 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/1.122, allocations: 91.33 kB / 0.7678 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/1.123, allocations: 67.58 kB / 0.7679 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/1.123, allocations: 11.09 kB / 0.7679 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/1.125, allocations: 1.738 MB / 0.7696 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.125, allocations: 8.422 kB / 0.7696 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/1.128, allocations: 1.012 MB / 0.7706 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007014/1.129, allocations: 213.9 kB / 0.7708 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.129, allocations: 15.98 kB / 0.7708 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/1.13, allocations: 26.75 kB / 0.7708 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.13, allocations: 40.56 kB / 0.7708 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.13, allocations: 15.88 kB / 0.7709 GB, free: 101.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00175/1.132, allocations: 0.7577 MB / 0.7716 GB, free: 101.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.52e-07/1.132, allocations: 0 / 0.7716 GB, free: 101.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002232/1.134, allocations: 296.9 kB / 0.7719 GB, free: 101.1 MB / 410.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.0003126/1.135, allocations: 131.8 kB / 0.772 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/1.137, allocations: 1.037 MB / 0.773 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.137, allocations: 1.375 kB / 0.773 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/1.138, allocations: 378.3 kB / 0.7734 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.14, allocations: 168.1 kB / 0.7735 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/1.147, allocations: 3.258 MB / 0.7767 GB, free: 99.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.149, allocations: 1.464 MB / 0.7782 GB, free: 98.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002036/1.151, allocations: 394.6 kB / 0.7785 GB, free: 98.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.152, allocations: 77.44 kB / 0.7786 GB, free: 98.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.152, allocations: 0 / 0.7786 GB, free: 98.53 MB / 410.7 MB Notification: Performance of Templates: time 0.03443/1.186, allocations: 9.46 MB / 0.7878 GB, free: 98.17 MB / 410.7 MB