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.001343/0.001343, allocations: 108.6 kB / 21.18 MB, free: 0.7539 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.001354/0.001354, allocations: 193.1 kB / 24.47 MB, free: 4.156 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.402/1.402, allocations: 225.6 MB / 253.3 MB, free: 12.99 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.001498/0.001498, allocations: 47.92 kB / 371.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 52.18 MB / 423.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01664/0.2543, allocations: 13.76 MB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008757/0.263, allocations: 4.442 MB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.2651, allocations: 99.44 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.2681, allocations: 1.051 MB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.2725, allocations: 1.375 MB / 444.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.2749, allocations: 0.8955 MB / 445.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.2804, allocations: 4.104 MB / 449.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.2835, allocations: 1.805 MB / 451.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.2864, allocations: 1.955 MB / 453.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.2901, allocations: 2.109 MB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.2911, allocations: 0.5078 MB / 456 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.2928, allocations: 0.7183 MB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.2942, allocations: 1.118 MB / 457.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003189/0.2974, allocations: 2.136 MB / 460 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007836/0.3052, allocations: 6.731 MB / 466.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3052, allocations: 0 / 466.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3052, allocations: 4 kB / 466.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.3053, allocations: 0 / 466.7 MB, free: 3.617 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.0109/0.3163, allocations: 4.412 MB / 471.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3163, allocations: 12.03 kB / 471.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.3205, allocations: 0.83 MB / 472 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/0.3252, allocations: 2.396 MB / 474.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.3254, allocations: 238.8 kB / 474.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/0.326, allocations: 328.1 kB / 474.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007405/0.3334, allocations: 4.27 MB / 479.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-05/0.3335, allocations: 7.953 kB / 479.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/0.3338, allocations: 136 kB / 479.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.3339, allocations: 142.4 kB / 479.5 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/0.3403, allocations: 3.605 MB / 483.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/0.3617, allocations: 13.47 MB / 496.5 MB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.3667, allocations: 2.586 MB / 499.1 MB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.369, allocations: 1.273 MB / 0.4887 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006097/0.3751, allocations: 3.38 MB / 0.492 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.3752, allocations: 47.88 kB / 0.492 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.945e-06/0.3752, allocations: 0 / 0.492 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01133/0.3865, allocations: 5.222 MB / 0.4971 GB, free: 8.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3865, allocations: 68.72 kB / 0.4972 GB, free: 8.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3892, allocations: 1.78 MB / 0.4989 GB, free: 6.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3893, allocations: 53.7 kB / 0.499 GB, free: 6.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.3905, allocations: 1.478 MB / 0.5004 GB, free: 5.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.3909, allocations: 499.7 kB / 0.5009 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/0.3914, allocations: 311.5 kB / 0.5012 GB, free: 4.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3916, allocations: 305.1 kB / 0.5015 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3928, allocations: 0.6871 MB / 0.5021 GB, free: 3.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.3944, allocations: 1.193 MB / 0.5033 GB, free: 2.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.3973, allocations: 1.999 MB / 0.5053 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.3973, allocations: 4 kB / 0.5053 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00437/0.4017, allocations: 2.465 MB / 0.5077 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4017, allocations: 12 kB / 0.5077 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.4018, allocations: 16 kB / 0.5077 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.4028, allocations: 372.2 kB / 0.5081 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.4042, allocations: 379.3 kB / 0.5084 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0085/0.4127, allocations: 7.997 MB / 0.5162 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4139, allocations: 71.97 kB / 0.5163 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.4141, allocations: 71.98 kB / 0.5164 GB, free: 4.082 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.001765/0.4159, allocations: 1.013 MB / 0.5174 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.4163, allocations: 202.7 kB / 0.5175 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.4204, allocations: 2.112 MB / 0.5196 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.4205, allocations: 23.97 kB / 0.5196 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.4205, allocations: 8 kB / 0.5196 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4205, allocations: 7.922 kB / 0.5196 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008756/0.4292, allocations: 4.877 MB / 0.5244 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.4293, allocations: 8 kB / 0.5244 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.4301, allocations: 176 kB / 0.5246 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.4316, allocations: 0.5281 MB / 0.5251 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.4317, allocations: 43.98 kB / 0.5251 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2048/0.6365, allocations: 12.59 MB / 0.5374 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6365, allocations: 6 kB / 0.5374 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.6414, allocations: 3.055 MB / 0.5404 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/0.6423, allocations: 369.1 kB / 0.5408 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.6425, allocations: 35.97 kB / 0.5408 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.6434, allocations: 66.81 kB / 0.5409 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.6437, allocations: 108.7 kB / 0.541 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.6437, allocations: 39.27 kB / 0.541 GB, free: 101.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.6453, allocations: 1.22 MB / 0.5422 GB, free: 101 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6453, allocations: 0.5 kB / 0.5422 GB, free: 101 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001918/0.6472, allocations: 0.5797 MB / 0.5428 GB, free: 101 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.0002941/0.6475, allocations: 168.9 kB / 0.5429 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.6504, allocations: 2.215 MB / 0.5451 GB, free: 99.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6504, allocations: 2.656 kB / 0.5451 GB, free: 99.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.6523, allocations: 1.691 MB / 0.5468 GB, free: 98.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6543, allocations: 0.5325 MB / 0.5473 GB, free: 98.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/0.6622, allocations: 5.921 MB / 0.5531 GB, free: 95.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.6637, allocations: 2.261 MB / 0.5553 GB, free: 94.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.6641, allocations: 139.4 kB / 0.5554 GB, free: 94.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6641, allocations: 0 / 0.5554 GB, free: 94.49 MB / 446.1 MB Notification: Performance of Templates: time 0.1002/0.7643, allocations: 129 MB / 0.6813 GB, free: 14.55 MB / 494.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: 13.539973698789254]