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.001294/0.001294, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.00144/0.00144, allocations: 205.2 kB / 24.49 MB, free: 3.957 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001584/0.001584, allocations: 47.94 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01579/0.2261, allocations: 12.49 MB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008429/0.2345, allocations: 4.435 MB / 449.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.2358, allocations: 103.4 kB / 449.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.2382, allocations: 1.009 MB / 450.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.2413, allocations: 1.336 MB / 451.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.2433, allocations: 0.9152 MB / 452.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.2477, allocations: 4.133 MB / 456.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.2502, allocations: 1.813 MB / 458.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.2525, allocations: 1.963 MB / 460.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.2553, allocations: 2.238 MB / 462.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.256, allocations: 0.5078 MB / 463.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.2573, allocations: 0.7184 MB / 464 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.2583, allocations: 1.13 MB / 465.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.26, allocations: 1.696 MB / 466.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006754/0.2668, allocations: 6.79 MB / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2668, allocations: 0 / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2668, allocations: 0 / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-05/0.2669, allocations: 0 / 473.6 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.01001/0.2769, allocations: 4.442 MB / 478.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2769, allocations: 12.03 kB / 478.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/0.2814, allocations: 0.8261 MB / 478.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.2859, allocations: 2.389 MB / 481.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.2861, allocations: 238.8 kB / 481.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005239/0.2866, allocations: 327.9 kB / 481.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.294, allocations: 4.421 MB / 486.3 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.557e-05/0.294, allocations: 7.953 kB / 486.3 MB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.2943, allocations: 128 kB / 486.4 MB, free: 264 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.2945, allocations: 154.4 kB / 486.6 MB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00607/0.3006, allocations: 3.598 MB / 490.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.32, allocations: 11.84 MB / 0.4902 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/0.3251, allocations: 2.586 MB / 0.4928 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.3274, allocations: 1.284 MB / 0.494 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.3333, allocations: 3.066 MB / 0.497 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.3333, allocations: 47.86 kB / 0.4971 GB, free: 9.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.316e-06/0.3333, allocations: 0 / 0.4971 GB, free: 9.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01127/0.3446, allocations: 5.206 MB / 0.5021 GB, free: 4.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3446, allocations: 76.53 kB / 0.5022 GB, free: 4.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3469, allocations: 1.62 MB / 0.5038 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.3469, allocations: 45.7 kB / 0.5038 GB, free: 2.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.3481, allocations: 1.508 MB / 0.5053 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.3485, allocations: 0.4958 MB / 0.5058 GB, free: 372 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/0.349, allocations: 319.4 kB / 0.5061 GB, free: 48 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3491, allocations: 301.1 kB / 0.5064 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3503, allocations: 0.6832 MB / 0.5071 GB, free: 15.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3518, allocations: 1.219 MB / 0.5083 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.3547, allocations: 2.007 MB / 0.5102 GB, free: 11.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.3547, allocations: 8 kB / 0.5102 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004151/0.3589, allocations: 2.449 MB / 0.5126 GB, free: 8.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.3589, allocations: 12 kB / 0.5126 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.3589, allocations: 16.34 kB / 0.5126 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/0.3599, allocations: 360 kB / 0.513 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.3614, allocations: 379.4 kB / 0.5133 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/0.3694, allocations: 7.808 MB / 0.521 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.3705, allocations: 80.08 kB / 0.521 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.3706, allocations: 80.17 kB / 0.5211 GB, free: 15.77 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.001602/0.3722, allocations: 1.009 MB / 0.5221 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.3725, allocations: 186.8 kB / 0.5223 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.3766, allocations: 2.102 MB / 0.5243 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.3766, allocations: 7.969 kB / 0.5243 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3766, allocations: 4 kB / 0.5243 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008108/0.3774, allocations: 342.5 kB / 0.5247 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.3777, allocations: 32 kB / 0.5247 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.3785, allocations: 59.95 kB / 0.5248 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.3787, allocations: 125 kB / 0.5249 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004913/0.3836, allocations: 2.204 MB / 0.527 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003685/0.3873, allocations: 2.501 MB / 0.5295 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001034/0.3883, allocations: 0.67 MB / 0.5301 GB, free: 6.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.3899, allocations: 1.075 MB / 0.5312 GB, free: 5.387 MB / 446.1 MB Notification: Performance of Backend: time 2.8e-07/0.3899, allocations: 4 kB / 0.5312 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.3935, allocations: 1.87 MB / 0.533 GB, free: 3.453 MB / 446.1 MB Notification: Performance of SimCode: time 0.1763/0.5699, allocations: 6.522 MB / 0.5394 GB, free: 99.96 MB / 446.1 MB Notification: Performance of Templates: time 0.04452/0.6144, allocations: 36.59 MB / 0.5751 GB, free: 72.04 MB / 446.1 MB " [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: 5.822216964996187]