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.001766/0.001766, allocations: 120.8 kB / 19.18 MB, free: 3.906 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.002077/0.002077, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.493/1.493, allocations: 230.5 MB / 255.4 MB, free: 15 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.002072/0.002072, allocations: 67.88 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1014, allocations: 53.31 MB / 428.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.2063/0.3077, allocations: 9.776 MB / 437.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.3133, allocations: 3.098 MB / 440.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3148, allocations: 51.75 kB / 441 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.3165, allocations: 0.6637 MB / 441.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.3191, allocations: 0.7899 MB / 442.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.3201, allocations: 387.2 kB / 442.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.3233, allocations: 2.43 MB / 445.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.3253, allocations: 1.281 MB / 446.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.3272, allocations: 1.089 MB / 447.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.3293, allocations: 1.352 MB / 449 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.3298, allocations: 278.8 kB / 449.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3308, allocations: 385.7 kB / 449.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008467/0.3317, allocations: 0.7668 MB / 450.4 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.3333, allocations: 1.283 MB / 451.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.3386, allocations: 3.671 MB / 455.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3386, allocations: 0 / 455.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3386, allocations: 0 / 455.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.3387, allocations: 1.375 kB / 455.4 MB, free: 14.01 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.006259/0.345, allocations: 2.658 MB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.345, allocations: 9.469 kB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.346, allocations: 286.8 kB / 458.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.3487, allocations: 1.373 MB / 459.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3488, allocations: 144.5 kB / 459.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.3491, allocations: 197.2 kB / 460 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.3533, allocations: 2.42 MB / 462.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.3533, allocations: 10.81 kB / 462.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.3535, allocations: 72.75 kB / 462.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3536, allocations: 95.8 kB / 462.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.3571, allocations: 1.96 MB / 464.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.3702, allocations: 7.774 MB / 472.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.3719, allocations: 1.162 MB / 473.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.3736, allocations: 0.909 MB / 474.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3739, allocations: 124.3 kB / 474.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.3739, allocations: 47.69 kB / 474.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.266e-06/0.3739, allocations: 1.375 kB / 474.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01338/0.3873, allocations: 5.877 MB / 480.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3874, allocations: 68.34 kB / 480.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.3894, allocations: 1.318 MB / 481.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3895, allocations: 45.7 kB / 481.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/0.3903, allocations: 0.9459 MB / 482.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.3907, allocations: 416.5 kB / 483.2 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.3911, allocations: 247.5 kB / 483.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3913, allocations: 357.9 kB / 483.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.3923, allocations: 0.6403 MB / 484.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3937, allocations: 1.004 MB / 485.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.3961, allocations: 1.731 MB / 487.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3961, allocations: 4.875 kB / 487.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003966/0.4001, allocations: 2.238 MB / 489.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4001, allocations: 12 kB / 489.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4002, allocations: 12.31 kB / 489.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.4014, allocations: 495.9 kB / 490 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.4025, allocations: 307.5 kB / 490.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/0.4104, allocations: 7.134 MB / 497.4 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4117, allocations: 87.97 kB / 497.5 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4118, allocations: 56 kB / 497.5 MB, free: 9.848 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.001159/0.413, allocations: 0.6038 MB / 498.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.4133, allocations: 159 kB / 498.3 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.4168, allocations: 1.961 MB / 0.4885 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4168, allocations: 12 kB / 0.4885 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4168, allocations: 4 kB / 0.4885 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.4168, allocations: 3.984 kB / 0.4885 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007387/0.4242, allocations: 4.105 MB / 0.4926 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4242, allocations: 8.219 kB / 0.4926 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/0.4251, allocations: 187.8 kB / 0.4927 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.4266, allocations: 0.5387 MB / 0.4933 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/0.4266, allocations: 35.92 kB / 0.4933 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009479/0.4361, allocations: 8.748 MB / 0.5018 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.4361, allocations: 3.938 kB / 0.5018 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.4414, allocations: 2.859 MB / 0.5046 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.4425, allocations: 364.5 kB / 0.505 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.4428, allocations: 32.12 kB / 0.505 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.4436, allocations: 63.92 kB / 0.5051 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.4439, allocations: 92.84 kB / 0.5052 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.4439, allocations: 35.98 kB / 0.5052 GB, free: 5.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.4454, allocations: 0.8957 MB / 0.5061 GB, free: 4.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4454, allocations: 0 / 0.5061 GB, free: 4.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4471, allocations: 436 kB / 0.5065 GB, free: 3.949 MB / 414.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.0004075/0.4475, allocations: 191.8 kB / 0.5067 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.4511, allocations: 2.164 MB / 0.5088 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4511, allocations: 0 / 0.5088 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.4535, allocations: 1.453 MB / 0.5102 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.4556, allocations: 419.7 kB / 0.5106 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.4628, allocations: 4.222 MB / 0.5147 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.4643, allocations: 1.63 MB / 0.5163 GB, free: 9.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.4648, allocations: 111.4 kB / 0.5164 GB, free: 9.523 MB / 430.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4648, allocations: 0 / 0.5164 GB, free: 9.523 MB / 430.1 MB Notification: Performance of Templates: time 0.08353/0.5483, allocations: 71.24 MB / 0.586 GB, free: 2.273 MB / 494.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/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/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.951965431100689]