Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.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.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002919/0.002924, allocations: 349.3 kB / 15.93 MB, free: 6.207 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.527/3.527, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003576/0.003576, allocations: 214.5 kB / 397.8 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4949/0.4949, allocations: 76.09 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007079/0.0007081, allocations: 11.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1396, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.5515, allocations: 73.7 MB / 0.6787 GB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5518, allocations: 67.69 kB / 0.6788 GB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009222/0.5611, allocations: 2.536 MB / 0.6812 GB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5611, allocations: 0 / 0.6812 GB, free: 11.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.5611, allocations: 4 kB / 0.6812 GB, free: 11.06 MB / 314.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.0005759/0.5617, allocations: 413.5 kB / 0.6816 GB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5618, allocations: 12.03 kB / 0.6817 GB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.5619, allocations: 19.72 kB / 0.6817 GB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.562, allocations: 178.6 kB / 0.6818 GB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.562, allocations: 22.22 kB / 0.6819 GB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.5621, allocations: 23.3 kB / 0.6819 GB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.5625, allocations: 157.7 kB / 0.682 GB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.5625, allocations: 7.906 kB / 0.682 GB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.5626, allocations: 11.11 kB / 0.6821 GB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5626, allocations: 4 kB / 0.6821 GB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.5628, allocations: 92.64 kB / 0.6821 GB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/0.5638, allocations: 0.6147 MB / 0.6827 GB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.5641, allocations: 135.9 kB / 0.6829 GB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5642, allocations: 51.77 kB / 0.6829 GB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5642, allocations: 0 / 0.6829 GB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.5643, allocations: 34.55 kB / 0.683 GB, free: 9.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5643, allocations: 0 / 0.683 GB, free: 9.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001091/0.5654, allocations: 382.8 kB / 0.6833 GB, free: 8.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.5654, allocations: 85.05 kB / 0.6834 GB, free: 8.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.5656, allocations: 135.9 kB / 0.6835 GB, free: 8.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5656, allocations: 29.7 kB / 0.6836 GB, free: 8.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.5657, allocations: 127.5 kB / 0.6837 GB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.5657, allocations: 61.44 kB / 0.6837 GB, free: 8.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5657, allocations: 3.812 kB / 0.6837 GB, free: 8.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.5658, allocations: 322.6 kB / 0.6841 GB, free: 8.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.5659, allocations: 37.55 kB / 0.6841 GB, free: 8.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5661, allocations: 98.77 kB / 0.6842 GB, free: 8.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5662, allocations: 56.48 kB / 0.6842 GB, free: 8.031 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5662, allocations: 0 / 0.6842 GB, free: 8.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004973/0.5667, allocations: 220.7 kB / 0.6844 GB, free: 7.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5667, allocations: 4.094 kB / 0.6845 GB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5668, allocations: 8.188 kB / 0.6845 GB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.5671, allocations: 62.09 kB / 0.6845 GB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.5673, allocations: 31.98 kB / 0.6845 GB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5694, allocations: 2.715 MB / 0.6872 GB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5696, allocations: 19.75 kB / 0.6872 GB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.5696, allocations: 4 kB / 0.6872 GB, free: 4.871 MB / 314.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.0001506/0.5698, allocations: 139.5 kB / 0.6874 GB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.5698, allocations: 15.81 kB / 0.6874 GB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.5699, allocations: 19.45 kB / 0.6874 GB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5699, allocations: 4 kB / 0.6874 GB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5699, allocations: 0 / 0.6874 GB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5699, allocations: 0 / 0.6874 GB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.5703, allocations: 233.8 kB / 0.6876 GB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5703, allocations: 0 / 0.6876 GB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.5706, allocations: 27.98 kB / 0.6876 GB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.5708, allocations: 43.89 kB / 0.6877 GB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.5708, allocations: 3.5 kB / 0.6877 GB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5728, allocations: 2.72 MB / 0.6903 GB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5728, allocations: 3.938 kB / 0.6903 GB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.5734, allocations: 372.3 kB / 0.6907 GB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.5734, allocations: 88.95 kB / 0.6908 GB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5735, allocations: 7.672 kB / 0.6908 GB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5736, allocations: 4 kB / 0.6908 GB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.5737, allocations: 15.83 kB / 0.6908 GB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.5737, allocations: 11.98 kB / 0.6908 GB, free: 1.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.719e-05/0.5738, allocations: 98.64 kB / 0.6909 GB, free: 0.9609 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5738, allocations: 0 / 0.6909 GB, free: 0.9609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006195/0.5745, allocations: 59.09 kB / 0.691 GB, free: 0.9102 MB / 314.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.0001281/0.5746, allocations: 99.25 kB / 0.6911 GB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.5753, allocations: 351.2 kB / 0.6914 GB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5753, allocations: 0 / 0.6914 GB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.5758, allocations: 287.1 kB / 0.6917 GB, free: 188 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.5764, allocations: 33.28 kB / 0.6917 GB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.5782, allocations: 0.7882 MB / 0.6925 GB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.5786, allocations: 0.7242 MB / 0.6932 GB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.735e-05/0.5788, allocations: 13.41 kB / 0.6932 GB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.5788, allocations: 15.44 kB / 0.6932 GB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5788, allocations: 4 kB / 0.6932 GB, free: 14.58 MB / 330.7 MB Notification: Performance of Templates: time 0.007154/0.586, allocations: 1.765 MB / 0.6949 GB, free: 12.85 MB / 330.7 MB