Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 119.4 kB / 18.41 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 192.3 kB / 21.34 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 358.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1005, allocations: 49.44 MB / 408.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0153/0.1159, allocations: 12.82 MB / 420.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008349/0.1243, allocations: 4.244 MB / 425.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.1262, allocations: 79.69 kB / 425.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.1293, allocations: 0.9668 MB / 426.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.1334, allocations: 1.278 MB / 427.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.1357, allocations: 0.838 MB / 428.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1935/0.3292, allocations: 3.883 MB / 432.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.3331, allocations: 3.221 MB / 435.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.3362, allocations: 1.826 MB / 437.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00381/0.3401, allocations: 2.064 MB / 439.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.3417, allocations: 0.5002 MB / 439.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.3443, allocations: 0.7017 MB / 440.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.3459, allocations: 1.096 MB / 441.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004261/0.3502, allocations: 2.08 MB / 443.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.3598, allocations: 6.619 MB / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3598, allocations: 3.328 kB / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3599, allocations: 0 / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.3601, allocations: 1.531 kB / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01551/0.3756, allocations: 4.38 MB / 454.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3756, allocations: 17.47 kB / 454.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005411/0.3811, allocations: 0.8163 MB / 455.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005847/0.3869, allocations: 2.407 MB / 458 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.3872, allocations: 228.7 kB / 458.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.3884, allocations: 322.1 kB / 458.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009892/0.3983, allocations: 4.221 MB / 462.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.612e-05/0.3984, allocations: 2.812 kB / 462.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.3988, allocations: 130.1 kB / 462.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.399, allocations: 151.1 kB / 463 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007677/0.4066, allocations: 3.608 MB / 466.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/0.4334, allocations: 13.05 MB / 479.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.4413, allocations: 6.893 MB / 486.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.444, allocations: 1.351 MB / 487.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007354/0.4513, allocations: 3.74 MB / 491.6 MB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.4514, allocations: 43.56 kB / 491.7 MB, free: 1.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=120): time 3.377e-06/0.4514, allocations: 4 kB / 491.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.01264/0.4641, allocations: 5.431 MB / 497.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.4642, allocations: 64.41 kB / 497.2 MB, free: 12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.4681, allocations: 1.701 MB / 498.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.4684, allocations: 52.42 kB / 498.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4697, allocations: 1.437 MB / 0.4886 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006223/0.4703, allocations: 451 kB / 0.4891 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/0.471, allocations: 295.1 kB / 0.4893 GB, free: 8.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4712, allocations: 301.1 kB / 0.4896 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.4726, allocations: 0.6442 MB / 0.4903 GB, free: 7.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.4743, allocations: 1.107 MB / 0.4913 GB, free: 5.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.4775, allocations: 1.878 MB / 0.4932 GB, free: 3.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/0.4776, allocations: 7.938 kB / 0.4932 GB, free: 3.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004777/0.4824, allocations: 2.326 MB / 0.4955 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.4824, allocations: 14.03 kB / 0.4955 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.4825, allocations: 16 kB / 0.4955 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.4833, allocations: 266.9 kB / 0.4957 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4847, allocations: 359 kB / 0.4961 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.4912, allocations: 6.209 MB / 0.5021 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.493, allocations: 76.08 kB / 0.5022 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.4934, allocations: 67.98 kB / 0.5023 GB, free: 10.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002436/0.4958, allocations: 0.9974 MB / 0.5033 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/0.4964, allocations: 190.8 kB / 0.5034 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/0.5012, allocations: 2.131 MB / 0.5055 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.5012, allocations: 12 kB / 0.5055 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/0.5013, allocations: 8 kB / 0.5055 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.5013, allocations: 7.969 kB / 0.5055 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.5121, allocations: 4.824 MB / 0.5103 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5122, allocations: 4 kB / 0.5103 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.513, allocations: 171.4 kB / 0.5104 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.5144, allocations: 454.7 kB / 0.5109 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.5145, allocations: 35.98 kB / 0.5109 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.5265, allocations: 11.05 MB / 0.5217 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5266, allocations: 0 / 0.5217 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.5324, allocations: 3.014 MB / 0.5246 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.5336, allocations: 411.8 kB / 0.525 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/0.5342, allocations: 32 kB / 0.525 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.5355, allocations: 67.94 kB / 0.5251 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.5358, allocations: 96.81 kB / 0.5252 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5359, allocations: 35.98 kB / 0.5252 GB, free: 1.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00236/0.5383, allocations: 1.17 MB / 0.5264 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.125e-06/0.5383, allocations: 0 / 0.5264 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00246/0.5408, allocations: 0.5504 MB / 0.5269 GB, free: 152 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004033/0.5412, allocations: 161 kB / 0.5271 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00377/0.545, allocations: 2.085 MB / 0.5291 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.545, allocations: 0 / 0.5291 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.5476, allocations: 1.542 MB / 0.5306 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.5506, allocations: 0.5001 MB / 0.5311 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.5621, allocations: 5.517 MB / 0.5365 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.565, allocations: 2.227 MB / 0.5387 GB, free: 4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.5657, allocations: 135.4 kB / 0.5388 GB, free: 3.867 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5657, allocations: 4 kB / 0.5388 GB, free: 3.863 MB / 446.1 MB Notification: Performance of Templates: time 0.3305/0.8962, allocations: 109.2 MB / 0.6455 GB, free: 143.7 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.351131646079011]