Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009568/0.0009565, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.4 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 87.81 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.213e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08597, allocations: 50.41 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.3985, allocations: 107.7 MB / 0.4902 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.3988, allocations: 87.78 kB / 0.4903 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.128/0.5268, allocations: 50.5 MB / 0.5396 GB, free: 8.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5268, allocations: 0 / 0.5396 GB, free: 8.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001608/0.527, allocations: 67.94 kB / 0.5396 GB, free: 8.801 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.00571/0.5327, allocations: 2.499 MB / 0.5421 GB, free: 6.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.5328, allocations: 12.03 kB / 0.5421 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.5337, allocations: 336.3 kB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.5371, allocations: 1.779 MB / 0.5441 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.5372, allocations: 176.7 kB / 0.5443 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.5376, allocations: 232.6 kB / 0.5445 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.5423, allocations: 3.038 MB / 0.5475 GB, free: 484 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.5424, allocations: 7.906 kB / 0.5475 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.5426, allocations: 96 kB / 0.5476 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/0.5427, allocations: 104.6 kB / 0.5477 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2014/0.7441, allocations: 2.449 MB / 0.5501 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.7589, allocations: 9.751 MB / 0.5596 GB, free: 99.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.7612, allocations: 2.161 MB / 0.5617 GB, free: 98.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.7626, allocations: 0.933 MB / 0.5626 GB, free: 98.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.7629, allocations: 215.5 kB / 0.5628 GB, free: 98.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.7629, allocations: 51.16 kB / 0.5629 GB, free: 98.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 3.196e-06/0.7629, allocations: 0 / 0.5629 GB, free: 98.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=141): time 0.01445/0.7774, allocations: 6.49 MB / 0.5692 GB, free: 97.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.7775, allocations: 69.38 kB / 0.5693 GB, free: 97.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.7799, allocations: 1.505 MB / 0.5708 GB, free: 97.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.78, allocations: 50.8 kB / 0.5708 GB, free: 97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.7807, allocations: 1.137 MB / 0.5719 GB, free: 96.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.781, allocations: 488.9 kB / 0.5724 GB, free: 95.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.7811, allocations: 34.44 kB / 0.5724 GB, free: 95.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.7812, allocations: 367.1 kB / 0.5728 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7823, allocations: 0.8004 MB / 0.5736 GB, free: 95.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.7834, allocations: 1.177 MB / 0.5747 GB, free: 94.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7846, allocations: 0.9793 MB / 0.5757 GB, free: 94.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7846, allocations: 3.938 kB / 0.5757 GB, free: 94.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003814/0.7884, allocations: 2.725 MB / 0.5783 GB, free: 93.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.7884, allocations: 9.344 kB / 0.5783 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7885, allocations: 11.47 kB / 0.5783 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.7897, allocations: 0.5903 MB / 0.5789 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.791, allocations: 366.4 kB / 0.5793 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.7969, allocations: 6.317 MB / 0.5854 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.7986, allocations: 114.4 kB / 0.5855 GB, free: 89.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.7987, allocations: 68.06 kB / 0.5856 GB, free: 89.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.799, allocations: 196.3 kB / 0.5858 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.7994, allocations: 190.3 kB / 0.586 GB, free: 88.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.8031, allocations: 2.518 MB / 0.5884 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8032, allocations: 15.5 kB / 0.5885 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8032, allocations: 3.969 kB / 0.5885 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.8032, allocations: 7.312 kB / 0.5885 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.8114, allocations: 5.257 MB / 0.5936 GB, free: 85.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.8114, allocations: 6.219 kB / 0.5936 GB, free: 85.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.8124, allocations: 236.8 kB / 0.5938 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.8139, allocations: 0.6334 MB / 0.5944 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.814, allocations: 34.61 kB / 0.5945 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006864/0.8209, allocations: 8.044 MB / 0.6023 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8209, allocations: 7.906 kB / 0.6023 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.8256, allocations: 3.835 MB / 0.6061 GB, free: 78.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000937/0.8266, allocations: 452.9 kB / 0.6065 GB, free: 78.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.8269, allocations: 35.14 kB / 0.6066 GB, free: 78.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009905/0.8279, allocations: 102.8 kB / 0.6067 GB, free: 78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.8282, allocations: 127.1 kB / 0.6068 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.8283, allocations: 33.88 kB / 0.6068 GB, free: 77.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.8297, allocations: 1.161 MB / 0.6079 GB, free: 77.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8297, allocations: 0 / 0.6079 GB, free: 77.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001598/0.8313, allocations: 0.5691 MB / 0.6085 GB, free: 77.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.8317, allocations: 314.8 kB / 0.6088 GB, free: 77.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.8349, allocations: 2.473 MB / 0.6112 GB, free: 76.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8349, allocations: 0 / 0.6112 GB, free: 76.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.8371, allocations: 1.646 MB / 0.6128 GB, free: 75.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.8391, allocations: 444.9 kB / 0.6132 GB, free: 75.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/0.8453, allocations: 4.154 MB / 0.6173 GB, free: 73.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.8466, allocations: 2.074 MB / 0.6193 GB, free: 71.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001342/0.8479, allocations: 428 kB / 0.6197 GB, free: 71.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.8483, allocations: 122.6 kB / 0.6199 GB, free: 71.47 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.8483, allocations: 0 / 0.6199 GB, free: 71.47 MB / 426.7 MB Notification: Performance of Templates: time 0.0424/0.8907, allocations: 30.53 MB / 0.6497 GB, free: 47.77 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches