Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001803/0.001803, allocations: 116.1 kB / 21.19 MB, free: 0.75 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.002134/0.002134, allocations: 219.1 kB / 24.48 MB, free: 4.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.121 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 79.81 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2066, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01682/0.2234, allocations: 14.38 MB / 446.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007041/0.2304, allocations: 4.715 MB / 451.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007474/0.2312, allocations: 83.69 kB / 451.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.2333, allocations: 1.068 MB / 452.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.2359, allocations: 1.324 MB / 453.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.2377, allocations: 0.9458 MB / 454.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004379/0.2421, allocations: 4.146 MB / 458.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.2446, allocations: 1.797 MB / 460.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.2468, allocations: 1.92 MB / 462.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.2496, allocations: 2.242 MB / 464.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.2502, allocations: 0.5117 MB / 465.2 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.2514, allocations: 0.738 MB / 465.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.2524, allocations: 1.118 MB / 467.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.2544, allocations: 2.151 MB / 469.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.2611, allocations: 6.759 MB / 476 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2611, allocations: 0 / 476 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2611, allocations: 0 / 476 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.584e-05/0.2611, allocations: 0 / 476 MB, free: 11.25 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.2711, allocations: 4.523 MB / 480.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2712, allocations: 12.03 kB / 480.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.2756, allocations: 0.83 MB / 481.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.2801, allocations: 2.468 MB / 483.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.2803, allocations: 242.8 kB / 484 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.2808, allocations: 327.9 kB / 484.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006986/0.2878, allocations: 4.274 MB / 488.6 MB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.23e-05/0.2879, allocations: 7.891 kB / 488.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/0.2882, allocations: 136 kB / 488.8 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.2883, allocations: 146.4 kB / 488.9 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006094/0.2944, allocations: 3.609 MB / 492.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.3147, allocations: 13.83 MB / 0.4945 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00733/0.3221, allocations: 6.536 MB / 0.5009 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.3244, allocations: 1.288 MB / 0.5021 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006225/0.3306, allocations: 3.894 MB / 0.5059 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.3307, allocations: 47.81 kB / 0.506 GB, free: 15.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.535e-06/0.3307, allocations: 0 / 0.506 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01152/0.3422, allocations: 5.93 MB / 0.5118 GB, free: 9.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3423, allocations: 68.72 kB / 0.5118 GB, free: 9.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.3448, allocations: 1.805 MB / 0.5136 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.353e-05/0.3449, allocations: 53.7 kB / 0.5137 GB, free: 7.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3461, allocations: 1.486 MB / 0.5151 GB, free: 5.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.3465, allocations: 0.4919 MB / 0.5156 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.347, allocations: 319.4 kB / 0.5159 GB, free: 5.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3471, allocations: 301.1 kB / 0.5162 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3483, allocations: 0.6754 MB / 0.5168 GB, free: 4.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3499, allocations: 1.201 MB / 0.518 GB, free: 2.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.3528, allocations: 2.006 MB / 0.52 GB, free: 484 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.3528, allocations: 8 kB / 0.52 GB, free: 476 kB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004235/0.3571, allocations: 2.544 MB / 0.5225 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3571, allocations: 12.34 kB / 0.5225 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3571, allocations: 20 kB / 0.5225 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/0.3581, allocations: 360 kB / 0.5228 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.3595, allocations: 379.3 kB / 0.5232 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.3681, allocations: 8.411 MB / 0.5314 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3692, allocations: 79.98 kB / 0.5315 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.3693, allocations: 72 kB / 0.5316 GB, free: 4 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.001477/0.3708, allocations: 1.005 MB / 0.5325 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.3711, allocations: 210.6 kB / 0.5327 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.3752, allocations: 2.27 MB / 0.535 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.3752, allocations: 7.969 kB / 0.535 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3752, allocations: 0 / 0.535 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1596/0.5348, allocations: 433.4 kB / 0.5354 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/0.5354, allocations: 32.05 kB / 0.5354 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/0.5364, allocations: 65.86 kB / 0.5355 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.5367, allocations: 120.8 kB / 0.5356 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004557/0.5412, allocations: 2.228 MB / 0.5378 GB, free: 99.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002929/0.5441, allocations: 2.508 MB / 0.5402 GB, free: 98.08 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008226/0.545, allocations: 0.6667 MB / 0.5409 GB, free: 97.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.5465, allocations: 1.241 MB / 0.5421 GB, free: 97.33 MB / 446.1 MB Notification: Performance of Backend: time 1.5e-07/0.5465, allocations: 0 / 0.5421 GB, free: 97.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.5494, allocations: 1.935 MB / 0.544 GB, free: 96.27 MB / 446.1 MB Notification: Performance of SimCode: time 0.007389/0.5568, allocations: 6.681 MB / 0.5505 GB, free: 92.79 MB / 446.1 MB Notification: Performance of Templates: time 0.04255/0.5994, allocations: 35.15 MB / 0.5848 GB, free: 61.57 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.580758349969983]