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.002339/0.002339, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.577/2.577, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001088/0.001088, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.079e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.09975, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4648/0.5647, allocations: 117.1 MB / 486.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.565, allocations: 96.31 kB / 486.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8854/1.45, allocations: 169.3 MB / 0.6403 GB, free: 41.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.451, allocations: 4 kB / 0.6403 GB, free: 41.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007405/1.451, allocations: 175.8 kB / 0.6405 GB, free: 41.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.0286/1.48, allocations: 6.683 MB / 0.647 GB, free: 34.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.48, allocations: 8.031 kB / 0.647 GB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/1.493, allocations: 1.599 MB / 0.6486 GB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02153/1.515, allocations: 5.952 MB / 0.6544 GB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007124/1.516, allocations: 0.5381 MB / 0.6549 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/1.519, allocations: 0.7107 MB / 0.6556 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/1.55, allocations: 9.366 MB / 0.6647 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00036/1.551, allocations: 15.89 kB / 0.6648 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/1.553, allocations: 308 kB / 0.665 GB, free: 16.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004013/1.553, allocations: 338.7 kB / 0.6654 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.578, allocations: 7.555 MB / 0.6727 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4222/2.001, allocations: 30.65 MB / 0.7027 GB, free: 49.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03077/2.031, allocations: 16 MB / 0.7183 GB, free: 37.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/2.045, allocations: 3.053 MB / 0.7213 GB, free: 37.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04012/2.085, allocations: 8.183 MB / 0.7293 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/2.085, allocations: 66.52 kB / 0.7293 GB, free: 36.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.234e-06/2.085, allocations: 3.656 kB / 0.7294 GB, free: 36.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=292): time 0.02631/2.111, allocations: 8.405 MB / 0.7376 GB, free: 35.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/2.111, allocations: 81.05 kB / 0.7376 GB, free: 35.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/2.122, allocations: 3.192 MB / 0.7408 GB, free: 34.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008264/2.123, allocations: 76.33 kB / 0.7408 GB, free: 34.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/2.127, allocations: 2.978 MB / 0.7437 GB, free: 33.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001933/2.129, allocations: 1.005 MB / 0.7447 GB, free: 32.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005708/2.13, allocations: 76.88 kB / 0.7448 GB, free: 32.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004187/2.13, allocations: 458.2 kB / 0.7452 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005843/2.136, allocations: 1.407 MB / 0.7466 GB, free: 32.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/2.143, allocations: 2.527 MB / 0.7491 GB, free: 31.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00773/2.151, allocations: 1.893 MB / 0.7509 GB, free: 31.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-05/2.151, allocations: 11.83 kB / 0.7509 GB, free: 31.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01906/2.171, allocations: 4.619 MB / 0.7554 GB, free: 30.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/2.171, allocations: 20.5 kB / 0.7555 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-05/2.171, allocations: 36.34 kB / 0.7555 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/2.173, allocations: 402.3 kB / 0.7559 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009451/2.182, allocations: 0.8732 MB / 0.7567 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/2.191, allocations: 7.325 MB / 0.7639 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/2.197, allocations: 187 kB / 0.7641 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008792/2.198, allocations: 166.2 kB / 0.7642 GB, free: 25.58 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (452): * Single equations (assignments): 446 * 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,88.9%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001024/2.199, allocations: 330.8 kB / 0.7645 GB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.2, allocations: 401.2 kB / 0.7649 GB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/2.213, allocations: 4.367 MB / 0.7692 GB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/2.213, allocations: 29.41 kB / 0.7692 GB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.83e-05/2.213, allocations: 15.59 kB / 0.7692 GB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/2.213, allocations: 18.06 kB / 0.7692 GB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/2.243, allocations: 10.42 MB / 0.7794 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/2.243, allocations: 5.812 kB / 0.7794 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/2.247, allocations: 447.2 kB / 0.7798 GB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/2.251, allocations: 0.8722 MB / 0.7807 GB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005901/2.252, allocations: 83.42 kB / 0.7808 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/2.275, allocations: 16.25 MB / 0.7967 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/2.275, allocations: 6.75 kB / 0.7967 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/2.292, allocations: 6.743 MB / 0.8032 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003517/2.295, allocations: 0.8169 MB / 0.804 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/2.297, allocations: 66.88 kB / 0.8041 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004411/2.301, allocations: 162.9 kB / 0.8043 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000931/2.302, allocations: 221.8 kB / 0.8045 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/2.303, allocations: 84.34 kB / 0.8046 GB, free: 3.809 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006664/2.309, allocations: 2.415 MB / 0.8069 GB, free: 2.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.309, allocations: 0 / 0.8069 GB, free: 2.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007641/2.317, allocations: 1.269 MB / 0.8082 GB, free: 2.742 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 215 * 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.001867/2.319, allocations: 0.7224 MB / 0.8089 GB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01058/2.33, allocations: 4.216 MB / 0.813 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/2.33, allocations: 0 / 0.813 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007938/2.338, allocations: 2.93 MB / 0.8158 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009569/2.347, allocations: 1.028 MB / 0.8168 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03879/2.386, allocations: 10.32 MB / 0.8269 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/2.398, allocations: 4.367 MB / 0.8312 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/2.401, allocations: 304.5 kB / 0.8315 GB, free: 4.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.645e-06/2.401, allocations: 0 / 0.8315 GB, free: 4.32 MB / 442.7 MB Notification: Performance of Templates: time 1.227/3.627, allocations: 301.9 MB / 1.126 GB, free: 91.16 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