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.001784/0.001784, allocations: 115.8 kB / 19.18 MB, free: 3.762 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.002084/0.002084, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.452/1.452, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.001897/0.001897, allocations: 71.88 kB / 374.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.1011, allocations: 53.31 MB / 427.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2008/0.3018, allocations: 14.33 MB / 442.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008596/0.3104, allocations: 4.702 MB / 446.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.3133, allocations: 83.94 kB / 447 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.3167, allocations: 1.062 MB / 448 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.3221, allocations: 1.339 MB / 449.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.3252, allocations: 0.9343 MB / 450.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006746/0.332, allocations: 4.133 MB / 454.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.3358, allocations: 2.252 MB / 456.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.3398, allocations: 1.917 MB / 458.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005852/0.3457, allocations: 2.243 MB / 460.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.3481, allocations: 0.5077 MB / 461.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.3513, allocations: 0.7293 MB / 462.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.3533, allocations: 1.125 MB / 463.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004984/0.3583, allocations: 2.149 MB / 465.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.3691, allocations: 6.765 MB / 472.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3691, allocations: 1.938 kB / 472.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3691, allocations: 0 / 472.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001986/0.3693, allocations: 0 / 472.1 MB, free: 1.992 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.01451/0.3838, allocations: 4.522 MB / 476.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3838, allocations: 10.75 kB / 476.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.389, allocations: 0.827 MB / 477.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.3946, allocations: 2.469 MB / 480 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.3949, allocations: 239 kB / 480.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.3959, allocations: 329 kB / 480.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00923/0.4051, allocations: 4.274 MB / 484.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/0.4052, allocations: 7.953 kB / 484.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.4055, allocations: 128 kB / 484.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.4057, allocations: 150.4 kB / 485.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007266/0.413, allocations: 3.609 MB / 488.7 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02503/0.438, allocations: 13.84 MB / 0.4907 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007914/0.4459, allocations: 6.528 MB / 0.4971 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.4488, allocations: 1.292 MB / 0.4984 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007492/0.4563, allocations: 3.901 MB / 0.5022 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.4564, allocations: 43.88 kB / 0.5022 GB, free: 8.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.647e-06/0.4564, allocations: 0 / 0.5022 GB, free: 8.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01353/0.4699, allocations: 5.923 MB / 0.508 GB, free: 2.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.47, allocations: 68.72 kB / 0.5081 GB, free: 2.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.4732, allocations: 1.805 MB / 0.5098 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.4734, allocations: 53.7 kB / 0.5099 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4747, allocations: 1.478 MB / 0.5113 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/0.4753, allocations: 0.4958 MB / 0.5118 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/0.4758, allocations: 319.4 kB / 0.5121 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.476, allocations: 305.1 kB / 0.5124 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4772, allocations: 0.6793 MB / 0.5131 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4789, allocations: 1.197 MB / 0.5143 GB, free: 12.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.4818, allocations: 2.014 MB / 0.5162 GB, free: 9.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.4818, allocations: 8 kB / 0.5162 GB, free: 9.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004685/0.4865, allocations: 2.54 MB / 0.5187 GB, free: 7.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.4865, allocations: 12.62 kB / 0.5187 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.4866, allocations: 16 kB / 0.5187 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4877, allocations: 364.4 kB / 0.5191 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.4891, allocations: 379.4 kB / 0.5194 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/0.4979, allocations: 8.412 MB / 0.5277 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.4997, allocations: 71.91 kB / 0.5277 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.4998, allocations: 79.98 kB / 0.5278 GB, free: 13.39 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.001948/0.5018, allocations: 1.001 MB / 0.5288 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.5023, allocations: 218.6 kB / 0.529 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.5067, allocations: 2.278 MB / 0.5312 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.5067, allocations: 12 kB / 0.5312 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.5067, allocations: 8 kB / 0.5312 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.5067, allocations: 7.969 kB / 0.5312 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008867/0.5156, allocations: 5.06 MB / 0.5362 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5156, allocations: 4 kB / 0.5362 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.5164, allocations: 175.7 kB / 0.5364 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.518, allocations: 0.5398 MB / 0.5369 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5181, allocations: 35.98 kB / 0.5369 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.5322, allocations: 13.25 MB / 0.5499 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5322, allocations: 8.031 kB / 0.5499 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/0.5379, allocations: 3.211 MB / 0.553 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.5391, allocations: 439.7 kB / 0.5534 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.5394, allocations: 31.94 kB / 0.5535 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.5403, allocations: 67.95 kB / 0.5535 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.5406, allocations: 109.2 kB / 0.5536 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.5407, allocations: 39.98 kB / 0.5537 GB, free: 1.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002048/0.5428, allocations: 1.232 MB / 0.5549 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5428, allocations: 480 / 0.5549 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002759/0.5455, allocations: 0.5898 MB / 0.5554 GB, free: 15.93 MB / 478.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.0004344/0.546, allocations: 159 kB / 0.5556 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00401/0.55, allocations: 2.294 MB / 0.5578 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.55, allocations: 0 / 0.5578 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.5527, allocations: 1.684 MB / 0.5595 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/0.5556, allocations: 0.5498 MB / 0.56 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5668, allocations: 5.874 MB / 0.5657 GB, free: 5.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.5691, allocations: 2.277 MB / 0.568 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.5697, allocations: 143.4 kB / 0.5681 GB, free: 2.723 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5697, allocations: 0 / 0.5681 GB, free: 2.723 MB / 478.1 MB Notification: Performance of Templates: time 0.308/0.8777, allocations: 130.1 MB / 0.6952 GB, free: 109.4 MB / 0.5137 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_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_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.104110568063334]