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.001404/0.001404, allocations: 175.9 kB / 8.348 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009812, allocations: 93.67 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.789e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09374, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4436, allocations: 113.4 MB / 0.4892 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.444, allocations: 91.94 kB / 0.4893 GB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/0.8856, allocations: 82.18 MB / 0.5695 GB, free: 97.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8857, allocations: 3.469 kB / 0.5695 GB, free: 97.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004179/0.8861, allocations: 70.55 kB / 0.5696 GB, free: 97.74 MB / 426.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.00992/0.896, allocations: 2.622 MB / 0.5721 GB, free: 96.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8961, allocations: 12.5 kB / 0.5722 GB, free: 96.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.899, allocations: 414.7 kB / 0.5726 GB, free: 96.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.9045, allocations: 1.853 MB / 0.5744 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.9047, allocations: 81.34 kB / 0.5744 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.9058, allocations: 155.2 kB / 0.5746 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005905/0.9117, allocations: 2.302 MB / 0.5768 GB, free: 95.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007094/0.9188, allocations: 2.787 MB / 0.5796 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.9189, allocations: 7.219 kB / 0.5796 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005104/0.9194, allocations: 2.375 kB / 0.5796 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.9196, allocations: 106.6 kB / 0.5797 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.9383, allocations: 9.98 MB / 0.5894 GB, free: 92.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.9402, allocations: 1.736 MB / 0.5911 GB, free: 91.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.9413, allocations: 0.8301 MB / 0.5919 GB, free: 90.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.9417, allocations: 222.2 kB / 0.5921 GB, free: 90.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.9417, allocations: 47.31 kB / 0.5922 GB, free: 90.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 2.855e-06/0.9417, allocations: 0 / 0.5922 GB, free: 90.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.01031/0.952, allocations: 5.455 MB / 0.5975 GB, free: 88.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.9521, allocations: 68.09 kB / 0.5976 GB, free: 88.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.9542, allocations: 1.371 MB / 0.5989 GB, free: 87.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.9543, allocations: 29.22 kB / 0.5989 GB, free: 87.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/0.9549, allocations: 1.243 MB / 0.6002 GB, free: 86.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.9552, allocations: 484.1 kB / 0.6006 GB, free: 86.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.9553, allocations: 7.969 kB / 0.6006 GB, free: 86.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9554, allocations: 375.2 kB / 0.601 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009255/0.9564, allocations: 0.7751 MB / 0.6017 GB, free: 85.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.9575, allocations: 1.253 MB / 0.603 GB, free: 84.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9587, allocations: 0.9885 MB / 0.6039 GB, free: 84.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/0.9587, allocations: 3.656 kB / 0.6039 GB, free: 84.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.003959/0.9627, allocations: 2.664 MB / 0.6065 GB, free: 83.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.9627, allocations: 14.38 kB / 0.6065 GB, free: 83.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.9628, allocations: 19.09 kB / 0.6066 GB, free: 83.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.9641, allocations: 0.5854 MB / 0.6071 GB, free: 83.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.9655, allocations: 416.9 kB / 0.6075 GB, free: 83.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.9711, allocations: 5.216 MB / 0.6126 GB, free: 80.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.973, allocations: 104 kB / 0.6127 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.9732, allocations: 70.88 kB / 0.6128 GB, free: 80.49 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 () * 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.0003021/0.9735, allocations: 147.2 kB / 0.6129 GB, free: 80.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.9739, allocations: 189.7 kB / 0.6131 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.9777, allocations: 2.397 MB / 0.6155 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.9777, allocations: 14.38 kB / 0.6155 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.9778, allocations: 6.875 kB / 0.6155 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.9778, allocations: 7.5 kB / 0.6155 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007978/0.9858, allocations: 4.991 MB / 0.6204 GB, free: 77.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.9858, allocations: 7.656 kB / 0.6204 GB, free: 77.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.9868, allocations: 257.5 kB / 0.6206 GB, free: 77.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.9885, allocations: 0.6398 MB / 0.6212 GB, free: 77.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.9886, allocations: 26.3 kB / 0.6213 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.9953, allocations: 6.872 MB / 0.628 GB, free: 71.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.9954, allocations: 7.938 kB / 0.628 GB, free: 71.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/1, allocations: 3.819 MB / 0.6317 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.001, allocations: 444.2 kB / 0.6321 GB, free: 67.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/1.002, allocations: 19.7 kB / 0.6321 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.003, allocations: 99.34 kB / 0.6322 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.003, allocations: 112.1 kB / 0.6324 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/1.003, allocations: 47.28 kB / 0.6324 GB, free: 67.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001348/1.005, allocations: 1.033 MB / 0.6334 GB, free: 66.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.005, allocations: 0 / 0.6334 GB, free: 66.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002013/1.007, allocations: 0.5387 MB / 0.6339 GB, free: 66.22 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 () * 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.0005201/1.007, allocations: 335.9 kB / 0.6343 GB, free: 65.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/1.01, allocations: 2.385 MB / 0.6366 GB, free: 63.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.01, allocations: 2.562 kB / 0.6366 GB, free: 63.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.012, allocations: 1.532 MB / 0.6381 GB, free: 62.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.014, allocations: 307.9 kB / 0.6384 GB, free: 62.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/1.021, allocations: 4.101 MB / 0.6424 GB, free: 58.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.023, allocations: 2.075 MB / 0.6444 GB, free: 56.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00136/1.024, allocations: 404.1 kB / 0.6448 GB, free: 56.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.024, allocations: 118.7 kB / 0.6449 GB, free: 56.36 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/1.024, allocations: 0 / 0.6449 GB, free: 56.36 MB / 426.7 MB Notification: Performance of Templates: time 0.03894/1.063, allocations: 24.66 MB / 0.669 GB, free: 33.89 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/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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches