Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 183.5 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 224.2 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007011/0.0007011, allocations: 83.05 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004131, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3501, allocations: 107.5 MB / 484.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.3504, allocations: 87.95 kB / 484.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2872/0.6376, allocations: 50.05 MB / 0.5222 GB, free: 94.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6376, allocations: 3.5 kB / 0.5222 GB, free: 94.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.6378, allocations: 71.25 kB / 0.5222 GB, free: 94.41 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.00585/0.6437, allocations: 2.777 MB / 0.5249 GB, free: 92.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6437, allocations: 11.34 kB / 0.525 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6448, allocations: 332.1 kB / 0.5253 GB, free: 92.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.6482, allocations: 1.849 MB / 0.5271 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.6483, allocations: 173 kB / 0.5272 GB, free: 90.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004435/0.6488, allocations: 232.3 kB / 0.5275 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.6536, allocations: 3.135 MB / 0.5305 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-05/0.6536, allocations: 8.172 kB / 0.5305 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.6539, allocations: 107.8 kB / 0.5306 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.922e-05/0.654, allocations: 104.5 kB / 0.5307 GB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.6579, allocations: 2.595 MB / 0.5333 GB, free: 84.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.6711, allocations: 9.768 MB / 0.5428 GB, free: 74.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.6734, allocations: 2.241 MB / 0.545 GB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.6746, allocations: 0.9761 MB / 0.546 GB, free: 70.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.6749, allocations: 219 kB / 0.5462 GB, free: 70.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.675, allocations: 51.55 kB / 0.5462 GB, free: 70.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 4.108e-06/0.675, allocations: 0 / 0.5462 GB, free: 70.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=141): time 0.01503/0.69, allocations: 7.858 MB / 0.5539 GB, free: 62.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.6901, allocations: 68.72 kB / 0.554 GB, free: 62.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.6926, allocations: 1.719 MB / 0.5556 GB, free: 60.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.6928, allocations: 49.7 kB / 0.5557 GB, free: 60.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.6934, allocations: 1.136 MB / 0.5568 GB, free: 59.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.6937, allocations: 484.6 kB / 0.5573 GB, free: 59.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.6938, allocations: 36 kB / 0.5573 GB, free: 58.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.6939, allocations: 369.9 kB / 0.5576 GB, free: 58.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.6951, allocations: 0.8471 MB / 0.5585 GB, free: 57.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.6963, allocations: 1.24 MB / 0.5597 GB, free: 56.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.6989, allocations: 2.199 MB / 0.5618 GB, free: 54.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.6989, allocations: 4 kB / 0.5618 GB, free: 54.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004199/0.7031, allocations: 2.832 MB / 0.5646 GB, free: 51.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.7032, allocations: 12 kB / 0.5646 GB, free: 51.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.7032, allocations: 12.19 kB / 0.5646 GB, free: 51.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.7044, allocations: 0.5886 MB / 0.5652 GB, free: 50.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7057, allocations: 367.4 kB / 0.5655 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.7117, allocations: 6.338 MB / 0.5717 GB, free: 43.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.7134, allocations: 120 kB / 0.5718 GB, free: 43.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.7136, allocations: 67.92 kB / 0.5719 GB, free: 43.4 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.001506/0.7151, allocations: 0.7939 MB / 0.5727 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.7156, allocations: 189.7 kB / 0.5729 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.7197, allocations: 2.627 MB / 0.5754 GB, free: 39.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7197, allocations: 19.98 kB / 0.5754 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.7197, allocations: 4 kB / 0.5755 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7198, allocations: 3.984 kB / 0.5755 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.728, allocations: 5.378 MB / 0.5807 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.728, allocations: 4 kB / 0.5807 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.7289, allocations: 227.7 kB / 0.5809 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.7304, allocations: 0.6473 MB / 0.5816 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.7305, allocations: 35.98 kB / 0.5816 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/0.7374, allocations: 8.083 MB / 0.5895 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7374, allocations: 4 kB / 0.5895 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.7428, allocations: 3.833 MB / 0.5932 GB, free: 20.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009209/0.7437, allocations: 458.6 kB / 0.5937 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.7441, allocations: 43.97 kB / 0.5937 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7452, allocations: 95.89 kB / 0.5938 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.7455, allocations: 129.1 kB / 0.5939 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.7456, allocations: 43.98 kB / 0.594 GB, free: 20.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001687/0.7473, allocations: 1.175 MB / 0.5951 GB, free: 19.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7473, allocations: 0 / 0.5951 GB, free: 19.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00173/0.7491, allocations: 0.5703 MB / 0.5957 GB, free: 18.46 MB / 378.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.0005182/0.7496, allocations: 328.5 kB / 0.596 GB, free: 18.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003568/0.7532, allocations: 2.592 MB / 0.5985 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7532, allocations: 0 / 0.5985 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.7554, allocations: 1.707 MB / 0.6002 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.7581, allocations: 454.2 kB / 0.6006 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/0.7653, allocations: 6.01 MB / 0.6065 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.7666, allocations: 2.025 MB / 0.6085 GB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.7679, allocations: 439.4 kB / 0.6089 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.7683, allocations: 123.4 kB / 0.609 GB, free: 4.641 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.7683, allocations: 0 / 0.609 GB, free: 4.641 MB / 378.7 MB Notification: Performance of Templates: time 0.05259/0.8209, allocations: 30.55 MB / 0.6388 GB, free: 6.082 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches