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.001694/0.001694, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002063/0.002063, allocations: 217 kB / 24.5 MB, free: 4.133 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.526/1.526, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002007/0.002007, allocations: 59.91 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2638, allocations: 53.41 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01746/0.2813, allocations: 14.39 MB / 446.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009744/0.291, allocations: 4.713 MB / 451.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.2934, allocations: 103.4 kB / 451.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.2967, allocations: 1.064 MB / 452.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.3012, allocations: 1.348 MB / 454.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.3038, allocations: 0.9535 MB / 455 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00584/0.3096, allocations: 4.147 MB / 459.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.3125, allocations: 1.809 MB / 461 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.3155, allocations: 1.959 MB / 463 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/0.3193, allocations: 2.246 MB / 465.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.3203, allocations: 0.5117 MB / 465.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.3221, allocations: 0.7341 MB / 466.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3233, allocations: 1.126 MB / 467.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.3263, allocations: 2.147 MB / 469.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008992/0.3353, allocations: 6.762 MB / 476.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3353, allocations: 0 / 476.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3353, allocations: 0 / 476.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.3354, allocations: 3.938 kB / 476.5 MB, free: 10.51 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.01202/0.3474, allocations: 4.443 MB / 480.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3475, allocations: 12.03 kB / 480.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.3519, allocations: 0.8261 MB / 481.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/0.3575, allocations: 2.404 MB / 484.2 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.3577, allocations: 242.8 kB / 484.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007908/0.3585, allocations: 327.9 kB / 484.7 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009368/0.3679, allocations: 4.274 MB / 489 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/0.368, allocations: 7.953 kB / 489 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.3684, allocations: 128 kB / 489.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.3686, allocations: 146.4 kB / 489.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007735/0.3763, allocations: 3.617 MB / 492.9 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02411/0.4004, allocations: 13.5 MB / 0.4945 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.4058, allocations: 2.6 MB / 0.4971 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.4082, allocations: 1.296 MB / 0.4983 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006811/0.4151, allocations: 3.419 MB / 0.5017 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.4151, allocations: 43.88 kB / 0.5017 GB, free: 4.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.046e-06/0.4151, allocations: 0 / 0.5017 GB, free: 4.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01196/0.4271, allocations: 5.237 MB / 0.5068 GB, free: 15.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.4271, allocations: 68.7 kB / 0.5069 GB, free: 15.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.4299, allocations: 1.809 MB / 0.5087 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.4301, allocations: 49.7 kB / 0.5087 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4314, allocations: 1.493 MB / 0.5102 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.4319, allocations: 499.8 kB / 0.5106 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/0.4324, allocations: 319.4 kB / 0.5109 GB, free: 11.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4325, allocations: 305.1 kB / 0.5112 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4337, allocations: 0.6832 MB / 0.5119 GB, free: 10.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.4354, allocations: 1.201 MB / 0.5131 GB, free: 8.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.4383, allocations: 1.995 MB / 0.515 GB, free: 6.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.4383, allocations: 7.938 kB / 0.515 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004474/0.4428, allocations: 2.476 MB / 0.5175 GB, free: 4.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4428, allocations: 15.94 kB / 0.5175 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.4429, allocations: 16 kB / 0.5175 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.4439, allocations: 356.4 kB / 0.5178 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4453, allocations: 383.3 kB / 0.5182 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.4539, allocations: 7.974 MB / 0.526 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.4554, allocations: 80 kB / 0.5261 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4556, allocations: 76 kB / 0.5261 GB, free: 10.73 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.001838/0.4574, allocations: 1.005 MB / 0.5271 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.4578, allocations: 214.6 kB / 0.5273 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4621, allocations: 2.119 MB / 0.5294 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.4621, allocations: 12 kB / 0.5294 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.4621, allocations: 8 kB / 0.5294 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4621, allocations: 3.984 kB / 0.5294 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008475/0.4706, allocations: 4.901 MB / 0.5342 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4706, allocations: 4 kB / 0.5342 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.4714, allocations: 179.9 kB / 0.5344 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.4728, allocations: 0.5312 MB / 0.5349 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-05/0.4729, allocations: 39.98 kB / 0.5349 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2115/0.6844, allocations: 12.62 MB / 0.5472 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6844, allocations: 0 / 0.5472 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/0.689, allocations: 3.066 MB / 0.5502 GB, free: 88.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/0.6899, allocations: 363 kB / 0.5506 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.6902, allocations: 37.86 kB / 0.5506 GB, free: 87.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.691, allocations: 66.42 kB / 0.5507 GB, free: 87.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.6913, allocations: 105.2 kB / 0.5508 GB, free: 87.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.6914, allocations: 43.2 kB / 0.5508 GB, free: 87.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.6928, allocations: 1.233 MB / 0.552 GB, free: 87.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6928, allocations: 1.531 kB / 0.552 GB, free: 87.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001868/0.6947, allocations: 0.5844 MB / 0.5526 GB, free: 87.33 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.0002816/0.695, allocations: 172.8 kB / 0.5528 GB, free: 87.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.6978, allocations: 2.214 MB / 0.5549 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6978, allocations: 0 / 0.5549 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.6997, allocations: 1.682 MB / 0.5566 GB, free: 85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7018, allocations: 0.5616 MB / 0.5571 GB, free: 84.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.7095, allocations: 5.916 MB / 0.5629 GB, free: 81.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.7109, allocations: 2.262 MB / 0.5651 GB, free: 79.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.7114, allocations: 143.1 kB / 0.5652 GB, free: 79.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7114, allocations: 0 / 0.5652 GB, free: 79.79 MB / 446.1 MB Notification: Performance of Templates: time 0.11/0.8213, allocations: 130.1 MB / 0.6923 GB, free: 14.05 MB / 0.4981 GB " [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/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_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: 14.092043838929385]