Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002884/0.00289, allocations: 362.2 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.771/3.771, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003636/0.003636, allocations: 228.4 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.6943/0.6943, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.5942, allocations: 83.13 MB / 0.7613 GB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5945, allocations: 66.27 kB / 0.7613 GB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05666/0.6512, allocations: 11.45 MB / 0.7725 GB, free: 8.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6513, allocations: 0 / 0.7725 GB, free: 8.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.6513, allocations: 8 kB / 0.7725 GB, free: 8.266 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.003704/0.655, allocations: 0.9041 MB / 0.7734 GB, free: 7.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6551, allocations: 12.83 kB / 0.7734 GB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.6553, allocations: 55.44 kB / 0.7735 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.6561, allocations: 349.8 kB / 0.7738 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/0.6567, allocations: 274.1 kB / 0.7741 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.6569, allocations: 34.81 kB / 0.7741 GB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/0.6607, allocations: 0.8142 MB / 0.7749 GB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.6608, allocations: 3.984 kB / 0.7749 GB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.6609, allocations: 14.69 kB / 0.7749 GB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.6609, allocations: 8 kB / 0.7749 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008131/0.669, allocations: 1.324 MB / 0.7762 GB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.6745, allocations: 1.388 MB / 0.7776 GB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007481/0.6821, allocations: 0.8658 MB / 0.7784 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/0.6869, allocations: 0.5623 MB / 0.779 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.6871, allocations: 8.562 kB / 0.779 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.6872, allocations: 35.12 kB / 0.779 GB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 4.629e-06/0.6872, allocations: 0 / 0.779 GB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2405/0.9277, allocations: 18.29 MB / 0.7969 GB, free: 2.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.9279, allocations: 97.53 kB / 0.7969 GB, free: 2.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9289, allocations: 357.8 kB / 0.7973 GB, free: 2.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004619/0.9294, allocations: 51.7 kB / 0.7973 GB, free: 2.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.9297, allocations: 186.7 kB / 0.7975 GB, free: 1.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008405/0.9305, allocations: 399.9 kB / 0.7979 GB, free: 1.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.9309, allocations: 29.88 kB / 0.7979 GB, free: 1.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.9312, allocations: 368.9 kB / 0.7983 GB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01177/0.943, allocations: 1.454 MB / 0.7997 GB, free: 336 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/0.9552, allocations: 1.563 MB / 0.8012 GB, free: 15.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.9666, allocations: 1.307 MB / 0.8025 GB, free: 14.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.9667, allocations: 0 / 0.8025 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.02386/0.9905, allocations: 3.017 MB / 0.8054 GB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.9906, allocations: 4 kB / 0.8055 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.9907, allocations: 4 kB / 0.8055 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.9907, allocations: 8 kB / 0.8055 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005611/0.9963, allocations: 458.2 kB / 0.8059 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/0.9964, allocations: 4 kB / 0.8059 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.001, allocations: 276.9 kB / 0.8062 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/1.001, allocations: 38.17 kB / 0.8062 GB, free: 11.61 MB / 394.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.001044/1.002, allocations: 219.1 kB / 0.8064 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/1.003, allocations: 67.2 kB / 0.8065 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/1.003, allocations: 111.4 kB / 0.8066 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/1.003, allocations: 12 kB / 0.8066 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.003, allocations: 0 / 0.8066 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.003, allocations: 7.969 kB / 0.8066 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.027, allocations: 5.576 MB / 0.812 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/1.027, allocations: 20 kB / 0.8121 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003317/1.031, allocations: 407.8 kB / 0.8125 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/1.031, allocations: 36 kB / 0.8125 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.031, allocations: 51.92 kB / 0.8125 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-05/1.031, allocations: 43.86 kB / 0.8126 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.433e-05/1.031, allocations: 31.88 kB / 0.8126 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.047, allocations: 3.45 MB / 0.816 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000751/1.048, allocations: 248.3 kB / 0.8162 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/1.048, allocations: 51.98 kB / 0.8163 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.05, allocations: 247.8 kB / 0.8165 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/1.051, allocations: 235.2 kB / 0.8167 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.051, allocations: 63.98 kB / 0.8168 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005012/1.052, allocations: 249.9 kB / 0.817 GB, free: 372 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.052, allocations: 0 / 0.817 GB, free: 372 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001563/1.053, allocations: 228 kB / 0.8172 GB, free: 144 kB / 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.0003647/1.054, allocations: 170.8 kB / 0.8174 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01325/1.067, allocations: 2.573 MB / 0.8199 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-05/1.067, allocations: 8.125 kB / 0.8199 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007171/1.074, allocations: 1.207 MB / 0.8211 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.076, allocations: 155.9 kB / 0.8213 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/1.083, allocations: 2.125 MB / 0.8233 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/1.084, allocations: 0.9202 MB / 0.8242 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002283/1.087, allocations: 193.6 kB / 0.8244 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.088, allocations: 63.42 kB / 0.8245 GB, free: 8.391 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/1.088, allocations: 0 / 0.8245 GB, free: 8.391 MB / 410.7 MB Notification: Performance of Templates: time 0.04682/1.135, allocations: 14.79 MB / 0.8389 GB, free: 9.633 MB / 426.7 MB