Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009905/0.0009907, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008451, allocations: 98.06 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001881/0.0001882, allocations: 12 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1757, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/0.4448, allocations: 108.6 MB / 0.5058 GB, free: 44.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4451, allocations: 91.55 kB / 0.5059 GB, free: 44.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.5623, allocations: 50.54 MB / 0.5553 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5623, allocations: 0 / 0.5553 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002115/0.5626, allocations: 66.31 kB / 0.5553 GB, free: 35.21 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.006225/0.5688, allocations: 2.813 MB / 0.5581 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5688, allocations: 11.38 kB / 0.5581 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.5703, allocations: 377.9 kB / 0.5585 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.5742, allocations: 1.795 MB / 0.5602 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.5743, allocations: 179.6 kB / 0.5604 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005341/0.5749, allocations: 227.9 kB / 0.5606 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.579, allocations: 3.109 MB / 0.5636 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.514e-05/0.5791, allocations: 18.2 kB / 0.5637 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.5793, allocations: 96.41 kB / 0.5638 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.5793, allocations: 109.5 kB / 0.5639 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.583, allocations: 2.581 MB / 0.5664 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.5956, allocations: 9.754 MB / 0.5759 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.5977, allocations: 2.229 MB / 0.5781 GB, free: 22.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.598, allocations: 219.2 kB / 0.5783 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.598, allocations: 47.56 kB / 0.5783 GB, free: 22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 2.935e-06/0.598, allocations: 3.938 kB / 0.5783 GB, free: 22 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.01389/0.6119, allocations: 7.972 MB / 0.5861 GB, free: 13.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.612, allocations: 68.72 kB / 0.5862 GB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6137, allocations: 1.516 MB / 0.5877 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/0.6138, allocations: 57.69 kB / 0.5877 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.6143, allocations: 1.136 MB / 0.5888 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.6146, allocations: 485 kB / 0.5893 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.6147, allocations: 32 kB / 0.5893 GB, free: 10.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.6148, allocations: 369.9 kB / 0.5897 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.6158, allocations: 0.8627 MB / 0.5905 GB, free: 9.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.617, allocations: 1.232 MB / 0.5917 GB, free: 7.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6182, allocations: 1.033 MB / 0.5927 GB, free: 6.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.6182, allocations: 4 kB / 0.5927 GB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00377/0.622, allocations: 2.852 MB / 0.5955 GB, free: 4.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.622, allocations: 11.94 kB / 0.5955 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.622, allocations: 12 kB / 0.5955 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.6233, allocations: 0.5902 MB / 0.5961 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.6245, allocations: 367.4 kB / 0.5965 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.6314, allocations: 6.546 MB / 0.6029 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.6331, allocations: 115.9 kB / 0.603 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6332, allocations: 63.98 kB / 0.603 GB, free: 12.05 MB / 394.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 (171): * Single equations (assignments): 168 * 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.001623/0.6349, allocations: 0.8077 MB / 0.6038 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.6352, allocations: 185.8 kB / 0.604 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.6396, allocations: 2.631 MB / 0.6066 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6396, allocations: 20 kB / 0.6066 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6397, allocations: 4 kB / 0.6066 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.6397, allocations: 7.969 kB / 0.6066 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009315/0.649, allocations: 5.34 MB / 0.6118 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.649, allocations: 4 kB / 0.6118 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.65, allocations: 231.7 kB / 0.612 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.6517, allocations: 0.6476 MB / 0.6127 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.6518, allocations: 35.97 kB / 0.6127 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009066/0.6609, allocations: 8.316 MB / 0.6208 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6609, allocations: 7.938 kB / 0.6208 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/0.6669, allocations: 3.944 MB / 0.6247 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6681, allocations: 446.7 kB / 0.6251 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004279/0.6686, allocations: 31.98 kB / 0.6251 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6697, allocations: 99.89 kB / 0.6252 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.67, allocations: 133 kB / 0.6254 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6701, allocations: 36 kB / 0.6254 GB, free: 4.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002064/0.6722, allocations: 1.179 MB / 0.6266 GB, free: 3.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6722, allocations: 0 / 0.6266 GB, free: 3.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001927/0.6741, allocations: 0.5702 MB / 0.6271 GB, free: 2.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (109): * Single equations (assignments): 106 * 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.0005902/0.6747, allocations: 321.9 kB / 0.6274 GB, free: 2.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004251/0.679, allocations: 2.616 MB / 0.63 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.679, allocations: 4 kB / 0.63 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.6818, allocations: 1.684 MB / 0.6316 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.684, allocations: 442.8 kB / 0.632 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.6943, allocations: 5.987 MB / 0.6379 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.6962, allocations: 2.071 MB / 0.6399 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001504/0.6977, allocations: 431.5 kB / 0.6403 GB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.6981, allocations: 127.4 kB / 0.6404 GB, free: 4.914 MB / 426.7 MB Notification: Performance of SimCode: time 2.425e-06/0.6981, allocations: 0 / 0.6404 GB, free: 4.914 MB / 426.7 MB Notification: Performance of Templates: time 0.04986/0.7479, allocations: 30.26 MB / 0.67 GB, free: 6.855 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches