Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 51.91 kB / 371.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2518, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01545/0.2673, allocations: 11.95 MB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008633/0.2759, allocations: 4.193 MB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2778, allocations: 95.44 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.2804, allocations: 0.9929 MB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.2844, allocations: 1.348 MB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.2865, allocations: 0.8689 MB / 443.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.2915, allocations: 4.082 MB / 447.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.294, allocations: 1.719 MB / 449.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.2968, allocations: 1.951 MB / 451 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.2998, allocations: 1.98 MB / 453 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.3005, allocations: 0.5078 MB / 453.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.3019, allocations: 0.6951 MB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.3029, allocations: 1.118 MB / 455.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.3049, allocations: 1.681 MB / 457 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007958/0.3129, allocations: 6.755 MB / 463.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3129, allocations: 0 / 463.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3129, allocations: 4 kB / 463.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001641/0.313, allocations: 0 / 463.8 MB, free: 6.301 MB / 366.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.01233/0.3254, allocations: 4.408 MB / 468.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3254, allocations: 12.03 kB / 468.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.3297, allocations: 0.8378 MB / 469 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/0.3345, allocations: 2.353 MB / 471.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3347, allocations: 250.8 kB / 471.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005413/0.3353, allocations: 332 kB / 472 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007415/0.3427, allocations: 4.417 MB / 476.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/0.3428, allocations: 11.94 kB / 476.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/0.3431, allocations: 136 kB / 476.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.3432, allocations: 150.4 kB / 476.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006063/0.3493, allocations: 3.594 MB / 480.3 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/0.3703, allocations: 11.78 MB / 492.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005162/0.3755, allocations: 2.575 MB / 494.6 MB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.3778, allocations: 1.277 MB / 495.9 MB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006123/0.3839, allocations: 3.015 MB / 498.9 MB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.384, allocations: 51.86 kB / 499 MB, free: 2.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.427e-06/0.384, allocations: 4 kB / 499 MB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01206/0.396, allocations: 5.187 MB / 0.4923 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3961, allocations: 72.66 kB / 0.4924 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.3985, allocations: 1.595 MB / 0.494 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.3986, allocations: 45.7 kB / 0.494 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.3998, allocations: 1.5 MB / 0.4955 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.4003, allocations: 0.4919 MB / 0.496 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.4008, allocations: 319.5 kB / 0.4963 GB, free: 9.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.401, allocations: 305.1 kB / 0.4966 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.4022, allocations: 0.6832 MB / 0.4972 GB, free: 8.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4038, allocations: 1.219 MB / 0.4984 GB, free: 6.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.4068, allocations: 1.995 MB / 0.5004 GB, free: 4.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4068, allocations: 4 kB / 0.5004 GB, free: 4.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004344/0.4111, allocations: 2.449 MB / 0.5028 GB, free: 2.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4111, allocations: 12 kB / 0.5028 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.4112, allocations: 16 kB / 0.5028 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/0.4121, allocations: 364.3 kB / 0.5031 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4135, allocations: 371.4 kB / 0.5035 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008544/0.4221, allocations: 7.836 MB / 0.5111 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.4233, allocations: 79.91 kB / 0.5112 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4235, allocations: 72 kB / 0.5113 GB, free: 9.066 MB / 430.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.001755/0.4252, allocations: 1.005 MB / 0.5123 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.4255, allocations: 190.8 kB / 0.5124 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.4296, allocations: 2.102 MB / 0.5145 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4297, allocations: 12 kB / 0.5145 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4297, allocations: 8 kB / 0.5145 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.4297, allocations: 11.91 kB / 0.5145 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007706/0.4374, allocations: 4.189 MB / 0.5186 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4374, allocations: 4 kB / 0.5186 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.4382, allocations: 175.8 kB / 0.5188 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.4397, allocations: 0.5358 MB / 0.5193 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.4398, allocations: 35.98 kB / 0.5194 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.4536, allocations: 12.33 MB / 0.5314 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4536, allocations: 8.094 kB / 0.5314 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/0.4591, allocations: 3.048 MB / 0.5344 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/0.4601, allocations: 334.7 kB / 0.5347 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.4604, allocations: 36.55 kB / 0.5347 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.4612, allocations: 67.89 kB / 0.5348 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.4615, allocations: 117 kB / 0.5349 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.4615, allocations: 35.98 kB / 0.5349 GB, free: 40 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1894/0.6509, allocations: 1.06 MB / 0.536 GB, free: 105.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6509, allocations: 0.6562 kB / 0.536 GB, free: 105.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002488/0.6534, allocations: 0.5815 MB / 0.5365 GB, free: 105.3 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.0003046/0.6537, allocations: 163.9 kB / 0.5367 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.6569, allocations: 2.214 MB / 0.5389 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6569, allocations: 0 / 0.5389 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.6589, allocations: 1.684 MB / 0.5405 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6609, allocations: 451.1 kB / 0.5409 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.6686, allocations: 5.872 MB / 0.5467 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.67, allocations: 1.71 MB / 0.5483 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.6704, allocations: 124.2 kB / 0.5485 GB, free: 100.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6704, allocations: 0 / 0.5485 GB, free: 100.2 MB / 446.1 MB Notification: Performance of Templates: time 0.0955/0.7659, allocations: 128.4 MB / 0.6738 GB, free: 5.602 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.995830330997705]