Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.29/1.29, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007825/0.0007827, allocations: 87.39 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.3722, allocations: 117.5 MB / 493.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.3725, allocations: 87.95 kB / 493.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.111, allocations: 168.9 MB / 0.6467 GB, free: 32.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.111, allocations: 0 / 0.6467 GB, free: 32.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007411/1.112, allocations: 175.6 kB / 0.6469 GB, free: 32.7 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0223/1.134, allocations: 7.218 MB / 0.654 GB, free: 31.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.134, allocations: 15.19 kB / 0.654 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009056/1.143, allocations: 1.607 MB / 0.6555 GB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/1.157, allocations: 5.408 MB / 0.6608 GB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006232/1.158, allocations: 0.5349 MB / 0.6614 GB, free: 30.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002806/1.161, allocations: 0.7074 MB / 0.662 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.187, allocations: 9.601 MB / 0.6714 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004361/1.188, allocations: 19.31 kB / 0.6714 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002364/1.19, allocations: 304.4 kB / 0.6717 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/1.191, allocations: 341.5 kB / 0.6721 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/1.212, allocations: 7.8 MB / 0.6797 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05873/1.271, allocations: 30.7 MB / 0.7096 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/1.284, allocations: 16.18 MB / 0.7254 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005384/1.289, allocations: 3.155 MB / 0.7285 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/1.305, allocations: 8.264 MB / 0.7366 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/1.305, allocations: 68.8 kB / 0.7367 GB, free: 3.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=288): time 6.232e-06/1.305, allocations: 0 / 0.7367 GB, free: 3.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=296): time 0.02525/1.331, allocations: 11.87 MB / 0.7482 GB, free: 13.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.331, allocations: 80.2 kB / 0.7483 GB, free: 13.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007769/1.339, allocations: 3.637 MB / 0.7519 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/1.339, allocations: 76.55 kB / 0.7519 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003122/1.342, allocations: 3.181 MB / 0.7551 GB, free: 9.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.344, allocations: 1.018 MB / 0.756 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.345, allocations: 74.66 kB / 0.7561 GB, free: 8.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004123/1.345, allocations: 456.2 kB / 0.7566 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/1.348, allocations: 1.506 MB / 0.758 GB, free: 7.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/1.352, allocations: 2.634 MB / 0.7606 GB, free: 5.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/1.359, allocations: 4.425 MB / 0.7649 GB, free: 2.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/1.359, allocations: 7.375 kB / 0.7649 GB, free: 2.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.009587/1.368, allocations: 5.067 MB / 0.7699 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/1.369, allocations: 21.56 kB / 0.7699 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-05/1.369, allocations: 33.69 kB / 0.7699 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/1.37, allocations: 407.1 kB / 0.7703 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.373, allocations: 0.8776 MB / 0.7712 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/1.379, allocations: 7.342 MB / 0.7783 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/1.383, allocations: 187.5 kB / 0.7785 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/1.384, allocations: 158.6 kB / 0.7787 GB, free: 8.984 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * 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 (456): * Single equations (assignments): 450 * 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.005827/1.39, allocations: 2.146 MB / 0.7808 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.391, allocations: 403 kB / 0.7812 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009843/1.401, allocations: 4.55 MB / 0.7856 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/1.401, allocations: 28 kB / 0.7856 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/1.401, allocations: 15.94 kB / 0.7856 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/1.401, allocations: 14.16 kB / 0.7857 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02751/1.429, allocations: 10.71 MB / 0.7961 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.429, allocations: 7.562 kB / 0.7961 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.431, allocations: 458.8 kB / 0.7966 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/1.434, allocations: 0.8858 MB / 0.7974 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005729/1.434, allocations: 85.05 kB / 0.7975 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0183/1.453, allocations: 16.34 MB / 0.8135 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.453, allocations: 6.344 kB / 0.8135 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.466, allocations: 6.577 MB / 0.8199 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/1.469, allocations: 0.8221 MB / 0.8207 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.47, allocations: 67.8 kB / 0.8208 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.473, allocations: 157.9 kB / 0.8209 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/1.474, allocations: 224.3 kB / 0.8211 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003236/1.474, allocations: 90.38 kB / 0.8212 GB, free: 1.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.2385/1.712, allocations: 2.493 MB / 0.8236 GB, free: 88.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.713, allocations: 0 / 0.8236 GB, free: 88.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005362/1.718, allocations: 1.282 MB / 0.8249 GB, free: 88.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (226): * Single equations (assignments): 219 * 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%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009733/1.719, allocations: 0.5752 MB / 0.8255 GB, free: 88.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006038/1.725, allocations: 4.403 MB / 0.8298 GB, free: 87.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.725, allocations: 3.094 kB / 0.8298 GB, free: 87.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003968/1.729, allocations: 3.049 MB / 0.8327 GB, free: 86.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007833/1.737, allocations: 1.058 MB / 0.8338 GB, free: 86.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.763, allocations: 15.17 MB / 0.8486 GB, free: 80.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008288/1.771, allocations: 4.245 MB / 0.8527 GB, free: 79.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/1.773, allocations: 308.2 kB / 0.853 GB, free: 79.17 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/1.773, allocations: 1.25 kB / 0.853 GB, free: 79.17 MB / 474.7 MB Notification: Performance of Templates: time 0.7258/2.499, allocations: 320.7 MB / 1.166 GB, free: 101.4 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches