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.0009462/0.0009462, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002072, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006861/0.0006861, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001769, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9969/0.9969, allocations: 177.4 MB / 189.9 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08973/1.087, allocations: 53.86 MB / 243.7 MB, free: 14.89 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.563e-06/1.563e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.022e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008167/0.008187, allocations: 9.579 MB / 254.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.01377, allocations: 3.224 MB / 257.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.01477, allocations: 63.56 kB / 257.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.01616, allocations: 0.6325 MB / 258.5 MB, free: 60 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.01769, allocations: 0.8265 MB / 259.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.01826, allocations: 395.2 kB / 259.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.01982, allocations: 2.552 MB / 262.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/0.02075, allocations: 1.029 MB / 263.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.02239, allocations: 1.927 MB / 265.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.02376, allocations: 1.153 MB / 266.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.02397, allocations: 272 kB / 266.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.02441, allocations: 375.8 kB / 267 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.02481, allocations: 0.635 MB / 267.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.02538, allocations: 0.7213 MB / 268.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.02685, allocations: 1.873 MB / 270.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.02687, allocations: 0 / 270.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02687, allocations: 4 kB / 270.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.0269, allocations: 0 / 270.3 MB, free: 4.215 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.002761/0.02966, allocations: 2.863 MB / 273.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.02969, allocations: 12.62 kB / 273.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.03026, allocations: 433.7 kB / 273.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1103/0.1406, allocations: 0.9516 MB / 274.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1407, allocations: 144.1 kB / 274.6 MB, free: 19.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.141, allocations: 191.3 kB / 274.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.143, allocations: 1.454 MB / 276.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.143, allocations: 6.141 kB / 276.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1431, allocations: 77.19 kB / 276.4 MB, free: 19.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/0.1432, allocations: 89.09 kB / 276.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1442, allocations: 0.5534 MB / 277 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/0.1508, allocations: 5.227 MB / 282.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.1515, allocations: 0.5738 MB / 282.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/0.1522, allocations: 0.5078 MB / 283.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.1524, allocations: 46.44 kB / 283.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1525, allocations: 44.3 kB / 283.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.176e-06/0.1525, allocations: 0 / 283.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005151/0.1576, allocations: 2.581 MB / 286 MB, free: 16.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1576, allocations: 63.66 kB / 286.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.1584, allocations: 0.8944 MB / 286.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.1584, allocations: 43.7 kB / 287 MB, free: 16.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.1588, allocations: 0.7986 MB / 287.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.159, allocations: 405.1 kB / 288.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.1592, allocations: 244.7 kB / 288.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.1593, allocations: 359.8 kB / 288.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1595, allocations: 164.4 kB / 288.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1598, allocations: 0.5137 MB / 289.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.1604, allocations: 0.8114 MB / 290.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.1604, allocations: 3.406 kB / 290.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001259/0.1617, allocations: 0.9792 MB / 291.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1617, allocations: 10.59 kB / 291.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1617, allocations: 11.03 kB / 291.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.1623, allocations: 280 kB / 291.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.163, allocations: 322 kB / 291.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.1654, allocations: 4.815 MB / 296.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1659, allocations: 42.84 kB / 296.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.166, allocations: 47.16 kB / 296.8 MB, free: 9.871 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.0003556/0.1663, allocations: 192.3 kB / 296.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.1665, allocations: 129.2 kB / 297.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009254/0.1674, allocations: 0.8324 MB / 297.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1674, allocations: 15.94 kB / 297.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1674, allocations: 4 kB / 297.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1674, allocations: 3.984 kB / 297.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1696, allocations: 1.976 MB / 299.9 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1696, allocations: 4 kB / 299.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.17, allocations: 191.8 kB / 300.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.1703, allocations: 182.6 kB / 300.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/0.1709, allocations: 359.6 kB / 300.6 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.1709, allocations: 35.98 kB / 300.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.1733, allocations: 6.013 MB / 306.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1733, allocations: 11.97 kB / 306.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1746, allocations: 1.209 MB / 307.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.1748, allocations: 39.42 kB / 307.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.1751, allocations: 35.98 kB / 308 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1752, allocations: 88.83 kB / 308 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.1752, allocations: 23.98 kB / 308.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1756, allocations: 444.7 kB / 308.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1756, allocations: 0 / 308.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001112/0.1767, allocations: 428 kB / 308.9 MB, free: 13.44 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.000253/0.177, allocations: 170.8 kB / 309.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1782, allocations: 1.126 MB / 310.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.649e-05/0.1782, allocations: 28.19 kB / 310.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.179, allocations: 0.9305 MB / 311.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/0.1799, allocations: 479.7 kB / 311.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.1936, allocations: 3.393 MB / 315 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1941, allocations: 448 kB / 315.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000654/0.1948, allocations: 171.9 kB / 315.6 MB, free: 6.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.1954, allocations: 365.1 kB / 316 MB, free: 6.254 MB / 282.7 MB Notification: Performance of SimCode: time 1.874e-06/0.1954, allocations: 0 / 316 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Templates: time 0.03041/0.2258, allocations: 24.83 MB / 340.8 MB, free: 13.84 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2688939766958356]