Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 198.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007901/0.0007902, allocations: 98.77 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.532e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09623, allocations: 51.47 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4494, allocations: 114.3 MB / 0.4975 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4497, allocations: 81.64 kB / 0.4976 GB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4787/0.9284, allocations: 82.31 MB / 0.578 GB, free: 82.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.9284, allocations: 0 / 0.578 GB, free: 82.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.9286, allocations: 62.98 kB / 0.578 GB, free: 82.68 MB / 442.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.004517/0.9331, allocations: 2.635 MB / 0.5806 GB, free: 81.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9332, allocations: 9.156 kB / 0.5806 GB, free: 81.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.9347, allocations: 464 kB / 0.581 GB, free: 81.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.9375, allocations: 1.839 MB / 0.5828 GB, free: 81.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.9376, allocations: 90.34 kB / 0.5829 GB, free: 81.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.9379, allocations: 143.7 kB / 0.5831 GB, free: 81.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003529/0.9414, allocations: 2.305 MB / 0.5853 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.9453, allocations: 2.786 MB / 0.588 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.9453, allocations: 7.281 kB / 0.588 GB, free: 80.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.9455, allocations: 3.312 kB / 0.588 GB, free: 80.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-05/0.9456, allocations: 109.5 kB / 0.5882 GB, free: 80.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.959, allocations: 9.973 MB / 0.5979 GB, free: 78.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.9607, allocations: 1.732 MB / 0.5996 GB, free: 77.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/0.9616, allocations: 0.8313 MB / 0.6004 GB, free: 77.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.9619, allocations: 221.9 kB / 0.6006 GB, free: 77.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.962, allocations: 49.33 kB / 0.6007 GB, free: 77.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 2.945e-06/0.962, allocations: 3.281 kB / 0.6007 GB, free: 77.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=146): time 0.009465/0.9715, allocations: 5.448 MB / 0.606 GB, free: 76.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.9715, allocations: 68.55 kB / 0.606 GB, free: 76.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.9734, allocations: 1.369 MB / 0.6074 GB, free: 76.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.571e-05/0.9735, allocations: 31.2 kB / 0.6074 GB, free: 76.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.9742, allocations: 1.241 MB / 0.6086 GB, free: 75.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.9745, allocations: 485.4 kB / 0.6091 GB, free: 75.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.9746, allocations: 2.953 kB / 0.6091 GB, free: 75.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9747, allocations: 380.6 kB / 0.6094 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.9758, allocations: 0.7801 MB / 0.6102 GB, free: 75.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.977, allocations: 1.252 MB / 0.6114 GB, free: 74.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.9783, allocations: 0.9836 MB / 0.6124 GB, free: 74.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.9783, allocations: 8.062 kB / 0.6124 GB, free: 74.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004542/0.9828, allocations: 2.666 MB / 0.615 GB, free: 74.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.9829, allocations: 16.28 kB / 0.615 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.9829, allocations: 19.22 kB / 0.615 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.9844, allocations: 0.5737 MB / 0.6156 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9859, allocations: 414.1 kB / 0.616 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.9923, allocations: 5.218 MB / 0.6211 GB, free: 71.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.9945, allocations: 104.7 kB / 0.6212 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.9947, allocations: 73.59 kB / 0.6213 GB, free: 71.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 186 * 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.0003195/0.995, allocations: 156.9 kB / 0.6214 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.9954, allocations: 187.4 kB / 0.6216 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.9995, allocations: 2.394 MB / 0.6239 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.9996, allocations: 14.88 kB / 0.6239 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9996, allocations: 5 kB / 0.6239 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.9996, allocations: 8.625 kB / 0.624 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00911/1.009, allocations: 4.997 MB / 0.6288 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.009, allocations: 4.188 kB / 0.6288 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.01, allocations: 262.8 kB / 0.6291 GB, free: 68.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/1.012, allocations: 0.642 MB / 0.6297 GB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.012, allocations: 19.52 kB / 0.6297 GB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/1.019, allocations: 6.877 MB / 0.6364 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.019, allocations: 7.906 kB / 0.6365 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/1.024, allocations: 3.81 MB / 0.6402 GB, free: 62.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/1.025, allocations: 455.3 kB / 0.6406 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/1.025, allocations: 11.3 kB / 0.6406 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.026, allocations: 97.17 kB / 0.6407 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.027, allocations: 123.2 kB / 0.6408 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/1.027, allocations: 42.14 kB / 0.6409 GB, free: 62.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00132/1.028, allocations: 1.032 MB / 0.6419 GB, free: 61.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.028, allocations: 0 / 0.6419 GB, free: 61.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001877/1.03, allocations: 0.5418 MB / 0.6424 GB, free: 61.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (113): * Single equations (assignments): 109 * 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,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005296/1.031, allocations: 334.2 kB / 0.6427 GB, free: 61.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003231/1.034, allocations: 2.39 MB / 0.6451 GB, free: 60.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.034, allocations: 0 / 0.6451 GB, free: 60.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002078/1.036, allocations: 1.529 MB / 0.6466 GB, free: 59.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.038, allocations: 316 kB / 0.6469 GB, free: 59.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/1.045, allocations: 4.099 MB / 0.6509 GB, free: 57.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.046, allocations: 2.077 MB / 0.6529 GB, free: 57.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001521/1.048, allocations: 406.2 kB / 0.6533 GB, free: 56.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.048, allocations: 120.4 kB / 0.6534 GB, free: 56.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.048, allocations: 0 / 0.6534 GB, free: 56.96 MB / 442.7 MB Notification: Performance of Templates: time 0.03704/1.085, allocations: 24.73 MB / 0.6775 GB, free: 55.81 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches