Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001408/0.001407, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 87.95 kB / 262.4 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.418e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4663, allocations: 116.7 MB / 479.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4667, allocations: 90.5 kB / 479.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5859/1.053, allocations: 167.2 MB / 0.6319 GB, free: 52.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.053, allocations: 0 / 0.6319 GB, free: 52.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009175/1.054, allocations: 171.8 kB / 0.632 GB, free: 52.67 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.02322/1.077, allocations: 6.676 MB / 0.6385 GB, free: 45.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.077, allocations: 8.031 kB / 0.6386 GB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.087, allocations: 1.602 MB / 0.6401 GB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/1.103, allocations: 5.94 MB / 0.6459 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/1.103, allocations: 244 kB / 0.6462 GB, free: 38.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/1.106, allocations: 428.2 kB / 0.6466 GB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01799/1.124, allocations: 7.117 MB / 0.6535 GB, free: 30.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/1.15, allocations: 8.317 MB / 0.6616 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003833/1.151, allocations: 11.84 kB / 0.6616 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002489/1.153, allocations: 7.938 kB / 0.6617 GB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/1.154, allocations: 342.6 kB / 0.662 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3221/1.476, allocations: 29.25 MB / 0.6905 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/1.49, allocations: 15.85 MB / 0.706 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/1.496, allocations: 2.921 MB / 0.7089 GB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/1.512, allocations: 7.953 MB / 0.7166 GB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.512, allocations: 68.8 kB / 0.7167 GB, free: 35.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 6.712e-06/1.512, allocations: 0 / 0.7167 GB, free: 35.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=294): time 0.01678/1.529, allocations: 8.801 MB / 0.7253 GB, free: 34.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/1.529, allocations: 85.41 kB / 0.7254 GB, free: 34.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/1.533, allocations: 2.532 MB / 0.7278 GB, free: 33.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/1.534, allocations: 25.7 kB / 0.7279 GB, free: 33.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.535, allocations: 3.201 MB / 0.731 GB, free: 32.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008686/1.536, allocations: 0.9643 MB / 0.7319 GB, free: 31.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.537, allocations: 2.625 kB / 0.7319 GB, free: 31.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/1.537, allocations: 457.5 kB / 0.7324 GB, free: 31.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.538, allocations: 1.335 MB / 0.7337 GB, free: 31.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.541, allocations: 2.438 MB / 0.7361 GB, free: 30.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/1.544, allocations: 2.13 MB / 0.7381 GB, free: 30.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/1.544, allocations: 7.781 kB / 0.7382 GB, free: 30.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.008135/1.552, allocations: 4.762 MB / 0.7428 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/1.552, allocations: 20.22 kB / 0.7428 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/1.552, allocations: 34.91 kB / 0.7429 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009208/1.553, allocations: 393.7 kB / 0.7432 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/1.557, allocations: 0.8738 MB / 0.7441 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.562, allocations: 7.03 MB / 0.7509 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/1.565, allocations: 110.5 kB / 0.7511 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/1.566, allocations: 165 kB / 0.7512 GB, free: 24.61 MB / 410.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 (454): * Single equations (assignments): 448 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006601/1.567, allocations: 217.9 kB / 0.7514 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/1.568, allocations: 356.3 kB / 0.7518 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/1.575, allocations: 4.381 MB / 0.756 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.575, allocations: 29.12 kB / 0.7561 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/1.575, allocations: 10.59 kB / 0.7561 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.575, allocations: 14.72 kB / 0.7561 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.594, allocations: 9.517 MB / 0.7654 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.594, allocations: 13.94 kB / 0.7654 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/1.596, allocations: 454.4 kB / 0.7658 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/1.598, allocations: 0.8568 MB / 0.7667 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/1.599, allocations: 34.84 kB / 0.7667 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.612, allocations: 15.68 MB / 0.782 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.612, allocations: 8 kB / 0.782 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.622, allocations: 6.741 MB / 0.7886 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.625, allocations: 0.7598 MB / 0.7893 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005662/1.625, allocations: 18.47 kB / 0.7894 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.627, allocations: 109.5 kB / 0.7895 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/1.627, allocations: 227.7 kB / 0.7897 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.628, allocations: 84.8 kB / 0.7898 GB, free: 1.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002682/1.63, allocations: 1.857 MB / 0.7916 GB, free: 1.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.63, allocations: 0 / 0.7916 GB, free: 1.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004137/1.634, allocations: 1.126 MB / 0.7927 GB, free: 1.008 MB / 410.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 (223): * Single equations (assignments): 216 * 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.000824/1.635, allocations: 0.524 MB / 0.7932 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006185/1.641, allocations: 4.056 MB / 0.7971 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.641, allocations: 3.219 kB / 0.7971 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/1.645, allocations: 2.802 MB / 0.7999 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/1.649, allocations: 0.7551 MB / 0.8006 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.671, allocations: 10.07 MB / 0.8105 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00554/1.677, allocations: 4.475 MB / 0.8148 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004162/1.681, allocations: 0.8688 MB / 0.8157 GB, free: 0 / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.682, allocations: 270.2 kB / 0.8159 GB, free: 15.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.502e-06/1.682, allocations: 4 kB / 0.8159 GB, free: 15.79 MB / 442.7 MB Notification: Performance of Templates: time 0.3526/2.035, allocations: 47.18 MB / 0.862 GB, free: 72.21 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches