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.001039/0.001039, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009596/0.0009597, allocations: 82.69 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.401e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08615, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4216, allocations: 113.3 MB / 483.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4219, allocations: 81.39 kB / 483.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5701/0.992, allocations: 159.4 MB / 0.6277 GB, free: 55.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.992, allocations: 0 / 0.6277 GB, free: 55.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005313/0.9926, allocations: 171.8 kB / 0.6279 GB, free: 55.04 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.01743/1.01, allocations: 6.423 MB / 0.6342 GB, free: 48.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.01, allocations: 11.97 kB / 0.6342 GB, free: 48.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008461/1.019, allocations: 1.525 MB / 0.6357 GB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/1.031, allocations: 5.734 MB / 0.6413 GB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/1.032, allocations: 0.5138 MB / 0.6418 GB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/1.035, allocations: 0.6795 MB / 0.6424 GB, free: 39.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/1.056, allocations: 9.054 MB / 0.6513 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/1.056, allocations: 3.906 kB / 0.6513 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/1.058, allocations: 304 kB / 0.6516 GB, free: 30.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/1.058, allocations: 322.1 kB / 0.6519 GB, free: 30.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.074, allocations: 7.327 MB / 0.659 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/1.126, allocations: 28.85 MB / 0.6872 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4989/1.624, allocations: 16.43 MB / 0.7032 GB, free: 55.94 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005518/1.63, allocations: 2.854 MB / 0.706 GB, free: 55.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/1.644, allocations: 7.725 MB / 0.7136 GB, free: 54.98 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.645, allocations: 63.92 kB / 0.7136 GB, free: 54.94 MB / 426.8 MB Notification: Performance of pre-optimization done (n=254): time 4.579e-06/1.645, allocations: 3.906 kB / 0.7136 GB, free: 54.94 MB / 426.8 MB Notification: Performance of matching and sorting (n=260): time 0.01529/1.66, allocations: 7.745 MB / 0.7212 GB, free: 53.58 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.66, allocations: 81.78 kB / 0.7213 GB, free: 53.51 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007132/1.667, allocations: 2.921 MB / 0.7241 GB, free: 53.26 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000858/1.668, allocations: 67.36 kB / 0.7242 GB, free: 53.23 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.67, allocations: 3.05 MB / 0.7272 GB, free: 51.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.672, allocations: 0.8932 MB / 0.728 GB, free: 51.34 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.672, allocations: 70.41 kB / 0.7281 GB, free: 51.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001977/1.672, allocations: 439.2 kB / 0.7285 GB, free: 51.03 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/1.674, allocations: 1.298 MB / 0.7298 GB, free: 51.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/1.676, allocations: 2.319 MB / 0.7321 GB, free: 49.82 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/1.679, allocations: 1.755 MB / 0.7338 GB, free: 49.77 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/1.679, allocations: 8.562 kB / 0.7338 GB, free: 49.77 MB / 426.8 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.007182/1.686, allocations: 4.5 MB / 0.7382 GB, free: 49.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/1.686, allocations: 22.78 kB / 0.7382 GB, free: 49.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/1.686, allocations: 34.66 kB / 0.7382 GB, free: 49.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/1.687, allocations: 391.7 kB / 0.7386 GB, free: 49.26 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.69, allocations: 0.7934 MB / 0.7394 GB, free: 49.26 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/1.695, allocations: 7.31 MB / 0.7465 GB, free: 44.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/1.699, allocations: 172.6 kB / 0.7467 GB, free: 44.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/1.7, allocations: 143.6 kB / 0.7468 GB, free: 44.07 MB / 426.8 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 (406): * Single equations (assignments): 400 * 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,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006645/1.7, allocations: 319.1 kB / 0.7471 GB, free: 43.94 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.701, allocations: 367.5 kB / 0.7475 GB, free: 43.75 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006491/1.708, allocations: 4.037 MB / 0.7514 GB, free: 43.28 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.708, allocations: 30.22 kB / 0.7515 GB, free: 43.28 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.708, allocations: 11.06 kB / 0.7515 GB, free: 43.28 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.708, allocations: 17.11 kB / 0.7515 GB, free: 43.28 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.723, allocations: 9.668 MB / 0.7609 GB, free: 39.85 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.723, allocations: 5.719 kB / 0.7609 GB, free: 39.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.725, allocations: 403 kB / 0.7613 GB, free: 39.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/1.727, allocations: 0.8433 MB / 0.7621 GB, free: 39.57 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.727, allocations: 74.59 kB / 0.7622 GB, free: 39.53 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.74, allocations: 15.99 MB / 0.7778 GB, free: 26.83 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.74, allocations: 2.5 kB / 0.7778 GB, free: 26.83 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/1.748, allocations: 6.104 MB / 0.7838 GB, free: 23.64 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.751, allocations: 0.7401 MB / 0.7845 GB, free: 23.14 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/1.751, allocations: 59.47 kB / 0.7846 GB, free: 23.11 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.753, allocations: 151.2 kB / 0.7847 GB, free: 23.07 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.754, allocations: 202 kB / 0.7849 GB, free: 23.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.754, allocations: 77 kB / 0.785 GB, free: 23.02 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003093/1.757, allocations: 2.208 MB / 0.7871 GB, free: 22.15 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.757, allocations: 0 / 0.7871 GB, free: 22.15 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004324/1.761, allocations: 1.192 MB / 0.7883 GB, free: 22.03 MB / 426.8 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 (194): * Single equations (assignments): 187 * 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.0008743/1.762, allocations: 0.6238 MB / 0.7889 GB, free: 21.82 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00492/1.767, allocations: 3.914 MB / 0.7927 GB, free: 19.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.767, allocations: 3.594 kB / 0.7927 GB, free: 19.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.771, allocations: 2.753 MB / 0.7954 GB, free: 18.39 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.775, allocations: 0.9248 MB / 0.7963 GB, free: 18.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.794, allocations: 9.932 MB / 0.806 GB, free: 12.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00479/1.799, allocations: 4.347 MB / 0.8103 GB, free: 9.211 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003416/1.802, allocations: 0.826 MB / 0.8111 GB, free: 8.637 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.803, allocations: 252.9 kB / 0.8113 GB, free: 8.406 MB / 426.8 MB Notification: Performance of SimCode: time 7.81e-07/1.803, allocations: 0 / 0.8113 GB, free: 8.406 MB / 426.8 MB Notification: Performance of Templates: time 0.3479/2.151, allocations: 55.6 MB / 0.8656 GB, free: 92.6 MB / 458.8 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