Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008575/0.0008576, allocations: 86.36 kB / 262.5 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.797e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08867, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4298, allocations: 112.8 MB / 475.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.43, allocations: 89.25 kB / 476 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5532/0.9833, allocations: 157.4 MB / 0.6185 GB, free: 66.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9833, allocations: 4 kB / 0.6185 GB, free: 66.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006212/0.9839, allocations: 170.9 kB / 0.6187 GB, free: 65.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01982/1.004, allocations: 6.414 MB / 0.625 GB, free: 59.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.004, allocations: 12.03 kB / 0.625 GB, free: 59.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009575/1.013, allocations: 1.525 MB / 0.6265 GB, free: 57.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.029, allocations: 5.73 MB / 0.6321 GB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/1.029, allocations: 236 kB / 0.6323 GB, free: 51.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/1.032, allocations: 415.8 kB / 0.6327 GB, free: 51.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.023/1.055, allocations: 6.905 MB / 0.6394 GB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03319/1.088, allocations: 8.027 MB / 0.6473 GB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.089, allocations: 7.984 kB / 0.6473 GB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.091, allocations: 7.953 kB / 0.6473 GB, free: 36.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/1.091, allocations: 326.2 kB / 0.6476 GB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07792/1.169, allocations: 27.52 MB / 0.6745 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2721/1.441, allocations: 16.27 MB / 0.6904 GB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/1.447, allocations: 2.741 MB / 0.693 GB, free: 48.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.462, allocations: 7.516 MB / 0.7004 GB, free: 47.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.463, allocations: 64.77 kB / 0.7004 GB, free: 47.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 4.819e-06/1.463, allocations: 0 / 0.7004 GB, free: 47.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.01612/1.479, allocations: 8.094 MB / 0.7083 GB, free: 46.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.479, allocations: 78.31 kB / 0.7084 GB, free: 46.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/1.483, allocations: 2.356 MB / 0.7107 GB, free: 46.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005253/1.484, allocations: 25.7 kB / 0.7107 GB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.486, allocations: 3.055 MB / 0.7137 GB, free: 44.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/1.487, allocations: 0.867 MB / 0.7146 GB, free: 43.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.487, allocations: 0 / 0.7146 GB, free: 43.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/1.487, allocations: 441.7 kB / 0.715 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/1.489, allocations: 1.24 MB / 0.7162 GB, free: 43.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/1.491, allocations: 2.232 MB / 0.7184 GB, free: 42.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/1.494, allocations: 1.934 MB / 0.7203 GB, free: 42.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/1.494, allocations: 13.06 kB / 0.7203 GB, free: 42.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.007077/1.501, allocations: 4.377 MB / 0.7246 GB, free: 42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/1.501, allocations: 22.22 kB / 0.7246 GB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/1.501, allocations: 32.78 kB / 0.7246 GB, free: 42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/1.502, allocations: 379.3 kB / 0.725 GB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.505, allocations: 0.7929 MB / 0.7257 GB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/1.509, allocations: 7.035 MB / 0.7326 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.512, allocations: 102.1 kB / 0.7327 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/1.513, allocations: 146 kB / 0.7329 GB, free: 37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (408): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004996/1.513, allocations: 204 kB / 0.733 GB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/1.514, allocations: 326.5 kB / 0.7334 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/1.52, allocations: 4.048 MB / 0.7373 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.52, allocations: 23.56 kB / 0.7373 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.52, allocations: 12.38 kB / 0.7373 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.52, allocations: 13.52 kB / 0.7374 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.535, allocations: 8.804 MB / 0.746 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.535, allocations: 3.719 kB / 0.746 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.536, allocations: 404.1 kB / 0.7463 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.538, allocations: 0.8326 MB / 0.7472 GB, free: 34.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.538, allocations: 33.42 kB / 0.7472 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.551, allocations: 15.42 MB / 0.7622 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.551, allocations: 10.05 kB / 0.7623 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008703/1.56, allocations: 6.095 MB / 0.7682 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.561, allocations: 0.6941 MB / 0.7689 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.562, allocations: 20.97 kB / 0.7689 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.563, allocations: 109.4 kB / 0.769 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.564, allocations: 200.6 kB / 0.7692 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.564, allocations: 77.2 kB / 0.7693 GB, free: 18.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002425/1.566, allocations: 1.74 MB / 0.771 GB, free: 17.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.566, allocations: 0 / 0.771 GB, free: 17.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00416/1.571, allocations: 1.048 MB / 0.772 GB, free: 17.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007671/1.571, allocations: 468.6 kB / 0.7724 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004484/1.576, allocations: 3.708 MB / 0.7761 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.576, allocations: 3.531 kB / 0.7761 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.579, allocations: 2.634 MB / 0.7786 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.582, allocations: 0.6588 MB / 0.7793 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.6, allocations: 9.688 MB / 0.7887 GB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/1.604, allocations: 4.34 MB / 0.793 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003533/1.608, allocations: 0.7789 MB / 0.7937 GB, free: 4.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/1.608, allocations: 233.1 kB / 0.794 GB, free: 4.703 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.608, allocations: 0 / 0.794 GB, free: 4.703 MB / 410.7 MB Notification: Performance of Templates: time 0.08086/1.689, allocations: 42.88 MB / 0.8358 GB, free: 6.684 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches