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.001347/0.001347, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.556/1.556, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009665/0.0009666, allocations: 74.67 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.576e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08815, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4396, allocations: 117.1 MB / 487.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.44, allocations: 88.95 kB / 487.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5698/1.01, allocations: 169.4 MB / 0.6412 GB, free: 41.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.01, allocations: 0 / 0.6412 GB, free: 41.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004891/1.01, allocations: 175.8 kB / 0.6414 GB, free: 41.43 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.01833/1.029, allocations: 6.679 MB / 0.6479 GB, free: 34.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.029, allocations: 8.031 kB / 0.6479 GB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009173/1.038, allocations: 1.606 MB / 0.6495 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/1.053, allocations: 5.952 MB / 0.6553 GB, free: 27.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/1.053, allocations: 0.5342 MB / 0.6558 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/1.056, allocations: 0.7146 MB / 0.6565 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/1.078, allocations: 9.369 MB / 0.6657 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002424/1.078, allocations: 7.906 kB / 0.6657 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/1.079, allocations: 308 kB / 0.666 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/1.08, allocations: 346.6 kB / 0.6663 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/1.095, allocations: 7.551 MB / 0.6737 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3313/1.427, allocations: 30.65 MB / 0.7036 GB, free: 49.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.441, allocations: 16.01 MB / 0.7192 GB, free: 38.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008608/1.449, allocations: 3.046 MB / 0.7222 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02539/1.475, allocations: 8.192 MB / 0.7302 GB, free: 37.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/1.475, allocations: 64.64 kB / 0.7303 GB, free: 37.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.093e-06/1.475, allocations: 0 / 0.7303 GB, free: 37.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=292): time 0.0232/1.498, allocations: 8.403 MB / 0.7385 GB, free: 35.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.498, allocations: 81.39 kB / 0.7385 GB, free: 35.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/1.506, allocations: 3.192 MB / 0.7417 GB, free: 35.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007189/1.506, allocations: 79.86 kB / 0.7417 GB, free: 35.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/1.509, allocations: 3.187 MB / 0.7448 GB, free: 33.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.51, allocations: 1.003 MB / 0.7458 GB, free: 33.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/1.51, allocations: 73.69 kB / 0.7459 GB, free: 33.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/1.511, allocations: 452.7 kB / 0.7463 GB, free: 32.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.514, allocations: 1.405 MB / 0.7477 GB, free: 32.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/1.518, allocations: 2.526 MB / 0.7502 GB, free: 31.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/1.522, allocations: 1.899 MB / 0.752 GB, free: 31.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/1.522, allocations: 14.61 kB / 0.752 GB, free: 31.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01135/1.534, allocations: 4.864 MB / 0.7568 GB, free: 30.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/1.534, allocations: 24 kB / 0.7568 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-05/1.534, allocations: 35.88 kB / 0.7568 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/1.535, allocations: 406.6 kB / 0.7572 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/1.54, allocations: 0.8749 MB / 0.7581 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007129/1.547, allocations: 7.322 MB / 0.7652 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005184/1.553, allocations: 190.8 kB / 0.7654 GB, free: 25.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008642/1.554, allocations: 165.7 kB / 0.7656 GB, free: 25.63 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.001611/1.555, allocations: 338.8 kB / 0.7659 GB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/1.557, allocations: 402.5 kB / 0.7663 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.568, allocations: 4.36 MB / 0.7705 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/1.569, allocations: 29.72 kB / 0.7706 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/1.569, allocations: 14.44 kB / 0.7706 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/1.569, allocations: 22.19 kB / 0.7706 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/1.591, allocations: 10.41 MB / 0.7808 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.591, allocations: 3.438 kB / 0.7808 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.593, allocations: 452.2 kB / 0.7812 GB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.595, allocations: 0.8746 MB / 0.7821 GB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.595, allocations: 80.66 kB / 0.7821 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.609, allocations: 16.25 MB / 0.798 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.609, allocations: 9.969 kB / 0.798 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009252/1.618, allocations: 6.746 MB / 0.8046 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.62, allocations: 0.8126 MB / 0.8054 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000693/1.621, allocations: 70.12 kB / 0.8055 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.623, allocations: 161.7 kB / 0.8056 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/1.623, allocations: 222.7 kB / 0.8058 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.623, allocations: 85.09 kB / 0.8059 GB, free: 3.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004218/1.628, allocations: 2.416 MB / 0.8083 GB, free: 2.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.628, allocations: 0 / 0.8083 GB, free: 2.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005662/1.633, allocations: 1.272 MB / 0.8095 GB, free: 2.676 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.001145/1.635, allocations: 0.714 MB / 0.8102 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005381/1.64, allocations: 4.223 MB / 0.8143 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.64, allocations: 0 / 0.8143 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004417/1.644, allocations: 2.931 MB / 0.8172 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.005616/1.65, allocations: 1.041 MB / 0.8182 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.673, allocations: 10.32 MB / 0.8283 GB, free: 7.305 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005224/1.678, allocations: 4.476 MB / 0.8327 GB, free: 3.949 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003819/1.682, allocations: 0.8906 MB / 0.8335 GB, free: 3.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/1.683, allocations: 277.4 kB / 0.8338 GB, free: 3.074 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.683, allocations: 0 / 0.8338 GB, free: 3.074 MB / 442.7 MB Notification: Performance of Templates: time 0.3789/2.062, allocations: 61.38 MB / 0.8937 GB, free: 73.88 MB / 458.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