Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004577/0.004583, allocations: 347 kB / 15.93 MB, free: 6.219 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.991/3.991, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003563/0.003564, allocations: 225.4 kB / 397.9 MB, free: 4.887 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.6819/0.6819, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007488/0.0007492, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09178, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5282, allocations: 76.75 MB / 0.6817 GB, free: 35.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5285, allocations: 70.66 kB / 0.6817 GB, free: 35.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05449/0.583, allocations: 11.44 MB / 0.6929 GB, free: 24.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.583, allocations: 0 / 0.6929 GB, free: 24.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.5831, allocations: 8 kB / 0.6929 GB, free: 24.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003403/0.5865, allocations: 0.9028 MB / 0.6938 GB, free: 23.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5866, allocations: 8.219 kB / 0.6938 GB, free: 23.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.5868, allocations: 61.25 kB / 0.6939 GB, free: 23.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.5874, allocations: 349.1 kB / 0.6942 GB, free: 23.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.5879, allocations: 279 kB / 0.6945 GB, free: 23.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.588, allocations: 36 kB / 0.6945 GB, free: 22.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.5917, allocations: 0.809 MB / 0.6953 GB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5918, allocations: 4 kB / 0.6953 GB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.5919, allocations: 16 kB / 0.6953 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5919, allocations: 8 kB / 0.6953 GB, free: 22.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006723/0.5986, allocations: 1.321 MB / 0.6966 GB, free: 20.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.6026, allocations: 1.402 MB / 0.698 GB, free: 19.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/0.6077, allocations: 0.8733 MB / 0.6988 GB, free: 18.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.6108, allocations: 0.5571 MB / 0.6994 GB, free: 17.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.611, allocations: 4.562 kB / 0.6994 GB, free: 17.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.611, allocations: 47.67 kB / 0.6994 GB, free: 17.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.316e-06/0.611, allocations: 0 / 0.6994 GB, free: 17.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2108/0.8219, allocations: 18.27 MB / 0.7173 GB, free: 15.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.822, allocations: 94.19 kB / 0.7174 GB, free: 15.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8232, allocations: 354.8 kB / 0.7177 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004916/0.8237, allocations: 49.7 kB / 0.7177 GB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.8239, allocations: 181.4 kB / 0.7179 GB, free: 14.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009971/0.825, allocations: 410 kB / 0.7183 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.8253, allocations: 21.5 kB / 0.7183 GB, free: 14.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003035/0.8257, allocations: 366.8 kB / 0.7187 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01215/0.8379, allocations: 1.463 MB / 0.7201 GB, free: 12.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/0.8502, allocations: 1.565 MB / 0.7216 GB, free: 10.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/0.8586, allocations: 1.293 MB / 0.7229 GB, free: 9.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.8587, allocations: 0 / 0.7229 GB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01594/0.8746, allocations: 3.021 MB / 0.7258 GB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.8747, allocations: 7.938 kB / 0.7259 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8747, allocations: 0 / 0.7259 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.8748, allocations: 8 kB / 0.7259 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/0.8803, allocations: 455.4 kB / 0.7263 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.913e-05/0.8804, allocations: 7.938 kB / 0.7263 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/0.8845, allocations: 283.6 kB / 0.7266 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.8848, allocations: 39.98 kB / 0.7266 GB, free: 5.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007635/0.8856, allocations: 219.7 kB / 0.7268 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.886, allocations: 59.25 kB / 0.7269 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.8863, allocations: 111.5 kB / 0.727 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.8864, allocations: 12 kB / 0.727 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.8864, allocations: 0 / 0.727 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.8864, allocations: 3.984 kB / 0.727 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02957/0.916, allocations: 5.59 MB / 0.7325 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.9161, allocations: 20 kB / 0.7325 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003191/0.9193, allocations: 415.4 kB / 0.7329 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.624e-05/0.9194, allocations: 28 kB / 0.7329 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.9196, allocations: 51.95 kB / 0.7329 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-05/0.9196, allocations: 39.86 kB / 0.733 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.118e-05/0.9196, allocations: 31.88 kB / 0.733 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.9351, allocations: 3.449 MB / 0.7364 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/0.9358, allocations: 244.4 kB / 0.7366 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.9361, allocations: 47.98 kB / 0.7367 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/0.9386, allocations: 255.7 kB / 0.7369 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007457/0.9394, allocations: 239.2 kB / 0.7371 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.9395, allocations: 56 kB / 0.7372 GB, free: 10.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.94, allocations: 249.9 kB / 0.7374 GB, free: 10.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.94, allocations: 4 kB / 0.7374 GB, free: 10.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001389/0.9414, allocations: 232 kB / 0.7377 GB, free: 9.898 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/0.9418, allocations: 176.9 kB / 0.7378 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/0.9545, allocations: 2.57 MB / 0.7403 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/0.9546, allocations: 4 kB / 0.7403 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006978/0.9616, allocations: 1.207 MB / 0.7415 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.9636, allocations: 144.6 kB / 0.7417 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.9707, allocations: 2.12 MB / 0.7437 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.9715, allocations: 0.928 MB / 0.7446 GB, free: 2.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002363/0.9739, allocations: 185 kB / 0.7448 GB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.9751, allocations: 71.34 kB / 0.7449 GB, free: 2.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.715e-06/0.9751, allocations: 0 / 0.7449 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Templates: time 0.04641/1.022, allocations: 14.79 MB / 0.7593 GB, free: 3.477 MB / 410.7 MB