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: 110.5 kB / 21.23 MB, free: 0.6641 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.002113/0.002113, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.002001/0.002001, allocations: 64.77 kB / 379.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2817, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01277/0.2944, allocations: 9.835 MB / 442.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.3009, allocations: 3.108 MB / 445.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.3023, allocations: 63.62 kB / 445.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.304, allocations: 0.66 MB / 446.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.3063, allocations: 0.7959 MB / 446.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.3072, allocations: 395.4 kB / 447.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.3103, allocations: 2.436 MB / 449.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.3118, allocations: 1.045 MB / 450.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.3134, allocations: 1.121 MB / 451.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3153, allocations: 1.343 MB / 453.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.3157, allocations: 280 kB / 453.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.3165, allocations: 383.8 kB / 453.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008545/0.3173, allocations: 0.7868 MB / 454.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.3188, allocations: 1.276 MB / 455.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.3229, allocations: 3.67 MB / 459.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3229, allocations: 0 / 459.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3229, allocations: 0 / 459.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.022e-05/0.3229, allocations: 0 / 459.6 MB, free: 11.64 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.004886/0.3278, allocations: 2.583 MB / 462.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3279, allocations: 8.031 kB / 462.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.3287, allocations: 287.3 kB / 462.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.331, allocations: 1.294 MB / 463.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3312, allocations: 144.1 kB / 463.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.3315, allocations: 199.9 kB / 464.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.3357, allocations: 2.415 MB / 466.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.3357, allocations: 7.938 kB / 466.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.3359, allocations: 76 kB / 466.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.336, allocations: 91.69 kB / 466.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.3395, allocations: 1.962 MB / 468.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.3527, allocations: 7.641 MB / 476.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.3545, allocations: 1.011 MB / 477.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.3564, allocations: 0.9094 MB / 478.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.3567, allocations: 40.97 kB / 478.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.3567, allocations: 51.5 kB / 478.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.504e-06/0.3567, allocations: 0 / 478.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0139/0.3706, allocations: 5.513 MB / 483.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3706, allocations: 64.34 kB / 483.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.3729, allocations: 1.318 MB / 485.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.373, allocations: 45.7 kB / 485.2 MB, free: 1.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.3738, allocations: 0.942 MB / 486.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.3742, allocations: 404.5 kB / 486.6 MB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.3747, allocations: 251.5 kB / 486.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3749, allocations: 361.9 kB / 487.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.376, allocations: 0.6364 MB / 487.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3774, allocations: 1.008 MB / 488.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.38, allocations: 1.731 MB / 490.6 MB, free: 11.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.38, allocations: 4 kB / 490.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004276/0.3843, allocations: 2.238 MB / 492.8 MB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3843, allocations: 8 kB / 492.8 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.3843, allocations: 12.31 kB / 492.8 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3856, allocations: 499 kB / 493.3 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3868, allocations: 299.5 kB / 493.6 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008697/0.3955, allocations: 6.822 MB / 0.4887 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.3969, allocations: 87.97 kB / 0.4888 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.3971, allocations: 56 kB / 0.4888 GB, free: 1.52 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.001577/0.3987, allocations: 0.6069 MB / 0.4894 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/0.3993, allocations: 155 kB / 0.4896 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.4035, allocations: 1.957 MB / 0.4915 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.4035, allocations: 12 kB / 0.4915 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.4036, allocations: 4 kB / 0.4915 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4036, allocations: 3.984 kB / 0.4915 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008526/0.4121, allocations: 4.077 MB / 0.4955 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4121, allocations: 4 kB / 0.4955 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/0.413, allocations: 188 kB / 0.4957 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.4147, allocations: 0.5414 MB / 0.4962 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.4149, allocations: 35.92 kB / 0.4962 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.4252, allocations: 8.343 MB / 0.5044 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.4253, allocations: 8 kB / 0.5044 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/0.4312, allocations: 2.856 MB / 0.5072 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.4323, allocations: 286.8 kB / 0.5074 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/0.4328, allocations: 28.47 kB / 0.5075 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4339, allocations: 67.86 kB / 0.5075 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.4342, allocations: 104.8 kB / 0.5076 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.4343, allocations: 27.98 kB / 0.5077 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001861/0.4362, allocations: 0.8918 MB / 0.5085 GB, free: 12.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4362, allocations: 3.938 kB / 0.5085 GB, free: 12.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001878/0.438, allocations: 436 kB / 0.509 GB, free: 12.24 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.0004553/0.4385, allocations: 194.8 kB / 0.5091 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003994/0.4425, allocations: 2.003 MB / 0.5111 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.4425, allocations: 4 kB / 0.5111 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.4451, allocations: 1.373 MB / 0.5124 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.4472, allocations: 418.3 kB / 0.5128 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.4544, allocations: 4.196 MB / 0.5169 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.4559, allocations: 1.658 MB / 0.5186 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.457, allocations: 324.8 kB / 0.5189 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.4573, allocations: 99.42 kB / 0.519 GB, free: 1.789 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4573, allocations: 3.938 kB / 0.519 GB, free: 1.785 MB / 430.1 MB Notification: Performance of Templates: time 0.3036/0.7608, allocations: 25.28 MB / 0.5437 GB, free: 93.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/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: 6.090047407895327]