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.001357/0.001357, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002049/0.002049, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.586/1.586, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.001996/0.001996, allocations: 68.08 kB / 378.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2434, allocations: 53.41 MB / 431.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01675/0.2601, allocations: 12.49 MB / 444.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008843/0.2689, allocations: 4.439 MB / 448.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.2707, allocations: 103.4 kB / 448.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.2733, allocations: 1.009 MB / 449.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.277, allocations: 1.324 MB / 451 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.2792, allocations: 0.9192 MB / 451.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005154/0.2844, allocations: 4.141 MB / 456.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.287, allocations: 1.725 MB / 457.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.2901, allocations: 1.959 MB / 459.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.2942, allocations: 2.113 MB / 461.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.2957, allocations: 0.5078 MB / 462.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.2977, allocations: 0.7107 MB / 463.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.2987, allocations: 1.118 MB / 464.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.3008, allocations: 1.7 MB / 465.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008356/0.3092, allocations: 6.79 MB / 472.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3092, allocations: 0 / 472.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3092, allocations: 4 kB / 472.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.3093, allocations: 0 / 472.7 MB, free: 13.23 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.01149/0.3208, allocations: 4.438 MB / 477.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3208, allocations: 15.98 kB / 477.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.3252, allocations: 0.8261 MB / 478 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.3307, allocations: 2.384 MB / 480.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.331, allocations: 246.8 kB / 480.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008645/0.3319, allocations: 327.9 kB / 480.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009405/0.3413, allocations: 4.425 MB / 485.4 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.3414, allocations: 15.88 kB / 485.4 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.3418, allocations: 128 kB / 485.5 MB, free: 252 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.342, allocations: 146.4 kB / 485.6 MB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/0.3494, allocations: 3.597 MB / 489.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.373, allocations: 11.84 MB / 0.4893 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.3786, allocations: 2.593 MB / 0.4919 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.3811, allocations: 1.285 MB / 0.4931 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006647/0.3878, allocations: 3.046 MB / 0.4961 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.3878, allocations: 47.88 kB / 0.4961 GB, free: 9.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.567e-06/0.3878, allocations: 0 / 0.4961 GB, free: 9.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01225/0.4001, allocations: 5.214 MB / 0.5012 GB, free: 4.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.4001, allocations: 68.66 kB / 0.5013 GB, free: 4.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.403, allocations: 1.616 MB / 0.5029 GB, free: 2.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4031, allocations: 49.7 kB / 0.5029 GB, free: 2.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4044, allocations: 1.512 MB / 0.5044 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/0.4049, allocations: 0.4958 MB / 0.5049 GB, free: 384 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005366/0.4054, allocations: 323.4 kB / 0.5052 GB, free: 56 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4056, allocations: 301.1 kB / 0.5055 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4069, allocations: 0.6793 MB / 0.5061 GB, free: 15.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.4086, allocations: 1.226 MB / 0.5073 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.4116, allocations: 1.999 MB / 0.5093 GB, free: 11.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.4117, allocations: 8 kB / 0.5093 GB, free: 11.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004611/0.4163, allocations: 2.453 MB / 0.5117 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.4163, allocations: 12 kB / 0.5117 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.4163, allocations: 16 kB / 0.5117 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.4174, allocations: 364.3 kB / 0.5121 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4188, allocations: 375.4 kB / 0.5124 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008681/0.4275, allocations: 7.819 MB / 0.5201 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.429, allocations: 79.91 kB / 0.5201 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.4293, allocations: 72 kB / 0.5202 GB, free: 15.79 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.002091/0.4314, allocations: 1.013 MB / 0.5212 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.4319, allocations: 186.8 kB / 0.5214 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.4365, allocations: 2.106 MB / 0.5234 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4365, allocations: 16 kB / 0.5234 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/0.4365, allocations: 12 kB / 0.5235 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.4365, allocations: 15.89 kB / 0.5235 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009053/0.4456, allocations: 4.2 MB / 0.5276 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.4456, allocations: 8 kB / 0.5276 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008613/0.4465, allocations: 179.9 kB / 0.5278 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.448, allocations: 0.5242 MB / 0.5283 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4481, allocations: 39.98 kB / 0.5283 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2079/0.656, allocations: 12.34 MB / 0.5404 GB, free: 94.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.656, allocations: 6.219 kB / 0.5404 GB, free: 94.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/0.663, allocations: 3.045 MB / 0.5433 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.6642, allocations: 342.3 kB / 0.5437 GB, free: 93.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.6646, allocations: 35.59 kB / 0.5437 GB, free: 93.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6658, allocations: 66.33 kB / 0.5438 GB, free: 93.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.6662, allocations: 108.8 kB / 0.5439 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6663, allocations: 43.39 kB / 0.5439 GB, free: 93.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002092/0.6684, allocations: 1.074 MB / 0.545 GB, free: 92.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6684, allocations: 0 / 0.545 GB, free: 92.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003023/0.6714, allocations: 0.5898 MB / 0.5455 GB, free: 92.76 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.0003397/0.6717, allocations: 174.7 kB / 0.5457 GB, free: 92.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.6758, allocations: 2.211 MB / 0.5479 GB, free: 91.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6758, allocations: 0.7188 kB / 0.5479 GB, free: 91.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.6785, allocations: 1.689 MB / 0.5495 GB, free: 90.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.6811, allocations: 463.9 kB / 0.5499 GB, free: 90.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6919, allocations: 5.891 MB / 0.5557 GB, free: 86.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.694, allocations: 1.765 MB / 0.5574 GB, free: 85.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.6955, allocations: 380.2 kB / 0.5578 GB, free: 85.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.6958, allocations: 115.2 kB / 0.5579 GB, free: 84.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6958, allocations: 7.828 kB / 0.5579 GB, free: 84.9 MB / 446.1 MB Notification: Performance of Templates: time 0.06256/0.7584, allocations: 31.61 MB / 0.5888 GB, free: 54.62 MB / 446.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: 6.166719855740666]