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.001199/0.001199, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002087/0.003285, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001223/0.001223, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001951/0.003174, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9812/0.9812, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08563/1.067, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.644e-06/1.644e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.206e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008023/0.008045, allocations: 9.563 MB / 254.8 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.01429, allocations: 3.24 MB / 258 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.01572, allocations: 63.62 kB / 258.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.01718, allocations: 0.6364 MB / 258.7 MB, free: 8 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.01923, allocations: 0.8264 MB / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.02003, allocations: 391.3 kB / 259.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.02288, allocations: 2.552 MB / 262.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.02423, allocations: 1.029 MB / 263.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.02719, allocations: 1.919 MB / 265.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.02866, allocations: 1.157 MB / 266.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.02907, allocations: 272 kB / 266.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.0298, allocations: 379.7 kB / 267.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.03037, allocations: 0.6311 MB / 267.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.03129, allocations: 0.7214 MB / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.03346, allocations: 1.877 MB / 270.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.03347, allocations: 0 / 270.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03347, allocations: 0 / 270.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.065e-05/0.03353, allocations: 4 kB / 270.5 MB, free: 4.168 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.003652/0.03718, allocations: 2.863 MB / 273.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.03721, allocations: 8.625 kB / 273.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.03798, allocations: 433.8 kB / 273.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1362/0.1742, allocations: 0.9509 MB / 274.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.1743, allocations: 141 kB / 274.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.1746, allocations: 200.5 kB / 275 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.177, allocations: 1.447 MB / 276.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-05/0.1771, allocations: 8.016 kB / 276.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1772, allocations: 83.64 kB / 276.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1773, allocations: 88.48 kB / 276.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1784, allocations: 0.5529 MB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007874/0.1863, allocations: 5.233 MB / 282.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.1872, allocations: 0.5705 MB / 283 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.188, allocations: 0.5021 MB / 283.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.1882, allocations: 42.8 kB / 283.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1882, allocations: 44.25 kB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.967e-06/0.1882, allocations: 3.719 kB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005464/0.1937, allocations: 2.601 MB / 286.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.1937, allocations: 63.44 kB / 286.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007499/0.1944, allocations: 0.894 MB / 287.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.1945, allocations: 48.98 kB / 287.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.1947, allocations: 0.8027 MB / 288 MB, free: 9.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.1949, allocations: 404 kB / 288.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.1951, allocations: 241.8 kB / 288.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.1952, allocations: 359.9 kB / 289 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1954, allocations: 160.5 kB / 289.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1956, allocations: 0.5169 MB / 289.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.1962, allocations: 0.8534 MB / 290.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1963, allocations: 3.406 kB / 290.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001122/0.1974, allocations: 0.9727 MB / 291.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1974, allocations: 6.656 kB / 291.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1974, allocations: 13.03 kB / 291.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/0.198, allocations: 280.6 kB / 291.8 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.1986, allocations: 319.4 kB / 292.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.201, allocations: 4.81 MB / 296.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.2016, allocations: 42.52 kB / 297 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.2016, allocations: 48.52 kB / 297 MB, free: 3.898 MB / 266.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.0003855/0.202, allocations: 195.9 kB / 297.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.2022, allocations: 123 kB / 297.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/0.2032, allocations: 0.8391 MB / 298.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2032, allocations: 15.22 kB / 298.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2032, allocations: 9.359 kB / 298.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2032, allocations: 3.656 kB / 298.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.2055, allocations: 1.983 MB / 300.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2055, allocations: 0 / 300.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.206, allocations: 194.9 kB / 300.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.2062, allocations: 179 kB / 300.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/0.2069, allocations: 365.6 kB / 300.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.2069, allocations: 27.98 kB / 300.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.2102, allocations: 6.023 MB / 306.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2102, allocations: 4 kB / 306.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.2116, allocations: 1.217 MB / 308.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2117, allocations: 31.92 kB / 308.2 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.212, allocations: 39.98 kB / 308.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2122, allocations: 92.11 kB / 308.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.2122, allocations: 27.98 kB / 308.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003914/0.2126, allocations: 440.4 kB / 308.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2126, allocations: 0 / 308.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001189/0.2138, allocations: 427.9 kB / 309.2 MB, free: 8.863 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003055/0.2141, allocations: 168.9 kB / 309.4 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.2155, allocations: 1.144 MB / 310.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-05/0.2155, allocations: 32.09 kB / 310.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.2166, allocations: 1.11 MB / 311.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.2185, allocations: 3.648 MB / 315.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.2318, allocations: 3.33 MB / 318.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.2323, allocations: 460.1 kB / 319.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006279/0.2329, allocations: 168 kB / 319.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.2335, allocations: 369.1 kB / 319.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2335, allocations: 0 / 319.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Templates: time 0.03094/0.2644, allocations: 24.73 MB / 344.3 MB, free: 5.406 MB / 314.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3486141990870237]