Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001807/0.001807, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.002179/0.002179, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.556/1.556, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 373.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1125, allocations: 53.32 MB / 427.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01281/0.1253, allocations: 9.782 MB / 437 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007147/0.1324, allocations: 3.097 MB / 440.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.1354, allocations: 51.81 kB / 440.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.1382, allocations: 0.6677 MB / 440.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.1414, allocations: 0.7804 MB / 441.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1429, allocations: 383.4 kB / 441.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004361/0.1472, allocations: 2.452 MB / 444.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.1498, allocations: 1.278 MB / 445.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.152, allocations: 1.094 MB / 446.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2408/0.3928, allocations: 1.337 MB / 448.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.3939, allocations: 278.6 kB / 448.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.3952, allocations: 381.8 kB / 448.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.396, allocations: 0.7801 MB / 449.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.3976, allocations: 1.27 MB / 450.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.4026, allocations: 3.677 MB / 454.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4026, allocations: 1.812 kB / 454.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4026, allocations: 0 / 454.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.885e-05/0.4027, allocations: 0 / 454.5 MB, free: 10.73 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.005775/0.4085, allocations: 2.657 MB / 457.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4086, allocations: 9.781 kB / 457.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/0.4094, allocations: 292.6 kB / 457.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.4119, allocations: 1.359 MB / 458.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.412, allocations: 151.1 kB / 458.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.4123, allocations: 190.7 kB / 459.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00426/0.4165, allocations: 2.422 MB / 461.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.4166, allocations: 6.766 kB / 461.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.4168, allocations: 81.88 kB / 461.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.4169, allocations: 90.12 kB / 461.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.4204, allocations: 1.96 MB / 463.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.433, allocations: 7.78 MB / 471.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.4347, allocations: 1.16 MB / 472.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4364, allocations: 0.9118 MB / 473.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.4367, allocations: 120.2 kB / 473.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4367, allocations: 43.22 kB / 473.7 MB, free: 1.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.306e-06/0.4367, allocations: 0 / 473.7 MB, free: 1.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01331/0.45, allocations: 5.881 MB / 479.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4501, allocations: 71.8 kB / 479.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.4522, allocations: 1.308 MB / 480.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4523, allocations: 49.17 kB / 481 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.4531, allocations: 0.9474 MB / 481.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4534, allocations: 406.6 kB / 482.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.4538, allocations: 251.7 kB / 482.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.454, allocations: 356 kB / 482.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.455, allocations: 0.6373 MB / 483.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4564, allocations: 1.003 MB / 484.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.4588, allocations: 1.736 MB / 486.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4588, allocations: 7.531 kB / 486.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003847/0.4627, allocations: 2.245 MB / 488.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.4627, allocations: 11.38 kB / 488.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.4627, allocations: 15.5 kB / 488.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.464, allocations: 490.8 kB / 489.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4651, allocations: 296.7 kB / 489.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.4728, allocations: 7.135 MB / 496.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.4744, allocations: 87.97 kB / 496.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4745, allocations: 56 kB / 496.6 MB, free: 1.902 MB / 382.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.001475/0.476, allocations: 0.6021 MB / 497.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.4763, allocations: 159 kB / 497.4 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.48, allocations: 1.964 MB / 499.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.48, allocations: 12 kB / 499.4 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.48, allocations: 4 kB / 499.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.48, allocations: 3.984 kB / 499.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/0.4876, allocations: 4.113 MB / 0.4917 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4876, allocations: 9.719 kB / 0.4917 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.4885, allocations: 187.7 kB / 0.4919 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.49, allocations: 0.5324 MB / 0.4924 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.73e-05/0.4901, allocations: 35.98 kB / 0.4924 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009883/0.5, allocations: 8.765 MB / 0.501 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5, allocations: 4 kB / 0.501 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.5054, allocations: 2.86 MB / 0.5038 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.5065, allocations: 360 kB / 0.5041 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.5067, allocations: 27.98 kB / 0.5041 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.5076, allocations: 67.92 kB / 0.5042 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.5078, allocations: 91.83 kB / 0.5043 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.5079, allocations: 32.8 kB / 0.5043 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.5095, allocations: 0.8918 MB / 0.5052 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5095, allocations: 0 / 0.5052 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002227/0.5117, allocations: 443.9 kB / 0.5056 GB, free: 12.18 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.0004418/0.5122, allocations: 187.4 kB / 0.5058 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.5161, allocations: 2.155 MB / 0.5079 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5161, allocations: 0 / 0.5079 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.5185, allocations: 1.456 MB / 0.5093 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5209, allocations: 427.1 kB / 0.5097 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.5281, allocations: 4.171 MB / 0.5138 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.5296, allocations: 1.646 MB / 0.5154 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.5307, allocations: 328.8 kB / 0.5157 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.531, allocations: 95.42 kB / 0.5158 GB, free: 1.59 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.531, allocations: 0 / 0.5158 GB, free: 1.59 MB / 414.1 MB Notification: Performance of Templates: time 0.05106/0.582, allocations: 24.49 MB / 0.5397 GB, free: 9.367 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.683092870749533]