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.001811/0.001811, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002058/0.002058, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001698/0.001698, allocations: 51.91 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 53.36 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01735/0.2691, allocations: 12.48 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2794, allocations: 4.447 MB / 449.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.2818, allocations: 99.44 kB / 449.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.285, allocations: 1.009 MB / 450.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.2895, allocations: 1.324 MB / 451.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.2919, allocations: 0.9209 MB / 452.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005678/0.2976, allocations: 4.139 MB / 456.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.3003, allocations: 1.734 MB / 458.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.3033, allocations: 1.963 MB / 460.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.3071, allocations: 2.097 MB / 462.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.3082, allocations: 0.5078 MB / 463.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.3099, allocations: 0.7107 MB / 463.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.3111, allocations: 1.126 MB / 464.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.3134, allocations: 1.688 MB / 466.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.3213, allocations: 6.79 MB / 473.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3213, allocations: 0 / 473.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3213, allocations: 0 / 473.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.3214, allocations: 0 / 473.4 MB, free: 13.48 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.01094/0.3324, allocations: 4.443 MB / 477.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3324, allocations: 12.03 kB / 477.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.3368, allocations: 0.8261 MB / 478.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.342, allocations: 2.388 MB / 481.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.3423, allocations: 242.8 kB / 481.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005841/0.3428, allocations: 335.9 kB / 481.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007731/0.3506, allocations: 4.417 MB / 486 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.3507, allocations: 15.94 kB / 486.1 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.351, allocations: 124 kB / 486.2 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.3511, allocations: 150.4 kB / 486.3 MB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006433/0.3575, allocations: 3.594 MB / 489.9 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02203/0.3796, allocations: 11.84 MB / 0.49 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.3849, allocations: 2.582 MB / 0.4925 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.3873, allocations: 1.292 MB / 0.4938 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/0.3939, allocations: 3.054 MB / 0.4968 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.394, allocations: 43.88 kB / 0.4968 GB, free: 9.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.927e-06/0.394, allocations: 0 / 0.4968 GB, free: 9.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01204/0.406, allocations: 5.214 MB / 0.5019 GB, free: 4.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4061, allocations: 68.66 kB / 0.502 GB, free: 4.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.4088, allocations: 1.62 MB / 0.5036 GB, free: 2.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.4089, allocations: 45.7 kB / 0.5036 GB, free: 2.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.4102, allocations: 1.504 MB / 0.5051 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/0.4107, allocations: 0.4919 MB / 0.5055 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.4112, allocations: 323.4 kB / 0.5059 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.4114, allocations: 301.1 kB / 0.5061 GB, free: 4 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4127, allocations: 0.6832 MB / 0.5068 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.4144, allocations: 1.222 MB / 0.508 GB, free: 13.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.4174, allocations: 2.003 MB / 0.51 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4175, allocations: 4 kB / 0.51 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004619/0.4221, allocations: 2.453 MB / 0.5124 GB, free: 9.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4221, allocations: 12 kB / 0.5124 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4221, allocations: 16 kB / 0.5124 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/0.4231, allocations: 364.3 kB / 0.5127 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4245, allocations: 379.4 kB / 0.5131 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.4332, allocations: 7.819 MB / 0.5207 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4347, allocations: 80.08 kB / 0.5208 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.4348, allocations: 83.98 kB / 0.5209 GB, free: 12 kB / 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.002001/0.4368, allocations: 1.009 MB / 0.5219 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.4372, allocations: 186.8 kB / 0.5221 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.4415, allocations: 2.106 MB / 0.5241 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.4415, allocations: 19.98 kB / 0.5241 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.4415, allocations: 8 kB / 0.5241 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4415, allocations: 7.922 kB / 0.5241 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/0.4499, allocations: 4.208 MB / 0.5283 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4499, allocations: 0 / 0.5283 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008364/0.4507, allocations: 183.9 kB / 0.5284 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.4523, allocations: 0.5275 MB / 0.5289 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4524, allocations: 40.17 kB / 0.529 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2081/0.6604, allocations: 12.34 MB / 0.541 GB, free: 95.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6605, allocations: 1.75 kB / 0.541 GB, free: 95.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.6654, allocations: 3.058 MB / 0.544 GB, free: 95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6664, allocations: 337.4 kB / 0.5443 GB, free: 94.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.6667, allocations: 35.19 kB / 0.5444 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/0.6676, allocations: 71.61 kB / 0.5444 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.6679, allocations: 110.5 kB / 0.5445 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.668, allocations: 38.73 kB / 0.5446 GB, free: 94.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.6697, allocations: 1.075 MB / 0.5456 GB, free: 94.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6697, allocations: 0 / 0.5456 GB, free: 94.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00217/0.6718, allocations: 0.5872 MB / 0.5462 GB, free: 94.36 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.0003453/0.6722, allocations: 164.9 kB / 0.5464 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.6753, allocations: 2.215 MB / 0.5485 GB, free: 93.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6753, allocations: 0 / 0.5485 GB, free: 93.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.6774, allocations: 1.689 MB / 0.5502 GB, free: 92.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6794, allocations: 470.3 kB / 0.5506 GB, free: 91.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00815/0.6876, allocations: 5.873 MB / 0.5564 GB, free: 88.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.689, allocations: 1.72 MB / 0.558 GB, free: 87.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/0.6894, allocations: 138.5 kB / 0.5582 GB, free: 86.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6894, allocations: 0 / 0.5582 GB, free: 86.95 MB / 446.1 MB Notification: Performance of Templates: time 0.1065/0.796, allocations: 129.5 MB / 0.6847 GB, free: 6.508 MB / 494.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: 13.430110032204539]