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.001362/0.001362, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001448/0.001448, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.561/1.561, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 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 1.623e-06/1.623e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.863e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01316/0.01319, allocations: 8.647 MB / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007538/0.02073, allocations: 2.925 MB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.02244, allocations: 63.62 kB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.02472, allocations: 0.6285 MB / 284.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.02862, allocations: 0.8303 MB / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.03031, allocations: 383.3 kB / 285.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004529/0.03484, allocations: 2.536 MB / 288.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.03758, allocations: 0.9976 MB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1298/0.1673, allocations: 1.613 MB / 290.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.1697, allocations: 1.118 MB / 291.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009049/0.1706, allocations: 278.9 kB / 292.2 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.172, allocations: 378.2 kB / 292.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008265/0.1728, allocations: 0.8059 MB / 293.4 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1741, allocations: 0.8773 MB / 294.3 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.1783, allocations: 3.713 MB / 298 MB, free: 16.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1783, allocations: 0.5625 kB / 298 MB, free: 16.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1783, allocations: 1.406 kB / 298 MB, free: 16.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.926e-05/0.1784, allocations: 0 / 298 MB, free: 16.21 MB / 266.7 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.005056/0.1835, allocations: 2.55 MB / 300.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1835, allocations: 17.08 kB / 300.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1846, allocations: 451 kB / 301 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.1868, allocations: 1.337 MB / 302.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1869, allocations: 145.9 kB / 302.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.1872, allocations: 193.1 kB / 302.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.191, allocations: 2.52 MB / 305.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.191, allocations: 7.141 kB / 305.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.1912, allocations: 81.98 kB / 305.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1913, allocations: 96.55 kB / 305.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.1953, allocations: 1.95 MB / 307.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.206, allocations: 6.891 MB / 314.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.2075, allocations: 0.9943 MB / 315.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.209, allocations: 0.9197 MB / 316.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.2092, allocations: 48.95 kB / 316.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2093, allocations: 47.56 kB / 316.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.475e-06/0.2093, allocations: 0 / 316.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.01224/0.2215, allocations: 5.536 MB / 321.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2216, allocations: 65.06 kB / 321.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.2238, allocations: 1.178 MB / 323 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.2239, allocations: 45.7 kB / 323 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/0.2248, allocations: 0.9448 MB / 324 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.2252, allocations: 405.5 kB / 324.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/0.2257, allocations: 247.5 kB / 324.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.2259, allocations: 357.9 kB / 325 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.2271, allocations: 0.6409 MB / 325.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.2287, allocations: 1.006 MB / 326.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.2317, allocations: 1.73 MB / 328.3 MB, free: 7.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.2317, allocations: 4 kB / 328.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004603/0.2363, allocations: 2.295 MB / 330.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.2364, allocations: 12 kB / 330.7 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.2364, allocations: 11.25 kB / 330.7 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.238, allocations: 0.5288 MB / 331.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.2391, allocations: 304.3 kB / 331.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.248, allocations: 6.722 MB / 338.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.2492, allocations: 87.84 kB / 338.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.2494, allocations: 56 kB / 338.4 MB, free: 13.73 MB / 298.7 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.001322/0.2507, allocations: 0.596 MB / 339 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/0.2512, allocations: 191 kB / 339.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.2552, allocations: 1.943 MB / 341.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.2552, allocations: 10.41 kB / 341.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.2552, allocations: 8 kB / 341.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.2553, allocations: 3.984 kB / 341.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008522/0.2638, allocations: 3.64 MB / 344.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.2638, allocations: 10.34 kB / 344.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/0.2647, allocations: 179.6 kB / 344.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.2665, allocations: 0.5712 MB / 345.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.2667, allocations: 31.98 kB / 345.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.2772, allocations: 8.213 MB / 353.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.2772, allocations: 7.594 kB / 353.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.283, allocations: 2.876 MB / 356.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.2839, allocations: 267 kB / 356.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/0.2843, allocations: 28 kB / 356.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.2854, allocations: 69.89 kB / 357 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.2857, allocations: 96.05 kB / 357.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.2858, allocations: 31.98 kB / 357.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.2874, allocations: 0.7869 MB / 357.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2874, allocations: 3.938 kB / 357.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002092/0.2895, allocations: 443.9 kB / 358.3 MB, free: 9.344 MB / 314.7 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.000454/0.2899, allocations: 189.8 kB / 358.5 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.2939, allocations: 1.997 MB / 360.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2939, allocations: 0.8125 kB / 360.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.2965, allocations: 1.384 MB / 361.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.2988, allocations: 369.9 kB / 362.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008234/0.307, allocations: 4.006 MB / 366.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.3088, allocations: 1.068 MB / 367.3 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.31, allocations: 307.7 kB / 367.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.3104, allocations: 96.48 kB / 367.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3104, allocations: 4 kB / 367.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Templates: time 0.04561/0.356, allocations: 22.87 MB / 390.6 MB, free: 9.363 MB / 346.7 MB " [Timeout remaining time 660] 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.437301990110427]