Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.317/1.317, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0007663/0.0007663, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.439e-05, allocations: 0 / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08173, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3109/0.3927, allocations: 113.5 MB / 483.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.393, allocations: 88.28 kB / 483.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4204/0.8134, allocations: 83.03 MB / 0.5533 GB, free: 93.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.8135, allocations: 0 / 0.5533 GB, free: 93.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002051/0.8137, allocations: 76.58 kB / 0.5534 GB, free: 93.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005214/0.8189, allocations: 2.617 MB / 0.556 GB, free: 92.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.819, allocations: 7.719 kB / 0.556 GB, free: 92.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8202, allocations: 423.6 kB / 0.5564 GB, free: 91.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.8231, allocations: 1.829 MB / 0.5582 GB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.8232, allocations: 185 kB / 0.5583 GB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.8236, allocations: 245.3 kB / 0.5586 GB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.8279, allocations: 3.15 MB / 0.5617 GB, free: 91.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.828, allocations: 11.31 kB / 0.5617 GB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.8282, allocations: 112.8 kB / 0.5618 GB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-05/0.8283, allocations: 110.1 kB / 0.5619 GB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.8317, allocations: 2.462 MB / 0.5643 GB, free: 91.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.8447, allocations: 10.46 MB / 0.5745 GB, free: 86.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.8464, allocations: 1.763 MB / 0.5762 GB, free: 85.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.8474, allocations: 0.8728 MB / 0.5771 GB, free: 85.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.8477, allocations: 222.2 kB / 0.5773 GB, free: 84.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.8477, allocations: 47.28 kB / 0.5773 GB, free: 84.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.466e-06/0.8477, allocations: 3.719 kB / 0.5773 GB, free: 84.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.01422/0.862, allocations: 6.899 MB / 0.5841 GB, free: 82.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.862, allocations: 63.84 kB / 0.5841 GB, free: 82.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.8641, allocations: 1.635 MB / 0.5857 GB, free: 81.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.8642, allocations: 52.73 kB / 0.5858 GB, free: 81.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.8648, allocations: 1.239 MB / 0.587 GB, free: 80.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.865, allocations: 497.9 kB / 0.5875 GB, free: 80.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.8651, allocations: 37.97 kB / 0.5875 GB, free: 80.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.8652, allocations: 372.6 kB / 0.5879 GB, free: 80.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.8662, allocations: 0.8021 MB / 0.5886 GB, free: 79.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.8673, allocations: 1.295 MB / 0.5899 GB, free: 78.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.8685, allocations: 1.011 MB / 0.5909 GB, free: 78.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.8685, allocations: 6.781 kB / 0.5909 GB, free: 78.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003936/0.8725, allocations: 2.843 MB / 0.5937 GB, free: 77.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.8725, allocations: 11.5 kB / 0.5937 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.8726, allocations: 15.84 kB / 0.5937 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.8739, allocations: 0.5908 MB / 0.5943 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8753, allocations: 415.2 kB / 0.5947 GB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.8813, allocations: 5.441 MB / 0.6 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.8832, allocations: 134.9 kB / 0.6001 GB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.8833, allocations: 75.95 kB / 0.6002 GB, free: 74.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.8836, allocations: 211.6 kB / 0.6004 GB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.8839, allocations: 195.1 kB / 0.6006 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.8877, allocations: 2.511 MB / 0.603 GB, free: 72.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8878, allocations: 15.66 kB / 0.603 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.8878, allocations: 11.94 kB / 0.6031 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.8878, allocations: 15.06 kB / 0.6031 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.8952, allocations: 5.387 MB / 0.6083 GB, free: 68.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.8953, allocations: 4 kB / 0.6083 GB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.8962, allocations: 254.7 kB / 0.6086 GB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.8977, allocations: 0.645 MB / 0.6092 GB, free: 67.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/0.8978, allocations: 35.36 kB / 0.6092 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.9047, allocations: 7.142 MB / 0.6162 GB, free: 60.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9047, allocations: 4 kB / 0.6162 GB, free: 60.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/0.9096, allocations: 3.931 MB / 0.6201 GB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.9106, allocations: 469.8 kB / 0.6205 GB, free: 56.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.9109, allocations: 35.66 kB / 0.6205 GB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.9123, allocations: 117.6 kB / 0.6207 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.9126, allocations: 113.8 kB / 0.6208 GB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.9128, allocations: 47.75 kB / 0.6208 GB, free: 56.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001938/0.9147, allocations: 1.248 MB / 0.622 GB, free: 55.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9147, allocations: 0 / 0.622 GB, free: 55.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002361/0.9171, allocations: 0.64 MB / 0.6227 GB, free: 54.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007085/0.9178, allocations: 323.7 kB / 0.623 GB, free: 54.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00365/0.9215, allocations: 2.481 MB / 0.6254 GB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9215, allocations: 4 kB / 0.6254 GB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.9236, allocations: 1.556 MB / 0.6269 GB, free: 50.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.9256, allocations: 421.6 kB / 0.6273 GB, free: 50.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.9319, allocations: 4.187 MB / 0.6314 GB, free: 46.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.9332, allocations: 2.076 MB / 0.6334 GB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001309/0.9345, allocations: 414.8 kB / 0.6338 GB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.9349, allocations: 130.3 kB / 0.6339 GB, free: 44.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9349, allocations: 0 / 0.6339 GB, free: 44.53 MB / 410.7 MB Notification: Performance of Templates: time 0.04166/0.9766, allocations: 31.44 MB / 0.6647 GB, free: 13.77 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches