Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 221 kB / 23 MB, free: 5.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.89 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2309, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0172/0.2481, allocations: 14.39 MB / 444.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.2573, allocations: 4.7 MB / 448.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.2593, allocations: 83.69 kB / 449 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.2626, allocations: 1.064 MB / 450.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.2672, allocations: 1.328 MB / 451.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.27, allocations: 0.9574 MB / 452.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006891/0.2768, allocations: 4.137 MB / 456.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.2804, allocations: 1.804 MB / 458.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/0.2838, allocations: 1.92 MB / 460.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.2875, allocations: 2.238 MB / 462.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.2886, allocations: 0.5078 MB / 463 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.2905, allocations: 0.7341 MB / 463.7 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.2917, allocations: 1.13 MB / 464.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.2945, allocations: 2.147 MB / 467 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.303, allocations: 6.76 MB / 473.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.303, allocations: 4 kB / 473.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.303, allocations: 0 / 473.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.3032, allocations: 0 / 473.7 MB, free: 11.39 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.01193/0.3151, allocations: 4.519 MB / 478.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3151, allocations: 8.031 kB / 478.3 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/0.3195, allocations: 0.8339 MB / 479.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.3242, allocations: 2.464 MB / 481.6 MB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3244, allocations: 242.8 kB / 481.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006344/0.325, allocations: 335.8 kB / 482.1 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007958/0.333, allocations: 4.27 MB / 486.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/0.3331, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.3334, allocations: 132 kB / 486.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.3336, allocations: 150.4 kB / 486.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006961/0.3405, allocations: 3.609 MB / 490.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.3641, allocations: 13.85 MB / 0.4923 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.3712, allocations: 6.52 MB / 0.4987 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.3737, allocations: 1.285 MB / 0.4999 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/0.3803, allocations: 3.898 MB / 0.5037 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.3804, allocations: 51.88 kB / 0.5038 GB, free: 15.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.625e-06/0.3804, allocations: 0 / 0.5038 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.0119/0.3923, allocations: 5.926 MB / 0.5096 GB, free: 9.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3923, allocations: 68.66 kB / 0.5096 GB, free: 9.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.395, allocations: 1.805 MB / 0.5114 GB, free: 7.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.3951, allocations: 49.7 kB / 0.5114 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.3963, allocations: 1.493 MB / 0.5129 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.3967, allocations: 499.8 kB / 0.5134 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005062/0.3972, allocations: 319.4 kB / 0.5137 GB, free: 5.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3973, allocations: 301.1 kB / 0.514 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.3984, allocations: 0.691 MB / 0.5147 GB, free: 4.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4, allocations: 1.193 MB / 0.5158 GB, free: 2.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.4029, allocations: 2.006 MB / 0.5178 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4029, allocations: 4 kB / 0.5178 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004542/0.4074, allocations: 2.544 MB / 0.5203 GB, free: 14.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4075, allocations: 12 kB / 0.5203 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.4075, allocations: 16 kB / 0.5203 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4085, allocations: 368 kB / 0.5206 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.4099, allocations: 375.4 kB / 0.521 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008568/0.4185, allocations: 8.408 MB / 0.5292 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.42, allocations: 79.91 kB / 0.5293 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4202, allocations: 79.98 kB / 0.5294 GB, free: 4.137 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.001805/0.422, allocations: 1.005 MB / 0.5303 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.4224, allocations: 202.7 kB / 0.5305 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.4267, allocations: 2.274 MB / 0.5328 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4267, allocations: 20 kB / 0.5328 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.4268, allocations: 8 kB / 0.5328 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4268, allocations: 3.984 kB / 0.5328 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009371/0.4361, allocations: 5.072 MB / 0.5377 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4362, allocations: 4 kB / 0.5377 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.437, allocations: 171.8 kB / 0.5379 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.4385, allocations: 0.5349 MB / 0.5384 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.4387, allocations: 39.98 kB / 0.5385 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2167/0.6554, allocations: 13.24 MB / 0.5514 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.6554, allocations: 7.031 kB / 0.5514 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.6602, allocations: 3.213 MB / 0.5545 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.661, allocations: 445.2 kB / 0.555 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.6613, allocations: 33.66 kB / 0.555 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.6621, allocations: 68.16 kB / 0.5551 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.6624, allocations: 106.5 kB / 0.5552 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/0.6625, allocations: 38.64 kB / 0.5552 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.6642, allocations: 1.23 MB / 0.5564 GB, free: 108.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6642, allocations: 0 / 0.5564 GB, free: 108.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002122/0.6663, allocations: 0.5854 MB / 0.557 GB, free: 108.6 MB / 462.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.0003223/0.6666, allocations: 168.5 kB / 0.5571 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.6697, allocations: 2.289 MB / 0.5594 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6697, allocations: 3.5 kB / 0.5594 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.6717, allocations: 1.688 MB / 0.561 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.6742, allocations: 0.5541 MB / 0.5616 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/0.6823, allocations: 5.938 MB / 0.5674 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.6838, allocations: 2.311 MB / 0.5696 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.6851, allocations: 404.5 kB / 0.57 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.6854, allocations: 124.3 kB / 0.5701 GB, free: 101.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6854, allocations: 0 / 0.5701 GB, free: 101.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04478/0.7301, allocations: 31.5 MB / 0.6009 GB, free: 72.24 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.84268310200423]