Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001533/0.001533, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001835/0.001835, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001887/0.001887, allocations: 67.83 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2719, allocations: 53.3 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01237/0.2843, allocations: 9.842 MB / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.2908, allocations: 3.108 MB / 445 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.2924, allocations: 47.81 kB / 445.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.2942, allocations: 0.6677 MB / 445.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.2967, allocations: 0.7804 MB / 446.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.2976, allocations: 391.3 kB / 446.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.3009, allocations: 2.44 MB / 449.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.3024, allocations: 1.048 MB / 450.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.3041, allocations: 1.086 MB / 451.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.306, allocations: 1.343 MB / 452.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.3064, allocations: 276 kB / 453.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.3072, allocations: 383.8 kB / 453.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.308, allocations: 0.7869 MB / 454.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.3094, allocations: 1.279 MB / 455.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.3135, allocations: 3.666 MB / 459.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3135, allocations: 0 / 459.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3135, allocations: 0 / 459.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.353e-05/0.3136, allocations: 4 kB / 459.2 MB, free: 12.1 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005602/0.3192, allocations: 2.655 MB / 461.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.3192, allocations: 12.03 kB / 461.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.32, allocations: 283.3 kB / 462.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.3227, allocations: 1.378 MB / 463.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3229, allocations: 140.2 kB / 463.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.3232, allocations: 195.9 kB / 463.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.3273, allocations: 2.422 MB / 466.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.3274, allocations: 4 kB / 466.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.3276, allocations: 76 kB / 466.3 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.3277, allocations: 91.67 kB / 466.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.3312, allocations: 1.955 MB / 468.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.3441, allocations: 7.792 MB / 476.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3459, allocations: 1.158 MB / 477.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3477, allocations: 0.9164 MB / 478.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.348, allocations: 118.1 kB / 478.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.348, allocations: 43.56 kB / 478.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.334e-06/0.348, allocations: 4 kB / 478.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0131/0.3611, allocations: 5.882 MB / 484.3 MB, free: 2.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3612, allocations: 68.34 kB / 484.4 MB, free: 2.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.3631, allocations: 1.314 MB / 485.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.3633, allocations: 41.7 kB / 485.7 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.3641, allocations: 0.9498 MB / 486.7 MB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.3646, allocations: 412.5 kB / 487.1 MB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.365, allocations: 251.5 kB / 487.3 MB, free: 15.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3652, allocations: 361.9 kB / 487.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3662, allocations: 0.6364 MB / 488.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.3675, allocations: 1.004 MB / 489.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.37, allocations: 1.731 MB / 491 MB, free: 11.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.37, allocations: 4 kB / 491 MB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003961/0.3739, allocations: 2.242 MB / 493.3 MB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.374, allocations: 10.66 kB / 493.3 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.374, allocations: 15.98 kB / 493.3 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.3752, allocations: 488.2 kB / 493.8 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3763, allocations: 307.5 kB / 494.1 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.3839, allocations: 7.125 MB / 0.4895 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3852, allocations: 88.09 kB / 0.4895 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.3852, allocations: 52 kB / 0.4896 GB, free: 0.5156 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.3864, allocations: 0.6178 MB / 0.4902 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.3867, allocations: 159 kB / 0.4903 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.3901, allocations: 1.957 MB / 0.4923 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.3901, allocations: 16 kB / 0.4923 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3901, allocations: 4 kB / 0.4923 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3901, allocations: 7.922 kB / 0.4923 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.3974, allocations: 4.105 MB / 0.4963 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.3974, allocations: 4 kB / 0.4963 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.3982, allocations: 183.7 kB / 0.4965 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.3997, allocations: 0.5429 MB / 0.497 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.3997, allocations: 35.92 kB / 0.497 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009192/0.4089, allocations: 8.754 MB / 0.5056 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.4089, allocations: 7.875 kB / 0.5056 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.414, allocations: 2.848 MB / 0.5084 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/0.415, allocations: 360 kB / 0.5087 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.4154, allocations: 31.98 kB / 0.5087 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/0.4163, allocations: 67.92 kB / 0.5088 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.4166, allocations: 84.83 kB / 0.5089 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/0.4166, allocations: 31.98 kB / 0.5089 GB, free: 11.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001671/0.4183, allocations: 0.8918 MB / 0.5098 GB, free: 11.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 8 kB / 0.5098 GB, free: 11.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001781/0.4201, allocations: 436.4 kB / 0.5102 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004276/0.4205, allocations: 191 kB / 0.5104 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.4243, allocations: 2.17 MB / 0.5125 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4243, allocations: 0 / 0.5125 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.4268, allocations: 1.459 MB / 0.5139 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.4293, allocations: 419.9 kB / 0.5143 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/0.4375, allocations: 4.226 MB / 0.5185 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4392, allocations: 1.642 MB / 0.5201 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.4397, allocations: 107.4 kB / 0.5202 GB, free: 140 kB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4397, allocations: 0 / 0.5202 GB, free: 140 kB / 430.1 MB Notification: Performance of Templates: time 0.2827/0.7224, allocations: 71.25 MB / 0.5898 GB, free: 54.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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: 12.366223285906017]