Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 185.3 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001131/0.001131, allocations: 100.4 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3269, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.4926, allocations: 105.5 MB / 480 MB, free: 7.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.493, allocations: 91.94 kB / 480.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4608/0.9538, allocations: 46.06 MB / 0.5138 GB, free: 95.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.9539, allocations: 0 / 0.5138 GB, free: 95.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002693/0.9542, allocations: 58.47 kB / 0.5139 GB, free: 95.95 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.01127/0.9654, allocations: 2.501 MB / 0.5163 GB, free: 94.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.9655, allocations: 11 kB / 0.5163 GB, free: 94.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.9676, allocations: 296.8 kB / 0.5166 GB, free: 94.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005898/0.9735, allocations: 1.613 MB / 0.5182 GB, free: 93.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.9737, allocations: 160.4 kB / 0.5184 GB, free: 93.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006065/0.9744, allocations: 211.9 kB / 0.5186 GB, free: 93.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/0.9818, allocations: 2.784 MB / 0.5213 GB, free: 91.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-05/0.9819, allocations: 7.25 kB / 0.5213 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/0.9822, allocations: 87.5 kB / 0.5214 GB, free: 91.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.9824, allocations: 95.53 kB / 0.5215 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.9891, allocations: 2.242 MB / 0.5236 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02271/1.012, allocations: 8.636 MB / 0.5321 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/1.016, allocations: 1.761 MB / 0.5338 GB, free: 80.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/1.016, allocations: 219 kB / 0.534 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.016, allocations: 47.56 kB / 0.5341 GB, free: 80.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.958e-06/1.017, allocations: 0 / 0.5341 GB, free: 80.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.02572/1.042, allocations: 7.064 MB / 0.541 GB, free: 73.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.042, allocations: 64.41 kB / 0.541 GB, free: 73.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.045, allocations: 1.247 MB / 0.5422 GB, free: 71.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/1.045, allocations: 49.7 kB / 0.5423 GB, free: 71.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/1.046, allocations: 0.9836 MB / 0.5432 GB, free: 70.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/1.047, allocations: 437.4 kB / 0.5437 GB, free: 70.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.047, allocations: 28 kB / 0.5437 GB, free: 70.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/1.047, allocations: 370.8 kB / 0.544 GB, free: 70.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/1.049, allocations: 0.7457 MB / 0.5448 GB, free: 69.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.051, allocations: 1.13 MB / 0.5459 GB, free: 68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.053, allocations: 0.9315 MB / 0.5468 GB, free: 67.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.053, allocations: 4 kB / 0.5468 GB, free: 67.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007024/1.06, allocations: 2.51 MB / 0.5492 GB, free: 64.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/1.061, allocations: 20.19 kB / 0.5493 GB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.061, allocations: 15.95 kB / 0.5493 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/1.063, allocations: 0.5765 MB / 0.5498 GB, free: 63.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.066, allocations: 335.5 kB / 0.5501 GB, free: 63.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.077, allocations: 6.539 MB / 0.5565 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.079, allocations: 115.9 kB / 0.5566 GB, free: 56.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.08, allocations: 56 kB / 0.5567 GB, free: 56.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (157): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001855/1.081, allocations: 0.693 MB / 0.5574 GB, free: 55.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/1.082, allocations: 162 kB / 0.5575 GB, free: 55.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007063/1.089, allocations: 2.402 MB / 0.5599 GB, free: 53.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.089, allocations: 12 kB / 0.5599 GB, free: 53.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.089, allocations: 4 kB / 0.5599 GB, free: 53.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/1.089, allocations: 7.969 kB / 0.5599 GB, free: 53.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.102, allocations: 4.782 MB / 0.5646 GB, free: 48.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.103, allocations: 4 kB / 0.5646 GB, free: 48.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.104, allocations: 208 kB / 0.5648 GB, free: 48.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/1.107, allocations: 0.6387 MB / 0.5654 GB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/1.108, allocations: 35.98 kB / 0.5654 GB, free: 47.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.121, allocations: 8.307 MB / 0.5735 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.121, allocations: 7.938 kB / 0.5735 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009078/1.13, allocations: 3.529 MB / 0.577 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.132, allocations: 398.9 kB / 0.5774 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/1.132, allocations: 28 kB / 0.5774 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/1.134, allocations: 99.89 kB / 0.5775 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/1.135, allocations: 96.81 kB / 0.5776 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.135, allocations: 39.97 kB / 0.5776 GB, free: 34.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002139/1.137, allocations: 0.9615 MB / 0.5786 GB, free: 33.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.137, allocations: 0 / 0.5786 GB, free: 33.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002664/1.14, allocations: 0.5195 MB / 0.5791 GB, free: 33.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008396/1.141, allocations: 313.8 kB / 0.5794 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006616/1.147, allocations: 2.38 MB / 0.5817 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.147, allocations: 0 / 0.5817 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004239/1.152, allocations: 1.54 MB / 0.5832 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.155, allocations: 383 kB / 0.5836 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.167, allocations: 5.445 MB / 0.5889 GB, free: 22.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/1.169, allocations: 1.85 MB / 0.5907 GB, free: 21.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/1.17, allocations: 123.4 kB / 0.5908 GB, free: 20.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/1.17, allocations: 0 / 0.5908 GB, free: 20.91 MB / 378.7 MB Notification: Performance of Templates: time 0.3892/1.559, allocations: 56.96 MB / 0.6464 GB, free: 115.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches