Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9633/0.9633, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.711e-05, allocations: 8.422 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1365/0.1365, allocations: 25.38 MB / 298.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.1556, allocations: 8.443 MB / 307.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005496/0.1611, allocations: 240.8 kB / 307.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.1726, allocations: 9.908 MB / 317.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0099/0.1825, allocations: 3.445 MB / 321 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.1869, allocations: 1.822 MB / 322.8 MB, free: 408 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.2002, allocations: 12.78 MB / 335.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02377/0.224, allocations: 16.36 MB / 351.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/0.2416, allocations: 9.852 MB / 361.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.2525, allocations: 7.233 MB / 369 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004533/0.257, allocations: 1.828 MB / 370.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/0.264, allocations: 2.237 MB / 373.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.2696, allocations: 3.733 MB / 376.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.2803, allocations: 4.69 MB / 381.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.2977, allocations: 11.77 MB / 393.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2977, allocations: 0 / 393.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2977, allocations: 4 kB / 393.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00051/0.2982, allocations: 4 kB / 393.3 MB, free: 10.15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.02681/0.325, allocations: 13.65 MB / 406.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.3251, allocations: 12.03 kB / 406.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/0.3539, allocations: 8.257 MB / 415.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008799/0.3627, allocations: 4.027 MB / 419.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/0.3633, allocations: 0.8028 MB / 420 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002949/0.3662, allocations: 1.062 MB / 421.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.3867, allocations: 9.105 MB / 430.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.3869, allocations: 11.94 kB / 430.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.3884, allocations: 451.9 kB / 430.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004541/0.3888, allocations: 0.6672 MB / 431.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.248/0.6368, allocations: 4.795 MB / 436.1 MB, free: 84.08 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06195/0.6988, allocations: 34.68 MB / 470.8 MB, free: 71.63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/0.7069, allocations: 7.083 MB / 477.9 MB, free: 68.37 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.7089, allocations: 1.285 MB / 479.1 MB, free: 67.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.7092, allocations: 161.3 kB / 479.3 MB, free: 67.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.7092, allocations: 82.62 kB / 479.4 MB, free: 67.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.543e-06/0.7092, allocations: 1.969 kB / 479.4 MB, free: 67.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01841/0.7276, allocations: 9.418 MB / 488.8 MB, free: 58.85 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.7277, allocations: 122.9 kB / 488.9 MB, free: 58.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.7301, allocations: 2.653 MB / 491.6 MB, free: 56.71 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006241/0.7307, allocations: 109.7 kB / 491.7 MB, free: 56.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.7319, allocations: 4.275 MB / 496 MB, free: 52.84 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.7331, allocations: 1.842 MB / 497.8 MB, free: 51.11 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.7344, allocations: 1.261 MB / 499.1 MB, free: 49.98 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.866e-05/0.7345, allocations: 301.1 kB / 499.4 MB, free: 49.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.7357, allocations: 0.9569 MB / 0.4886 GB, free: 48.72 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.7372, allocations: 3.186 MB / 0.4917 GB, free: 44.64 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.7412, allocations: 4.856 MB / 0.4964 GB, free: 39.11 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-05/0.7413, allocations: 24 kB / 0.4965 GB, free: 39.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.006726/0.748, allocations: 4.643 MB / 0.501 GB, free: 34.93 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.7481, allocations: 38.97 kB / 0.501 GB, free: 34.89 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.671e-05/0.7481, allocations: 85.91 kB / 0.5011 GB, free: 34.81 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.7504, allocations: 1.192 MB / 0.5023 GB, free: 33.62 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.7539, allocations: 1.551 MB / 0.5038 GB, free: 32.18 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.7593, allocations: 5.085 MB / 0.5088 GB, free: 27.16 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.7625, allocations: 263.7 kB / 0.509 GB, free: 26.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009659/0.7634, allocations: 264 kB / 0.5093 GB, free: 26.64 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002839/0.7663, allocations: 0.5731 MB / 0.5098 GB, free: 26.17 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009155/0.7672, allocations: 447.6 kB / 0.5102 GB, free: 25.73 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.7719, allocations: 3.417 MB / 0.5136 GB, free: 22.3 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00289/0.7747, allocations: 2.211 MB / 0.5157 GB, free: 20.07 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.7748, allocations: 16 kB / 0.5158 GB, free: 20.05 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.617e-05/0.7748, allocations: 23.91 kB / 0.5158 GB, free: 20.03 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.7932, allocations: 9.528 MB / 0.5251 GB, free: 11.71 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.7932, allocations: 7.938 kB / 0.5251 GB, free: 11.7 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.7955, allocations: 0.8499 MB / 0.5259 GB, free: 10.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.7975, allocations: 1.063 MB / 0.527 GB, free: 9.844 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006876/0.7981, allocations: 112 kB / 0.5271 GB, free: 9.734 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.8035, allocations: 4.635 MB / 0.5316 GB, free: 5.133 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8035, allocations: 0 / 0.5316 GB, free: 5.133 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/0.8105, allocations: 4.068 MB / 0.5356 GB, free: 1.031 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.8121, allocations: 0.6138 MB / 0.5362 GB, free: 424 kB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/0.8125, allocations: 99.98 kB / 0.5363 GB, free: 324 kB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8135, allocations: 136 kB / 0.5364 GB, free: 188 kB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005953/0.8141, allocations: 358.7 kB / 0.5367 GB, free: 15.83 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/0.8143, allocations: 104 kB / 0.5368 GB, free: 15.73 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001485/0.8158, allocations: 1.217 MB / 0.538 GB, free: 14.68 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8158, allocations: 0 / 0.538 GB, free: 14.68 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005037/0.8209, allocations: 1.918 MB / 0.5399 GB, free: 12.76 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006503/0.8215, allocations: 301.3 kB / 0.5402 GB, free: 12.51 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006162/0.8277, allocations: 3.852 MB / 0.5439 GB, free: 8.926 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001472/0.8278, allocations: 67.94 kB / 0.544 GB, free: 8.855 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.831, allocations: 2.03 MB / 0.546 GB, free: 6.949 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/0.8346, allocations: 1.032 MB / 0.547 GB, free: 5.961 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.8612, allocations: 15.69 MB / 0.5623 GB, free: 6.207 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/0.8648, allocations: 2.151 MB / 0.5644 GB, free: 4.023 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002849/0.8677, allocations: 0.8176 MB / 0.5652 GB, free: 3.199 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/0.8698, allocations: 1.061 MB / 0.5663 GB, free: 2.129 MB / 410.8 MB Notification: Performance of SimCode: time 2.765e-06/0.8698, allocations: 0 / 0.5663 GB, free: 2.129 MB / 410.8 MB Notification: Performance of Templates: time 0.2354/1.105, allocations: 78.67 MB / 0.6431 GB, free: 87.85 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.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: 4.8842705436982214]