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.001383/0.001383, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.356/1.356, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0007445/0.0007446, allocations: 88.17 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002757, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2409, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.3713, allocations: 113.4 MB / 489.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.3716, allocations: 87.95 kB / 489.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.524/0.8957, allocations: 159.4 MB / 0.6334 GB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8957, allocations: 0 / 0.6334 GB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006692/0.8964, allocations: 171.8 kB / 0.6336 GB, free: 12.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.02519/0.9216, allocations: 6.984 MB / 0.6404 GB, free: 5.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.9217, allocations: 12.03 kB / 0.6404 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.9334, allocations: 1.525 MB / 0.6419 GB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2744/1.208, allocations: 5.769 MB / 0.6475 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00084/1.209, allocations: 0.5195 MB / 0.648 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003264/1.212, allocations: 0.6883 MB / 0.6487 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/1.246, allocations: 9.212 MB / 0.6577 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000507/1.247, allocations: 6.344 kB / 0.6577 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00284/1.25, allocations: 295.1 kB / 0.658 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/1.25, allocations: 321.3 kB / 0.6583 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/1.27, allocations: 7.573 MB / 0.6657 GB, free: 36.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0653/1.335, allocations: 28.87 MB / 0.6939 GB, free: 31.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.35, allocations: 16.6 MB / 0.7101 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/1.366, allocations: 6.628 MB / 0.7166 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/1.366, allocations: 66.38 kB / 0.7166 GB, free: 14.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 5.39e-06/1.366, allocations: 0 / 0.7166 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.02786/1.394, allocations: 12.02 MB / 0.7284 GB, free: 8.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.394, allocations: 91.05 kB / 0.7285 GB, free: 8.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/1.401, allocations: 2.924 MB / 0.7313 GB, free: 7.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005922/1.401, allocations: 73.55 kB / 0.7314 GB, free: 7.742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.403, allocations: 2.994 MB / 0.7343 GB, free: 5.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009949/1.404, allocations: 0.9931 MB / 0.7353 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/1.405, allocations: 69.81 kB / 0.7354 GB, free: 4.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/1.405, allocations: 442 kB / 0.7358 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.407, allocations: 1.469 MB / 0.7372 GB, free: 3.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/1.41, allocations: 2.456 MB / 0.7396 GB, free: 2.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/1.413, allocations: 1.925 MB / 0.7415 GB, free: 1.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/1.413, allocations: 11.44 kB / 0.7415 GB, free: 1.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00966/1.423, allocations: 4.997 MB / 0.7464 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.423, allocations: 17.97 kB / 0.7464 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-05/1.423, allocations: 34.31 kB / 0.7464 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.424, allocations: 433.3 kB / 0.7468 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.427, allocations: 0.8363 MB / 0.7477 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/1.434, allocations: 7.714 MB / 0.7552 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.437, allocations: 167.9 kB / 0.7554 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004247/1.437, allocations: 147 kB / 0.7555 GB, free: 8.969 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (422): * Single equations (assignments): 416 * 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%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004344/1.442, allocations: 2.084 MB / 0.7575 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009602/1.443, allocations: 373.5 kB / 0.7579 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008434/1.451, allocations: 4.522 MB / 0.7623 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.451, allocations: 27.69 kB / 0.7623 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/1.451, allocations: 12.69 kB / 0.7623 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/1.451, allocations: 16.8 kB / 0.7624 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/1.473, allocations: 10.79 MB / 0.7729 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.473, allocations: 9.25 kB / 0.7729 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/1.476, allocations: 488.3 kB / 0.7734 GB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/1.478, allocations: 0.856 MB / 0.7742 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.478, allocations: 79.59 kB / 0.7743 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/1.496, allocations: 16.37 MB / 0.7903 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.496, allocations: 8 kB / 0.7903 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.507, allocations: 6.854 MB / 0.797 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.51, allocations: 0.7685 MB / 0.7977 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008984/1.51, allocations: 71.56 kB / 0.7978 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.513, allocations: 158.5 kB / 0.7979 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.513, allocations: 215.4 kB / 0.7981 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.513, allocations: 91.64 kB / 0.7982 GB, free: 7.777 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004/1.517, allocations: 2.227 MB / 0.8004 GB, free: 5.914 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.517, allocations: 0 / 0.8004 GB, free: 5.914 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005114/1.523, allocations: 1.207 MB / 0.8016 GB, free: 4.715 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (221): * Single equations (assignments): 214 * 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 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/1.524, allocations: 0.5006 MB / 0.8021 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007762/1.531, allocations: 4.326 MB / 0.8063 GB, free: 448 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/1.531, allocations: 1 kB / 0.8063 GB, free: 448 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2154/1.747, allocations: 3.276 MB / 0.8095 GB, free: 77.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.751, allocations: 0.9293 MB / 0.8104 GB, free: 77.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.77, allocations: 14.73 MB / 0.8248 GB, free: 71.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/1.773, allocations: 4.35 MB / 0.829 GB, free: 70.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003113/1.776, allocations: 0.856 MB / 0.8299 GB, free: 70.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/1.777, allocations: 256.7 kB / 0.8301 GB, free: 70.4 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/1.777, allocations: 0 / 0.8301 GB, free: 70.4 MB / 458.7 MB Notification: Performance of Templates: time 0.08744/1.864, allocations: 55.85 MB / 0.8847 GB, free: 67.09 MB / 458.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