Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002641/0.002649, allocations: 359.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 4.306/4.306, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003483/0.003483, allocations: 233.2 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.5262/0.5262, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004893, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.5732, allocations: 80.08 MB / 0.7583 GB, free: 5.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5735, allocations: 78.48 kB / 0.7583 GB, free: 5.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.5851, allocations: 2.534 MB / 0.7608 GB, free: 3.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5851, allocations: 0 / 0.7608 GB, free: 3.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.5852, allocations: 4 kB / 0.7608 GB, free: 3.121 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007552/0.5859, allocations: 426.6 kB / 0.7612 GB, free: 2.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.586, allocations: 8.562 kB / 0.7612 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.5861, allocations: 27.69 kB / 0.7613 GB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5863, allocations: 182.9 kB / 0.7614 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.5863, allocations: 8.203 kB / 0.7615 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.5864, allocations: 19.62 kB / 0.7615 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.587, allocations: 175.7 kB / 0.7616 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.587, allocations: 3.906 kB / 0.7616 GB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.5871, allocations: 7.938 kB / 0.7616 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5871, allocations: 4 kB / 0.7617 GB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.5875, allocations: 89.16 kB / 0.7617 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.589, allocations: 0.6133 MB / 0.7623 GB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.5894, allocations: 124.4 kB / 0.7625 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.5896, allocations: 53.02 kB / 0.7625 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.5896, allocations: 0 / 0.7625 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5897, allocations: 41.56 kB / 0.7625 GB, free: 1.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/0.5897, allocations: 0 / 0.7625 GB, free: 1.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001514/0.5912, allocations: 386.8 kB / 0.7629 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.5913, allocations: 81.05 kB / 0.763 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.5915, allocations: 132.3 kB / 0.7631 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.5915, allocations: 29.2 kB / 0.7631 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.5916, allocations: 131.2 kB / 0.7633 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.5917, allocations: 58.25 kB / 0.7633 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.5917, allocations: 7.75 kB / 0.7633 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.5918, allocations: 329.8 kB / 0.7636 GB, free: 240 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.592, allocations: 33.53 kB / 0.7637 GB, free: 216 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.5922, allocations: 107.3 kB / 0.7638 GB, free: 100 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.5924, allocations: 55.44 kB / 0.7638 GB, free: 64 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5924, allocations: 3.938 kB / 0.7638 GB, free: 60 kB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008335/0.5933, allocations: 218.5 kB / 0.764 GB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.5933, allocations: 11.95 kB / 0.7641 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5934, allocations: 0 / 0.7641 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.5937, allocations: 55.03 kB / 0.7641 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.5941, allocations: 31.98 kB / 0.7641 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.5978, allocations: 2.716 MB / 0.7668 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5981, allocations: 19.38 kB / 0.7668 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5982, allocations: 11.44 kB / 0.7668 GB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.5984, allocations: 140.2 kB / 0.767 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5985, allocations: 7.906 kB / 0.767 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.5986, allocations: 19.33 kB / 0.767 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5986, allocations: 0 / 0.767 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.5986, allocations: 4 kB / 0.767 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5986, allocations: 0 / 0.767 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.5993, allocations: 229.9 kB / 0.7672 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5993, allocations: 4 kB / 0.7672 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.5997, allocations: 31.92 kB / 0.7672 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.6, allocations: 46.25 kB / 0.7673 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.6, allocations: 7 kB / 0.7673 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.6036, allocations: 2.717 MB / 0.7699 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6036, allocations: 0 / 0.7699 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.6045, allocations: 382.8 kB / 0.7703 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.6046, allocations: 85.11 kB / 0.7704 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.6046, allocations: 7.688 kB / 0.7704 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.6049, allocations: 0 / 0.7704 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.605, allocations: 15.86 kB / 0.7704 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.605, allocations: 0 / 0.7704 GB, free: 9.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.6051, allocations: 102.3 kB / 0.7705 GB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6052, allocations: 0 / 0.7705 GB, free: 8.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001093/0.6063, allocations: 55.41 kB / 0.7706 GB, free: 8.941 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.6065, allocations: 115.3 kB / 0.7707 GB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.6074, allocations: 343.3 kB / 0.771 GB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6075, allocations: 0 / 0.771 GB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.6081, allocations: 286.5 kB / 0.7713 GB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.6091, allocations: 32.47 kB / 0.7713 GB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.6113, allocations: 0.797 MB / 0.7721 GB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.6119, allocations: 0.732 MB / 0.7728 GB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.612, allocations: 13.42 kB / 0.7728 GB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.612, allocations: 11.44 kB / 0.7728 GB, free: 6.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.612, allocations: 0 / 0.7728 GB, free: 6.605 MB / 362.7 MB Notification: Performance of Templates: time 0.008726/0.6208, allocations: 1.77 MB / 0.7746 GB, free: 4.855 MB / 362.7 MB