Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 175.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 95.61 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 11.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2079, allocations: 50.39 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/0.504, allocations: 114.3 MB / 0.505 GB, free: 100.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5044, allocations: 94.52 kB / 0.5051 GB, free: 100.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1913/0.6957, allocations: 83.01 MB / 0.5861 GB, free: 28.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6957, allocations: 0 / 0.5861 GB, free: 28.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002369/0.696, allocations: 71.88 kB / 0.5862 GB, free: 28.15 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.0069/0.7029, allocations: 2.954 MB / 0.5891 GB, free: 25.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.703, allocations: 12.03 kB / 0.5891 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.7047, allocations: 424.9 kB / 0.5895 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/0.7086, allocations: 1.905 MB / 0.5914 GB, free: 22.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.7087, allocations: 193.4 kB / 0.5915 GB, free: 22.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/0.7094, allocations: 260.3 kB / 0.5918 GB, free: 22.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.7156, allocations: 3.242 MB / 0.595 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-05/0.7157, allocations: 7.844 kB / 0.595 GB, free: 18.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.7161, allocations: 108 kB / 0.5951 GB, free: 18.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.678e-05/0.7162, allocations: 112.9 kB / 0.5952 GB, free: 18.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.7207, allocations: 2.588 MB / 0.5977 GB, free: 16.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.7348, allocations: 10.48 MB / 0.6079 GB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.7368, allocations: 1.83 MB / 0.6097 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.7383, allocations: 0.9128 MB / 0.6106 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.7387, allocations: 219.1 kB / 0.6108 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7387, allocations: 47.56 kB / 0.6109 GB, free: 2.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 4.478e-06/0.7387, allocations: 0 / 0.6109 GB, free: 2.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=144): time 0.03166/0.7704, allocations: 8.772 MB / 0.6194 GB, free: 9.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.7705, allocations: 72.66 kB / 0.6195 GB, free: 9.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/0.775, allocations: 1.841 MB / 0.6213 GB, free: 7.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.7752, allocations: 45.7 kB / 0.6213 GB, free: 7.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.7766, allocations: 1.249 MB / 0.6226 GB, free: 5.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.7772, allocations: 496.8 kB / 0.623 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7775, allocations: 32 kB / 0.6231 GB, free: 5.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.7777, allocations: 373.9 kB / 0.6234 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.7801, allocations: 0.8862 MB / 0.6243 GB, free: 4.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.7828, allocations: 1.365 MB / 0.6256 GB, free: 2.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.788, allocations: 2.394 MB / 0.628 GB, free: 20 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.788, allocations: 8 kB / 0.628 GB, free: 12 kB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008017/0.7961, allocations: 2.995 MB / 0.6309 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.7961, allocations: 15.98 kB / 0.6309 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.7962, allocations: 16 kB / 0.6309 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.7983, allocations: 0.5801 MB / 0.6315 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.8005, allocations: 423.2 kB / 0.6319 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.8113, allocations: 5.474 MB / 0.6372 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.814, allocations: 139.8 kB / 0.6374 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.8144, allocations: 71.98 kB / 0.6374 GB, free: 6.156 MB / 410.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 (188): * Single equations (assignments): 184 * 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.002493/0.8169, allocations: 0.8016 MB / 0.6382 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/0.8177, allocations: 197.6 kB / 0.6384 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007946/0.8257, allocations: 2.662 MB / 0.641 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.8258, allocations: 12 kB / 0.641 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.8258, allocations: 8 kB / 0.641 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.8258, allocations: 11.91 kB / 0.641 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.8423, allocations: 5.558 MB / 0.6465 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/0.8424, allocations: 4.469 kB / 0.6465 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8441, allocations: 263.6 kB / 0.6467 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/0.8469, allocations: 0.6541 MB / 0.6474 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.8471, allocations: 36.11 kB / 0.6474 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.8612, allocations: 7.163 MB / 0.6544 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.8612, allocations: 4 kB / 0.6544 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.8719, allocations: 3.909 MB / 0.6582 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.207/1.079, allocations: 469.6 kB / 0.6587 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/1.08, allocations: 33.88 kB / 0.6587 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.082, allocations: 116.5 kB / 0.6588 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004868/1.082, allocations: 119 kB / 0.6589 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.082, allocations: 44.62 kB / 0.659 GB, free: 93.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002827/1.085, allocations: 1.274 MB / 0.6602 GB, free: 93.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.085, allocations: 0 / 0.6602 GB, free: 93.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002968/1.088, allocations: 0.6356 MB / 0.6608 GB, free: 93.41 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * 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.0008009/1.089, allocations: 342.8 kB / 0.6612 GB, free: 93.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004286/1.093, allocations: 2.632 MB / 0.6637 GB, free: 93.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.093, allocations: 2.719 kB / 0.6637 GB, free: 93.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002578/1.096, allocations: 1.653 MB / 0.6653 GB, free: 92.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.099, allocations: 427.3 kB / 0.6658 GB, free: 92.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008701/1.108, allocations: 6.175 MB / 0.6718 GB, free: 90.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.11, allocations: 2.025 MB / 0.6738 GB, free: 89.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001614/1.112, allocations: 418.9 kB / 0.6742 GB, free: 89.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/1.112, allocations: 126 kB / 0.6743 GB, free: 89.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/1.112, allocations: 0 / 0.6743 GB, free: 89.41 MB / 426.7 MB Notification: Performance of Templates: time 0.04754/1.16, allocations: 31.38 MB / 0.7049 GB, free: 88.3 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches