Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002816/0.002821, allocations: 363.1 kB / 15.95 MB, free: 6.203 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.955/3.955, allocations: 388.9 MB / 405.6 MB, free: 47.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003495/0.003495, allocations: 228.7 kB / 451 MB, free: 2.387 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8538/0.8538, allocations: 80.01 MB / 0.5627 GB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 8 kB / 0.6265 GB, free: 4.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 54.88 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5927, allocations: 82.62 MB / 0.7608 GB, free: 37.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5929, allocations: 67.97 kB / 0.7608 GB, free: 37.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01957/0.6125, allocations: 4.684 MB / 0.7654 GB, free: 32.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6126, allocations: 0 / 0.7654 GB, free: 32.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.6126, allocations: 4 kB / 0.7654 GB, free: 32.99 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001015/0.6136, allocations: 0.5467 MB / 0.7659 GB, free: 32.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6137, allocations: 10.16 kB / 0.766 GB, free: 32.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.6138, allocations: 31.62 kB / 0.766 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.6141, allocations: 260.1 kB / 0.7662 GB, free: 32.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6142, allocations: 21.61 kB / 0.7663 GB, free: 32.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.6143, allocations: 31.91 kB / 0.7663 GB, free: 32.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.6149, allocations: 282.9 kB / 0.7666 GB, free: 31.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.615, allocations: 4 kB / 0.7666 GB, free: 31.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.615, allocations: 8 kB / 0.7666 GB, free: 31.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.615, allocations: 12.61 kB / 0.7666 GB, free: 31.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.6157, allocations: 199.6 kB / 0.7668 GB, free: 31.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.6177, allocations: 1.31 MB / 0.7681 GB, free: 30.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.6183, allocations: 252.2 kB / 0.7683 GB, free: 29.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.6186, allocations: 109.6 kB / 0.7684 GB, free: 29.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.6187, allocations: 4.844 kB / 0.7684 GB, free: 29.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.6187, allocations: 37.39 kB / 0.7684 GB, free: 29.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.145e-06/0.6187, allocations: 0.9375 kB / 0.7684 GB, free: 29.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.003634/0.6224, allocations: 1.628 MB / 0.77 GB, free: 27.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.6225, allocations: 132.5 kB / 0.7702 GB, free: 27.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.6227, allocations: 225.8 kB / 0.7704 GB, free: 27.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.6228, allocations: 33.17 kB / 0.7704 GB, free: 27.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.6229, allocations: 188.2 kB / 0.7706 GB, free: 27.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.623, allocations: 110.3 kB / 0.7707 GB, free: 27.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.623, allocations: 8 kB / 0.7707 GB, free: 27.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.6231, allocations: 342.8 kB / 0.771 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.6235, allocations: 112.3 kB / 0.7711 GB, free: 26.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.624, allocations: 243.9 kB / 0.7714 GB, free: 26.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.6245, allocations: 143.9 kB / 0.7715 GB, free: 26.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6246, allocations: 4 kB / 0.7715 GB, free: 26.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001215/0.6258, allocations: 404.9 kB / 0.7719 GB, free: 25.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6258, allocations: 13.81 kB / 0.7719 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6259, allocations: 5.094 kB / 0.7719 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.6259, allocations: 8 kB / 0.7719 GB, free: 25.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.6266, allocations: 116.2 kB / 0.772 GB, free: 25.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.6266, allocations: 12.91 kB / 0.772 GB, free: 25.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.627, allocations: 31.89 kB / 0.7721 GB, free: 25.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.6271, allocations: 23.23 kB / 0.7721 GB, free: 25.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.000208/0.6273, allocations: 149.7 kB / 0.7722 GB, free: 25.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6274, allocations: 34.23 kB / 0.7723 GB, free: 25.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.6275, allocations: 29.72 kB / 0.7723 GB, free: 25.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.6276, allocations: 4 kB / 0.7723 GB, free: 25.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.6276, allocations: 7.938 kB / 0.7723 GB, free: 25.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.6276, allocations: 13.69 kB / 0.7723 GB, free: 25.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.6297, allocations: 1.001 MB / 0.7733 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6298, allocations: 8.062 kB / 0.7733 GB, free: 24.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.6305, allocations: 87.88 kB / 0.7734 GB, free: 24.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.6305, allocations: 4 kB / 0.7734 GB, free: 24.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.6306, allocations: 8 kB / 0.7734 GB, free: 24.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.6306, allocations: 0 / 0.7734 GB, free: 24.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6306, allocations: 6.188 kB / 0.7734 GB, free: 24.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.6325, allocations: 0.7769 MB / 0.7742 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6327, allocations: 96.83 kB / 0.7743 GB, free: 23.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.6328, allocations: 12.05 kB / 0.7743 GB, free: 23.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.6333, allocations: 23.98 kB / 0.7743 GB, free: 23.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6334, allocations: 27.91 kB / 0.7743 GB, free: 23.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6335, allocations: 8 kB / 0.7743 GB, free: 23.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.6337, allocations: 156.5 kB / 0.7745 GB, free: 23.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6337, allocations: 0 / 0.7745 GB, free: 23.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006809/0.6344, allocations: 68 kB / 0.7745 GB, free: 23.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001437/0.6345, allocations: 103.2 kB / 0.7746 GB, free: 22.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.6356, allocations: 304.5 kB / 0.7749 GB, free: 22.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6356, allocations: 0 / 0.7749 GB, free: 22.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.6361, allocations: 148 kB / 0.7751 GB, free: 22.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.637, allocations: 42.41 kB / 0.7751 GB, free: 22.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.6391, allocations: 1.084 MB / 0.7762 GB, free: 21.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.6394, allocations: 0.7761 MB / 0.7769 GB, free: 20.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.6397, allocations: 33.69 kB / 0.777 GB, free: 20.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.6398, allocations: 27.42 kB / 0.777 GB, free: 20.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6398, allocations: 0 / 0.777 GB, free: 20.49 MB / 394.7 MB Notification: Performance of Templates: time 0.007484/0.6473, allocations: 2.112 MB / 0.779 GB, free: 18.44 MB / 394.7 MB