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.001137/0.001137, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008301, allocations: 105.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001953/0.0001954, allocations: 4 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1754, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2693/0.4447, allocations: 115 MB / 0.5121 GB, free: 98.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.445, allocations: 89.06 kB / 0.5122 GB, free: 98.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1821/0.6271, allocations: 83.28 MB / 0.5935 GB, free: 17.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6271, allocations: 4 kB / 0.5935 GB, free: 17.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001962/0.6273, allocations: 71.88 kB / 0.5936 GB, free: 17.03 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006092/0.6334, allocations: 2.985 MB / 0.5965 GB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6335, allocations: 12.03 kB / 0.5965 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.6352, allocations: 467.9 kB / 0.597 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.6388, allocations: 1.854 MB / 0.5988 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.639, allocations: 189 kB / 0.599 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005085/0.6395, allocations: 244.7 kB / 0.5992 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.6443, allocations: 3.241 MB / 0.6024 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/0.6444, allocations: 7.906 kB / 0.6024 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.6446, allocations: 108 kB / 0.6025 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.866e-05/0.6447, allocations: 108.9 kB / 0.6026 GB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.6484, allocations: 2.588 MB / 0.6051 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.6622, allocations: 10.48 MB / 0.6153 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.6645, allocations: 1.823 MB / 0.6171 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.6648, allocations: 227.1 kB / 0.6173 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6648, allocations: 43.56 kB / 0.6174 GB, free: 7.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.426e-06/0.6649, allocations: 0 / 0.6174 GB, free: 7.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=143): time 0.01948/0.6843, allocations: 8.92 MB / 0.6261 GB, free: 14.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6844, allocations: 72.72 kB / 0.6262 GB, free: 14.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.6867, allocations: 1.641 MB / 0.6278 GB, free: 13.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.6868, allocations: 49.7 kB / 0.6278 GB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.6877, allocations: 1.241 MB / 0.629 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.688, allocations: 0.489 MB / 0.6295 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.6881, allocations: 36 kB / 0.6295 GB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6883, allocations: 369.9 kB / 0.6299 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6896, allocations: 0.8862 MB / 0.6308 GB, free: 10.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.6913, allocations: 1.365 MB / 0.6321 GB, free: 8.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.6929, allocations: 1.088 MB / 0.6332 GB, free: 7.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6929, allocations: 4 kB / 0.6332 GB, free: 7.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004859/0.6978, allocations: 2.995 MB / 0.6361 GB, free: 4.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6978, allocations: 12.31 kB / 0.6361 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.6979, allocations: 20 kB / 0.6361 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.6993, allocations: 0.591 MB / 0.6367 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.7007, allocations: 411.4 kB / 0.6371 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007214/0.708, allocations: 5.668 MB / 0.6426 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.7098, allocations: 139.8 kB / 0.6428 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.7099, allocations: 71.98 kB / 0.6428 GB, free: 13.29 MB / 426.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 () * Number of clocked 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.00146/0.7114, allocations: 0.8016 MB / 0.6436 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/0.7117, allocations: 197.6 kB / 0.6438 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/0.7164, allocations: 2.662 MB / 0.6464 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.7164, allocations: 12 kB / 0.6464 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7164, allocations: 12 kB / 0.6464 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.7164, allocations: 11.92 kB / 0.6464 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009085/0.7255, allocations: 5.525 MB / 0.6518 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.7256, allocations: 4 kB / 0.6518 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.7266, allocations: 252 kB / 0.6521 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.7284, allocations: 0.6538 MB / 0.6527 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7285, allocations: 35.98 kB / 0.6527 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008559/0.737, allocations: 7.396 MB / 0.66 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7371, allocations: 11.89 kB / 0.66 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/0.7432, allocations: 4.09 MB / 0.664 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.7443, allocations: 462.5 kB / 0.6644 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.7446, allocations: 39.94 kB / 0.6644 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7457, allocations: 115.9 kB / 0.6646 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.746, allocations: 121 kB / 0.6647 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.7461, allocations: 39.98 kB / 0.6647 GB, free: 6.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001771/0.7478, allocations: 1.271 MB / 0.666 GB, free: 5.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7478, allocations: 0 / 0.666 GB, free: 5.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001806/0.7497, allocations: 0.6405 MB / 0.6666 GB, free: 4.367 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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.0005375/0.7502, allocations: 335.8 kB / 0.6669 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004118/0.7543, allocations: 2.638 MB / 0.6695 GB, free: 1.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7543, allocations: 0 / 0.6695 GB, free: 1.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.157/0.9114, allocations: 1.639 MB / 0.6711 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.9135, allocations: 411.8 kB / 0.6715 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.9209, allocations: 6.132 MB / 0.6775 GB, free: 99.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.9223, allocations: 2.071 MB / 0.6795 GB, free: 98.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001361/0.9237, allocations: 416.1 kB / 0.6799 GB, free: 98.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.924, allocations: 129.6 kB / 0.68 GB, free: 98.43 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.924, allocations: 6.938 kB / 0.68 GB, free: 98.43 MB / 442.7 MB Notification: Performance of Templates: time 0.03951/0.9636, allocations: 31.04 MB / 0.7103 GB, free: 97.32 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