Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001647/0.001647, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.158/3.158, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001584/0.001584, allocations: 97.3 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006142/0.0006146, allocations: 8 kB / 328.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6086, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.8527, allocations: 113.8 MB / 489.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005865/0.8534, allocations: 87.95 kB / 489.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7459/1.599, allocations: 82.72 MB / 0.559 GB, free: 58.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.326e-06/1.6, allocations: 4 kB / 0.559 GB, free: 58.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006456/1.6, allocations: 67.88 kB / 0.559 GB, free: 58.2 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.01713/1.617, allocations: 2.958 MB / 0.5619 GB, free: 55.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.519e-05/1.617, allocations: 8.031 kB / 0.5619 GB, free: 55.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/1.622, allocations: 424.9 kB / 0.5623 GB, free: 54.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008449/1.63, allocations: 1.901 MB / 0.5642 GB, free: 52.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/1.631, allocations: 189.4 kB / 0.5644 GB, free: 52.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/1.632, allocations: 248.3 kB / 0.5646 GB, free: 52.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.645, allocations: 3.25 MB / 0.5678 GB, free: 48.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.645, allocations: 11.94 kB / 0.5678 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/1.645, allocations: 112 kB / 0.5679 GB, free: 48.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002323/1.646, allocations: 108.9 kB / 0.568 GB, free: 48.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/1.656, allocations: 2.592 MB / 0.5705 GB, free: 46.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03962/1.696, allocations: 10.48 MB / 0.5808 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/1.701, allocations: 1.829 MB / 0.5826 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/1.703, allocations: 0.9167 MB / 0.5835 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006175/1.704, allocations: 219.1 kB / 0.5837 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/1.704, allocations: 43.56 kB / 0.5837 GB, free: 32.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 7.284e-06/1.704, allocations: 4 kB / 0.5837 GB, free: 32.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.03537/1.739, allocations: 8.734 MB / 0.5922 GB, free: 23.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/1.739, allocations: 72.72 kB / 0.5923 GB, free: 23.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006949/1.746, allocations: 1.849 MB / 0.5941 GB, free: 21.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.747, allocations: 45.7 kB / 0.5942 GB, free: 21.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.749, allocations: 1.249 MB / 0.5954 GB, free: 20.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.75, allocations: 488.9 kB / 0.5958 GB, free: 19.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/1.75, allocations: 36 kB / 0.5959 GB, free: 19.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/1.751, allocations: 373.9 kB / 0.5962 GB, free: 19.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/1.754, allocations: 0.8784 MB / 0.5971 GB, free: 18.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.757, allocations: 1.369 MB / 0.5984 GB, free: 16.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006277/1.763, allocations: 2.394 MB / 0.6008 GB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/1.763, allocations: 4 kB / 0.6008 GB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.01021/1.774, allocations: 2.991 MB / 0.6037 GB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/1.774, allocations: 12 kB / 0.6037 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/1.774, allocations: 16 kB / 0.6037 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/1.776, allocations: 0.5918 MB / 0.6043 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.779, allocations: 407.4 kB / 0.6047 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.792, allocations: 5.469 MB / 0.61 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.796, allocations: 135.8 kB / 0.6102 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006108/1.796, allocations: 75.98 kB / 0.6102 GB, free: 4.242 MB / 378.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 () * 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.003692/1.8, allocations: 0.7986 MB / 0.611 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.801, allocations: 197.7 kB / 0.6112 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009083/1.81, allocations: 2.654 MB / 0.6138 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/1.811, allocations: 16 kB / 0.6138 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.811, allocations: 7.938 kB / 0.6138 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-05/1.811, allocations: 7.969 kB / 0.6138 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.833, allocations: 5.546 MB / 0.6192 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.558e-05/1.833, allocations: 4 kB / 0.6192 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.835, allocations: 251.6 kB / 0.6195 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/1.838, allocations: 0.6455 MB / 0.6201 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/1.838, allocations: 39.98 kB / 0.6202 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.855, allocations: 7.158 MB / 0.6271 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.855, allocations: 4 kB / 0.6271 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.867, allocations: 3.905 MB / 0.631 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.87, allocations: 462.5 kB / 0.6314 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009992/1.871, allocations: 35.98 kB / 0.6314 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.873, allocations: 119.9 kB / 0.6315 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005792/1.874, allocations: 121 kB / 0.6317 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.874, allocations: 47.98 kB / 0.6317 GB, free: 13.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004559/1.879, allocations: 1.267 MB / 0.6329 GB, free: 12.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.879, allocations: 0 / 0.6329 GB, free: 12.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005891/1.885, allocations: 0.6366 MB / 0.6336 GB, free: 11.84 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 () * Number of clocked 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.00151/1.886, allocations: 331.9 kB / 0.6339 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008458/1.895, allocations: 2.634 MB / 0.6365 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.895, allocations: 0 / 0.6365 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.901, allocations: 1.645 MB / 0.6381 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005849/1.906, allocations: 435.3 kB / 0.6385 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.928, allocations: 6.209 MB / 0.6445 GB, free: 440 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4699/2.398, allocations: 1.993 MB / 0.6465 GB, free: 92.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/2.4, allocations: 144.8 kB / 0.6466 GB, free: 92.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.776e-06/2.4, allocations: 2.531 kB / 0.6466 GB, free: 92.89 MB / 410.7 MB Notification: Performance of Templates: time 0.1889/2.589, allocations: 58.83 MB / 0.7041 GB, free: 75.59 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches