Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 209.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 39.94 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2394, allocations: 53.36 MB / 432.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01603/0.2554, allocations: 12.5 MB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009711/0.2651, allocations: 4.435 MB / 449.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.2677, allocations: 111.3 kB / 449.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003601/0.2713, allocations: 1.001 MB / 450.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004851/0.2762, allocations: 1.328 MB / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.279, allocations: 0.919 MB / 452.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006181/0.2852, allocations: 4.147 MB / 456.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.2879, allocations: 1.805 MB / 458.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.291, allocations: 1.971 MB / 460.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.2947, allocations: 2.23 MB / 462.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008786/0.2955, allocations: 0.5078 MB / 463.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2973, allocations: 0.7262 MB / 464 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.2984, allocations: 1.122 MB / 465.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.3008, allocations: 1.692 MB / 466.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007669/0.3085, allocations: 6.786 MB / 473.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3085, allocations: 0 / 473.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3085, allocations: 0 / 473.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3086, allocations: 0 / 473.6 MB, free: 13.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0113/0.3199, allocations: 4.439 MB / 478.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.32, allocations: 15.97 kB / 478.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/0.3244, allocations: 0.83 MB / 478.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.3298, allocations: 2.381 MB / 481.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.33, allocations: 246.8 kB / 481.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000724/0.3308, allocations: 331.9 kB / 481.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008169/0.3389, allocations: 4.417 MB / 486.3 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-05/0.339, allocations: 11.95 kB / 486.3 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.3393, allocations: 132 kB / 486.4 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.3395, allocations: 146.4 kB / 486.6 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006606/0.3461, allocations: 3.605 MB / 490.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02218/0.3683, allocations: 11.83 MB / 0.4902 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.3735, allocations: 2.589 MB / 0.4928 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.3759, allocations: 1.288 MB / 0.494 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006479/0.3824, allocations: 3.058 MB / 0.497 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.3824, allocations: 43.88 kB / 0.497 GB, free: 9.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 5.23e-06/0.3824, allocations: 3.984 kB / 0.497 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.012/0.3944, allocations: 5.218 MB / 0.5021 GB, free: 4.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3945, allocations: 72.66 kB / 0.5022 GB, free: 4.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.397, allocations: 1.616 MB / 0.5038 GB, free: 2.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3971, allocations: 45.7 kB / 0.5038 GB, free: 2.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.3983, allocations: 1.5 MB / 0.5053 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.3987, allocations: 0.4997 MB / 0.5058 GB, free: 320 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.3992, allocations: 315.4 kB / 0.5061 GB, free: 0 / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3994, allocations: 305.1 kB / 0.5064 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4005, allocations: 0.6793 MB / 0.507 GB, free: 15.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.4021, allocations: 1.226 MB / 0.5082 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.4051, allocations: 2.007 MB / 0.5102 GB, free: 11.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4051, allocations: 4 kB / 0.5102 GB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004486/0.4096, allocations: 2.449 MB / 0.5126 GB, free: 8.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4096, allocations: 16.03 kB / 0.5126 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.4096, allocations: 19.98 kB / 0.5126 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.4107, allocations: 364 kB / 0.513 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.4122, allocations: 379.4 kB / 0.5133 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/0.4203, allocations: 7.805 MB / 0.521 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4218, allocations: 79.91 kB / 0.521 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.4219, allocations: 76 kB / 0.5211 GB, free: 15.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001797/0.4237, allocations: 1.016 MB / 0.5221 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/0.4241, allocations: 182.9 kB / 0.5223 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.4281, allocations: 2.11 MB / 0.5243 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4281, allocations: 12 kB / 0.5243 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4281, allocations: 8 kB / 0.5244 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.4282, allocations: 11.91 kB / 0.5244 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/0.4359, allocations: 4.208 MB / 0.5285 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.4359, allocations: 3.984 kB / 0.5285 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.4368, allocations: 179.7 kB / 0.5287 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.4383, allocations: 0.5232 MB / 0.5292 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4384, allocations: 43.97 kB / 0.5292 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2389/0.6773, allocations: 12.34 MB / 0.5413 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6773, allocations: 7.188 kB / 0.5413 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.6824, allocations: 3.048 MB / 0.5442 GB, free: 93.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.6835, allocations: 343.6 kB / 0.5446 GB, free: 93.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.6837, allocations: 31.31 kB / 0.5446 GB, free: 93.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.6846, allocations: 66.17 kB / 0.5447 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.6849, allocations: 111.8 kB / 0.5448 GB, free: 93.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.685, allocations: 42.64 kB / 0.5448 GB, free: 93.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.6866, allocations: 1.076 MB / 0.5459 GB, free: 92.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6866, allocations: 0.9375 kB / 0.5459 GB, free: 92.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002144/0.6887, allocations: 0.5828 MB / 0.5464 GB, free: 92.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003197/0.689, allocations: 170.3 kB / 0.5466 GB, free: 92.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.6921, allocations: 2.219 MB / 0.5488 GB, free: 91.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6921, allocations: 1.5 kB / 0.5488 GB, free: 91.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.6942, allocations: 1.677 MB / 0.5504 GB, free: 90.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.6963, allocations: 465 kB / 0.5508 GB, free: 90.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/0.7048, allocations: 5.881 MB / 0.5566 GB, free: 86.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.7062, allocations: 1.711 MB / 0.5583 GB, free: 85.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.7067, allocations: 134.8 kB / 0.5584 GB, free: 85.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7067, allocations: 3.609 kB / 0.5584 GB, free: 85.34 MB / 446.1 MB Notification: Performance of Templates: time 0.1096/0.8163, allocations: 129.5 MB / 0.6849 GB, free: 4.828 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.662668742006645]