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.001456/0.001456, allocations: 175.9 kB / 17.4 MB, free: 4.297 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.613/1.613, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 104 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3122, allocations: 107.9 MB / 0.4987 GB, free: 4.387 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3124, allocations: 87.95 kB / 0.4988 GB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2622/0.5746, allocations: 50.4 MB / 0.548 GB, free: 67.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.5746, allocations: 0 / 0.548 GB, free: 67.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.5748, allocations: 63.94 kB / 0.548 GB, free: 67.52 MB / 378.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.004999/0.5798, allocations: 2.777 MB / 0.5508 GB, free: 64.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5799, allocations: 12.02 kB / 0.5508 GB, free: 64.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.5806, allocations: 337.2 kB / 0.5511 GB, free: 64.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.5838, allocations: 1.849 MB / 0.5529 GB, free: 62.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.584, allocations: 173 kB / 0.5531 GB, free: 62.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.5843, allocations: 232.3 kB / 0.5533 GB, free: 62.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.5886, allocations: 3.143 MB / 0.5564 GB, free: 58.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.5887, allocations: 8.094 kB / 0.5564 GB, free: 58.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.589, allocations: 103.9 kB / 0.5565 GB, free: 58.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.5891, allocations: 100.6 kB / 0.5566 GB, free: 58.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.5928, allocations: 2.583 MB / 0.5591 GB, free: 55.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.605, allocations: 9.766 MB / 0.5686 GB, free: 45.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.6072, allocations: 2.222 MB / 0.5708 GB, free: 43.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.6084, allocations: 0.98 MB / 0.5717 GB, free: 42.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.6088, allocations: 223.1 kB / 0.572 GB, free: 42.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.6088, allocations: 44.03 kB / 0.572 GB, free: 42.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.687e-06/0.6088, allocations: 3.938 kB / 0.572 GB, free: 42.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=141): time 0.01476/0.6236, allocations: 7.936 MB / 0.5798 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6236, allocations: 64.72 kB / 0.5798 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.6259, allocations: 1.719 MB / 0.5815 GB, free: 32.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.6261, allocations: 53.7 kB / 0.5815 GB, free: 32.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/0.6266, allocations: 1.14 MB / 0.5827 GB, free: 31.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.6269, allocations: 485 kB / 0.5831 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.627, allocations: 32 kB / 0.5832 GB, free: 30.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.6271, allocations: 361.9 kB / 0.5835 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.6282, allocations: 0.8627 MB / 0.5843 GB, free: 29.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6294, allocations: 1.232 MB / 0.5855 GB, free: 27.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.6318, allocations: 2.195 MB / 0.5877 GB, free: 25.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.6319, allocations: 4 kB / 0.5877 GB, free: 25.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00416/0.636, allocations: 2.844 MB / 0.5905 GB, free: 22.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6361, allocations: 11.98 kB / 0.5905 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6361, allocations: 12 kB / 0.5905 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.6374, allocations: 0.5849 MB / 0.5911 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.6386, allocations: 375.4 kB / 0.5914 GB, free: 21.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.6446, allocations: 6.335 MB / 0.5976 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.6461, allocations: 115.9 kB / 0.5977 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6463, allocations: 67.92 kB / 0.5978 GB, free: 14.98 MB / 378.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 () * Number of clocked 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.001284/0.6476, allocations: 0.8018 MB / 0.5986 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.6479, allocations: 185.8 kB / 0.5987 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.6517, allocations: 2.623 MB / 0.6013 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.6517, allocations: 12 kB / 0.6013 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6517, allocations: 8 kB / 0.6013 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6517, allocations: 7.984 kB / 0.6013 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007632/0.6594, allocations: 5.379 MB / 0.6066 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6594, allocations: 4 kB / 0.6066 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/0.6603, allocations: 227.7 kB / 0.6068 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.6618, allocations: 0.6431 MB / 0.6074 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/0.6619, allocations: 35.98 kB / 0.6075 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007857/0.6698, allocations: 8.076 MB / 0.6154 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6698, allocations: 11.94 kB / 0.6154 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/0.6762, allocations: 3.828 MB / 0.6191 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.6773, allocations: 458.6 kB / 0.6195 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.6777, allocations: 31.98 kB / 0.6196 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6789, allocations: 103.9 kB / 0.6197 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.6792, allocations: 125.1 kB / 0.6198 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.993e-05/0.6793, allocations: 36 kB / 0.6198 GB, free: 7.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.6815, allocations: 1.179 MB / 0.621 GB, free: 6.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6815, allocations: 0 / 0.621 GB, free: 6.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001964/0.6834, allocations: 0.5741 MB / 0.6215 GB, free: 6.031 MB / 394.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 () * Number of clocked 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.0005866/0.684, allocations: 317.2 kB / 0.6218 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.6885, allocations: 2.609 MB / 0.6244 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6885, allocations: 0 / 0.6244 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.6914, allocations: 1.703 MB / 0.626 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.6945, allocations: 445.4 kB / 0.6265 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/0.7045, allocations: 6.021 MB / 0.6324 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.7068, allocations: 2.025 MB / 0.6343 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001685/0.7085, allocations: 439.4 kB / 0.6347 GB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.709, allocations: 119.4 kB / 0.6349 GB, free: 8.191 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.709, allocations: 0 / 0.6349 GB, free: 8.191 MB / 410.7 MB Notification: Performance of Templates: time 0.2038/0.9128, allocations: 30.52 MB / 0.6647 GB, free: 109.7 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/jenkins1/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