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.001362/0.001362, allocations: 182.7 kB / 18.04 MB, free: 3.66 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.264/1.264, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0006972/0.0006972, allocations: 85.28 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2129, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3322, allocations: 117.5 MB / 494.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.3325, allocations: 95.89 kB / 494.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.705/1.038, allocations: 168.9 MB / 0.648 GB, free: 32.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.907e-06/1.038, allocations: 3.594 kB / 0.648 GB, free: 32.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007627/1.038, allocations: 173.9 kB / 0.6482 GB, free: 32.79 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.02203/1.06, allocations: 7.213 MB / 0.6552 GB, free: 31.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.06, allocations: 10.12 kB / 0.6553 GB, free: 31.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/1.069, allocations: 1.609 MB / 0.6568 GB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.08, allocations: 5.405 MB / 0.6621 GB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/1.081, allocations: 0.5404 MB / 0.6626 GB, free: 30.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/1.083, allocations: 0.713 MB / 0.6633 GB, free: 30.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/1.107, allocations: 9.597 MB / 0.6727 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/1.107, allocations: 21.8 kB / 0.6727 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001957/1.109, allocations: 302.6 kB / 0.673 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/1.11, allocations: 343.4 kB / 0.6733 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/1.13, allocations: 7.796 MB / 0.681 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05822/1.188, allocations: 30.7 MB / 0.7109 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/1.201, allocations: 16.18 MB / 0.7267 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005178/1.207, allocations: 3.152 MB / 0.7298 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/1.221, allocations: 8.265 MB / 0.7379 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.221, allocations: 63.42 kB / 0.7379 GB, free: 3.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=288): time 5.971e-06/1.221, allocations: 0 / 0.7379 GB, free: 3.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=296): time 0.02374/1.245, allocations: 11.86 MB / 0.7495 GB, free: 13.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.245, allocations: 80.95 kB / 0.7496 GB, free: 13.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006456/1.251, allocations: 3.635 MB / 0.7531 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005995/1.252, allocations: 79.23 kB / 0.7532 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/1.254, allocations: 3.193 MB / 0.7563 GB, free: 9.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.255, allocations: 1.012 MB / 0.7573 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.256, allocations: 76.69 kB / 0.7574 GB, free: 8.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/1.256, allocations: 450.9 kB / 0.7578 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/1.259, allocations: 1.498 MB / 0.7593 GB, free: 7.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003577/1.262, allocations: 2.643 MB / 0.7619 GB, free: 5.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006932/1.269, allocations: 4.419 MB / 0.7662 GB, free: 2.828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-05/1.269, allocations: 9.531 kB / 0.7662 GB, free: 2.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01089/1.28, allocations: 5.065 MB / 0.7711 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/1.28, allocations: 26.31 kB / 0.7712 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.523e-05/1.28, allocations: 35.88 kB / 0.7712 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.282, allocations: 401.2 kB / 0.7716 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/1.285, allocations: 0.8845 MB / 0.7725 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/1.293, allocations: 7.335 MB / 0.7796 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/1.297, allocations: 186.4 kB / 0.7798 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009433/1.298, allocations: 167.9 kB / 0.78 GB, free: 8.793 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.005713/1.304, allocations: 2.137 MB / 0.782 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.305, allocations: 403 kB / 0.7824 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.315, allocations: 4.555 MB / 0.7869 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/1.315, allocations: 32 kB / 0.7869 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/1.315, allocations: 18.62 kB / 0.7869 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.315, allocations: 17.81 kB / 0.7869 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/1.341, allocations: 10.77 MB / 0.7975 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.341, allocations: 4.562 kB / 0.7975 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.343, allocations: 458.7 kB / 0.7979 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/1.346, allocations: 0.8892 MB / 0.7988 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/1.346, allocations: 82.5 kB / 0.7988 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.364, allocations: 16.34 MB / 0.8148 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.364, allocations: 4 kB / 0.8148 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.376, allocations: 6.57 MB / 0.8212 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.378, allocations: 0.8241 MB / 0.822 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008804/1.379, allocations: 64 kB / 0.8221 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.381, allocations: 163.7 kB / 0.8222 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/1.381, allocations: 228.3 kB / 0.8225 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.382, allocations: 94.97 kB / 0.8226 GB, free: 1.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.2227/1.604, allocations: 2.516 MB / 0.825 GB, free: 88.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.604, allocations: 0 / 0.825 GB, free: 88.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005146/1.61, allocations: 1.278 MB / 0.8263 GB, free: 88.21 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.0008629/1.61, allocations: 0.5667 MB / 0.8268 GB, free: 88.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005739/1.616, allocations: 4.409 MB / 0.8311 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.616, allocations: 0 / 0.8311 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003717/1.62, allocations: 3.052 MB / 0.8341 GB, free: 86.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/1.627, allocations: 1.054 MB / 0.8351 GB, free: 86.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.647, allocations: 15.18 MB / 0.8499 GB, free: 80.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00439/1.652, allocations: 4.349 MB / 0.8542 GB, free: 79.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003652/1.656, allocations: 0.9038 MB / 0.8551 GB, free: 79.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/1.656, allocations: 282.3 kB / 0.8553 GB, free: 79.07 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/1.656, allocations: 0 / 0.8553 GB, free: 79.07 MB / 474.7 MB Notification: Performance of Templates: time 0.08849/1.745, allocations: 61.29 MB / 0.9152 GB, free: 74.47 MB / 474.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/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches