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.001391/0.001392, allocations: 183.3 kB / 18.04 MB, free: 3.66 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.334/1.334, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007829/0.0007829, allocations: 92.36 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3518, allocations: 113.7 MB / 490.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.3521, allocations: 91.95 kB / 490.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4993/0.8513, allocations: 159 MB / 0.6346 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8514, allocations: 0 / 0.6346 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006187/0.852, allocations: 167.8 kB / 0.6347 GB, free: 12.77 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.02134/0.8734, allocations: 6.918 MB / 0.6415 GB, free: 5.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8734, allocations: 12.03 kB / 0.6415 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008664/0.8821, allocations: 1.522 MB / 0.643 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2015/1.084, allocations: 5.19 MB / 0.648 GB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000491/1.084, allocations: 0.5183 MB / 0.6485 GB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/1.086, allocations: 0.6845 MB / 0.6492 GB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/1.106, allocations: 9.266 MB / 0.6583 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/1.106, allocations: 8.719 kB / 0.6583 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/1.108, allocations: 296.9 kB / 0.6586 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/1.108, allocations: 323.6 kB / 0.6589 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/1.123, allocations: 7.568 MB / 0.6663 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05372/1.177, allocations: 28.9 MB / 0.6945 GB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.19, allocations: 16.61 MB / 0.7107 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.195, allocations: 2.962 MB / 0.7136 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/1.209, allocations: 7.787 MB / 0.7212 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.209, allocations: 62.81 kB / 0.7212 GB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=258): time 5.16e-06/1.209, allocations: 2.781 kB / 0.7213 GB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.02178/1.231, allocations: 11.03 MB / 0.732 GB, free: 8.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.231, allocations: 83 kB / 0.7321 GB, free: 7.973 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/1.236, allocations: 3.325 MB / 0.7353 GB, free: 6.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.236, allocations: 72.7 kB / 0.7354 GB, free: 6.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.238, allocations: 3.032 MB / 0.7384 GB, free: 4.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/1.239, allocations: 0.9178 MB / 0.7393 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.239, allocations: 68.47 kB / 0.7393 GB, free: 3.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/1.239, allocations: 440.3 kB / 0.7398 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/1.242, allocations: 1.385 MB / 0.7411 GB, free: 2.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/1.244, allocations: 2.428 MB / 0.7435 GB, free: 1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006279/1.251, allocations: 4.073 MB / 0.7475 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.719e-05/1.251, allocations: 11.09 kB / 0.7475 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008865/1.26, allocations: 4.688 MB / 0.7521 GB, free: 12.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/1.26, allocations: 18.31 kB / 0.7521 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-05/1.26, allocations: 31.31 kB / 0.7521 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.261, allocations: 395.1 kB / 0.7525 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/1.264, allocations: 0.8 MB / 0.7533 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/1.27, allocations: 7.345 MB / 0.7604 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.274, allocations: 173.6 kB / 0.7606 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/1.274, allocations: 149.6 kB / 0.7607 GB, free: 5.957 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 404 * 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.004668/1.279, allocations: 2.073 MB / 0.7628 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.28, allocations: 364.9 kB / 0.7631 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/1.288, allocations: 4.221 MB / 0.7672 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.288, allocations: 30.34 kB / 0.7673 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/1.288, allocations: 11.62 kB / 0.7673 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/1.288, allocations: 11.2 kB / 0.7673 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.307, allocations: 9.927 MB / 0.777 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.307, allocations: 0 / 0.777 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.309, allocations: 408.2 kB / 0.7774 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.312, allocations: 0.8539 MB / 0.7782 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.312, allocations: 77.64 kB / 0.7783 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/1.331, allocations: 16.18 MB / 0.7941 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/1.331, allocations: 9.625 kB / 0.7941 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.342, allocations: 6.051 MB / 0.8 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.344, allocations: 0.7466 MB / 0.8007 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/1.345, allocations: 66.58 kB / 0.8008 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.347, allocations: 151.7 kB / 0.8009 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.348, allocations: 205 kB / 0.8011 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.348, allocations: 83.27 kB / 0.8012 GB, free: 5.316 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004298/1.352, allocations: 2.245 MB / 0.8034 GB, free: 3.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.352, allocations: 0 / 0.8034 GB, free: 3.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004629/1.357, allocations: 1.191 MB / 0.8046 GB, free: 2.258 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * 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.0008908/1.358, allocations: 0.4975 MB / 0.805 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008835/1.367, allocations: 4.29 MB / 0.8092 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.367, allocations: 4 kB / 0.8092 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004514/1.371, allocations: 2.866 MB / 0.812 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006871/1.378, allocations: 0.9527 MB / 0.813 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2105/1.589, allocations: 14.6 MB / 0.8272 GB, free: 89.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004664/1.593, allocations: 4.23 MB / 0.8314 GB, free: 88.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003135/1.597, allocations: 0.8355 MB / 0.8322 GB, free: 88.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/1.597, allocations: 259.5 kB / 0.8324 GB, free: 88.92 MB / 474.7 MB Notification: Performance of SimCode: time 7.01e-07/1.597, allocations: 0 / 0.8324 GB, free: 88.92 MB / 474.7 MB Notification: Performance of Templates: time 0.0886/1.686, allocations: 55.67 MB / 0.8868 GB, free: 86.27 MB / 474.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/jenkins1/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