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.001582/0.001582, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001687/0.001687, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001536/0.001536, allocations: 51.86 kB / 379.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2325, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0165/0.249, allocations: 14.39 MB / 446.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008624/0.2576, allocations: 4.713 MB / 451.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2593, allocations: 103.4 kB / 451.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.2619, allocations: 1.068 MB / 452.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.2655, allocations: 1.348 MB / 454 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.2676, allocations: 0.9649 MB / 455 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.2726, allocations: 4.143 MB / 459.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.2752, allocations: 1.797 MB / 460.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.278, allocations: 1.959 MB / 462.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003571/0.2816, allocations: 2.246 MB / 465.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008158/0.2824, allocations: 0.5078 MB / 465.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.2839, allocations: 0.738 MB / 466.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.285, allocations: 1.13 MB / 467.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.2875, allocations: 2.143 MB / 469.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007804/0.2953, allocations: 6.763 MB / 476.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2953, allocations: 0 / 476.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2953, allocations: 0 / 476.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.2954, allocations: 8 kB / 476.4 MB, free: 10.69 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.01114/0.3066, allocations: 4.443 MB / 480.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3066, allocations: 15.95 kB / 480.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/0.3108, allocations: 0.8339 MB / 481.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/0.3156, allocations: 2.396 MB / 484.1 MB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.3158, allocations: 246.8 kB / 484.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005676/0.3164, allocations: 323.9 kB / 484.7 MB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007376/0.3238, allocations: 4.274 MB / 488.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.3239, allocations: 3.953 kB / 489 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.3242, allocations: 136 kB / 489.1 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.3243, allocations: 154.4 kB / 489.2 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006467/0.3308, allocations: 3.613 MB / 492.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.3539, allocations: 13.49 MB / 0.4945 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005167/0.3591, allocations: 2.608 MB / 0.497 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.3614, allocations: 1.288 MB / 0.4983 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006413/0.3678, allocations: 3.415 MB / 0.5016 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.3679, allocations: 51.88 kB / 0.5017 GB, free: 4.945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.825e-06/0.3679, allocations: 0 / 0.5017 GB, free: 4.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01148/0.3794, allocations: 5.241 MB / 0.5068 GB, free: 15.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3794, allocations: 64.72 kB / 0.5068 GB, free: 15.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.3821, allocations: 1.809 MB / 0.5086 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3823, allocations: 53.64 kB / 0.5087 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.3834, allocations: 1.49 MB / 0.5101 GB, free: 12.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.3839, allocations: 0.492 MB / 0.5106 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.3844, allocations: 319.4 kB / 0.5109 GB, free: 11.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3845, allocations: 305.1 kB / 0.5112 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3856, allocations: 0.6832 MB / 0.5119 GB, free: 10.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3872, allocations: 1.197 MB / 0.513 GB, free: 8.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.39, allocations: 2.006 MB / 0.515 GB, free: 6.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.39, allocations: 4 kB / 0.515 GB, free: 6.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004267/0.3942, allocations: 2.473 MB / 0.5174 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.3943, allocations: 12 kB / 0.5174 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3943, allocations: 16 kB / 0.5174 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009672/0.3952, allocations: 356.1 kB / 0.5178 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3966, allocations: 375.4 kB / 0.5181 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008182/0.4048, allocations: 7.986 MB / 0.5259 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4062, allocations: 79.91 kB / 0.526 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4063, allocations: 72.23 kB / 0.5261 GB, free: 10.93 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.001794/0.4081, allocations: 1.009 MB / 0.5271 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.4085, allocations: 210.6 kB / 0.5273 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.4125, allocations: 2.123 MB / 0.5293 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.4125, allocations: 16 kB / 0.5294 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4125, allocations: 8 kB / 0.5294 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4126, allocations: 7.969 kB / 0.5294 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0083/0.4209, allocations: 4.897 MB / 0.5341 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.4209, allocations: 7.984 kB / 0.5342 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.4217, allocations: 179.7 kB / 0.5343 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.4231, allocations: 0.5396 MB / 0.5349 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.4232, allocations: 35.98 kB / 0.5349 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2092/0.6324, allocations: 12.6 MB / 0.5472 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6324, allocations: 3.938 kB / 0.5472 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.6372, allocations: 3.063 MB / 0.5502 GB, free: 88.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009956/0.6381, allocations: 363.4 kB / 0.5505 GB, free: 88.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.6384, allocations: 41.41 kB / 0.5506 GB, free: 88.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.6392, allocations: 62.67 kB / 0.5506 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.6395, allocations: 116.3 kB / 0.5507 GB, free: 88.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.6396, allocations: 39.34 kB / 0.5508 GB, free: 88.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.641, allocations: 1.238 MB / 0.552 GB, free: 87.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.641, allocations: 0 / 0.552 GB, free: 87.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6429, allocations: 0.5778 MB / 0.5526 GB, free: 87.48 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.0002776/0.6432, allocations: 172.6 kB / 0.5527 GB, free: 87.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.6459, allocations: 2.213 MB / 0.5549 GB, free: 86.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6459, allocations: 0 / 0.5549 GB, free: 86.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.6478, allocations: 1.684 MB / 0.5565 GB, free: 85.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.6499, allocations: 0.5578 MB / 0.5571 GB, free: 84.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.6578, allocations: 5.924 MB / 0.5629 GB, free: 81.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.6593, allocations: 2.255 MB / 0.5651 GB, free: 80.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.6598, allocations: 150.3 kB / 0.5652 GB, free: 80 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6598, allocations: 0 / 0.5652 GB, free: 80 MB / 446.1 MB Notification: Performance of Templates: time 0.1079/0.7677, allocations: 130.1 MB / 0.6923 GB, free: 14.35 MB / 0.4981 GB " [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.360697363968939]