Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 105.1 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.478e-05, allocations: 4 kB / 337.1 MB, free: 9.996 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.43 MB / 387.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4731, allocations: 118.9 MB / 0.4945 GB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.4735, allocations: 107.9 kB / 0.4946 GB, free: 7.766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6154/1.089, allocations: 167.6 MB / 0.6583 GB, free: 48.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.089, allocations: 3.938 kB / 0.6583 GB, free: 48.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007454/1.09, allocations: 178.4 kB / 0.6584 GB, free: 47.93 MB / 426.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.0235/1.113, allocations: 6.699 MB / 0.665 GB, free: 41.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.113, allocations: 12.02 kB / 0.665 GB, free: 41.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009938/1.123, allocations: 1.602 MB / 0.6665 GB, free: 39.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.141, allocations: 5.939 MB / 0.6723 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/1.141, allocations: 243.9 kB / 0.6726 GB, free: 33.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/1.144, allocations: 435.8 kB / 0.673 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02044/1.165, allocations: 7.109 MB / 0.6799 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03065/1.196, allocations: 8.302 MB / 0.688 GB, free: 17.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005699/1.196, allocations: 7.938 kB / 0.6881 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003053/1.199, allocations: 7.953 kB / 0.6881 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003556/1.2, allocations: 342.6 kB / 0.6884 GB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3501/1.55, allocations: 29.22 MB / 0.7169 GB, free: 45.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/1.563, allocations: 15.86 MB / 0.7324 GB, free: 33.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/1.569, allocations: 2.93 MB / 0.7353 GB, free: 33.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.586, allocations: 8.004 MB / 0.7431 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.586, allocations: 63.7 kB / 0.7431 GB, free: 32.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=288): time 6.793e-06/1.586, allocations: 3.844 kB / 0.7431 GB, free: 32.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=296): time 0.01848/1.604, allocations: 8.867 MB / 0.7518 GB, free: 30.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/1.604, allocations: 86.41 kB / 0.7519 GB, free: 30.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/1.608, allocations: 2.516 MB / 0.7543 GB, free: 30.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/1.609, allocations: 29.52 kB / 0.7544 GB, free: 30.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.611, allocations: 3.187 MB / 0.7575 GB, free: 29.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008762/1.612, allocations: 0.9775 MB / 0.7584 GB, free: 28.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.612, allocations: 0 / 0.7584 GB, free: 28.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/1.612, allocations: 459.1 kB / 0.7589 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.614, allocations: 1.345 MB / 0.7602 GB, free: 28.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.616, allocations: 2.43 MB / 0.7626 GB, free: 26.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/1.619, allocations: 2.14 MB / 0.7647 GB, free: 26.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.619, allocations: 11.78 kB / 0.7647 GB, free: 26.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.007769/1.627, allocations: 4.773 MB / 0.7693 GB, free: 26.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.627, allocations: 21.56 kB / 0.7693 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-05/1.627, allocations: 36.56 kB / 0.7694 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/1.628, allocations: 391.8 kB / 0.7698 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.631, allocations: 0.8719 MB / 0.7706 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/1.637, allocations: 7.048 MB / 0.7775 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.641, allocations: 105.3 kB / 0.7776 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.641, allocations: 167.1 kB / 0.7778 GB, free: 21.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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.0006933/1.642, allocations: 212.6 kB / 0.778 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.643, allocations: 357.7 kB / 0.7783 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/1.65, allocations: 4.405 MB / 0.7826 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/1.65, allocations: 28.62 kB / 0.7826 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.65, allocations: 11.59 kB / 0.7826 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/1.65, allocations: 16.22 kB / 0.7827 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.668, allocations: 9.548 MB / 0.792 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.668, allocations: 7.375 kB / 0.792 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.67, allocations: 465 kB / 0.7924 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.673, allocations: 0.8588 MB / 0.7933 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.673, allocations: 41.59 kB / 0.7933 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/1.686, allocations: 15.7 MB / 0.8086 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.686, allocations: 8.125 kB / 0.8086 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.699, allocations: 6.917 MB / 0.8154 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/1.702, allocations: 0.7567 MB / 0.8161 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.703, allocations: 17.84 kB / 0.8162 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/1.706, allocations: 117 kB / 0.8163 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/1.706, allocations: 216.9 kB / 0.8165 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.706, allocations: 89.06 kB / 0.8166 GB, free: 15.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00347/1.71, allocations: 1.849 MB / 0.8184 GB, free: 14.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.71, allocations: 3.5 kB / 0.8184 GB, free: 14.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006421/1.716, allocations: 1.127 MB / 0.8195 GB, free: 14.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.001545/1.718, allocations: 0.534 MB / 0.82 GB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007437/1.725, allocations: 4.01 MB / 0.8239 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.725, allocations: 0.5625 kB / 0.8239 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004627/1.73, allocations: 2.807 MB / 0.8267 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/1.736, allocations: 0.7587 MB / 0.8274 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.759, allocations: 10.05 MB / 0.8372 GB, free: 1.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007559/1.767, allocations: 4.476 MB / 0.8416 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004138/1.771, allocations: 0.839 MB / 0.8424 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.772, allocations: 261.9 kB / 0.8427 GB, free: 13.31 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/1.772, allocations: 4 kB / 0.8427 GB, free: 13.3 MB / 458.7 MB Notification: Performance of Templates: time 0.3662/2.138, allocations: 47.32 MB / 0.8889 GB, free: 91.85 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase/SMPM_Inverter_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches