Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001258/0.001258, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009425/0.0009425, allocations: 164.5 kB / 24.92 MB, free: 8.223 MB / 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 0.9136/0.9136, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.435e-05, allocations: 6.312 kB / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1142/0.1142, allocations: 25.37 MB / 298.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1269, allocations: 8.446 MB / 307.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.1293, allocations: 236.5 kB / 307.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008248/0.1376, allocations: 9.902 MB / 317.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005443/0.143, allocations: 3.453 MB / 320.9 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.1454, allocations: 1.826 MB / 322.7 MB, free: 324 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009319/0.1547, allocations: 12.78 MB / 335.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01574/0.1705, allocations: 16.35 MB / 351.8 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008368/0.1788, allocations: 9.84 MB / 361.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.1845, allocations: 7.229 MB / 368.9 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.186, allocations: 1.832 MB / 370.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.1882, allocations: 2.237 MB / 373 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.1902, allocations: 3.737 MB / 376.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.1933, allocations: 4.69 MB / 381.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008622/0.2019, allocations: 11.78 MB / 393.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2019, allocations: 0 / 393.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2019, allocations: 0 / 393.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002078/0.2021, allocations: 0 / 393.2 MB, free: 10.07 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.01741/0.2196, allocations: 13.64 MB / 406.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2196, allocations: 15.98 kB / 406.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02403/0.2436, allocations: 8.265 MB / 415.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/0.2507, allocations: 4.031 MB / 419.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.2512, allocations: 0.8067 MB / 419.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.2526, allocations: 1.055 MB / 421 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.2642, allocations: 9.113 MB / 430.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.2643, allocations: 11.94 kB / 430.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000748/0.2651, allocations: 451.9 kB / 430.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004144/0.2655, allocations: 0.6672 MB / 431.2 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2368/0.5023, allocations: 4.79 MB / 436 MB, free: 84 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/0.5407, allocations: 34.68 MB / 470.7 MB, free: 71.55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007793/0.5485, allocations: 7.067 MB / 477.8 MB, free: 68.21 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.5498, allocations: 1.283 MB / 479 MB, free: 67.09 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.55, allocations: 168.1 kB / 479.2 MB, free: 66.95 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.5501, allocations: 86.28 kB / 479.3 MB, free: 66.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.493e-06/0.5501, allocations: 0 / 479.3 MB, free: 66.86 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01637/0.5665, allocations: 9.426 MB / 488.7 MB, free: 58.64 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.5665, allocations: 111.5 kB / 488.8 MB, free: 58.52 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.5683, allocations: 2.657 MB / 491.5 MB, free: 56.52 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.5686, allocations: 109.7 kB / 491.6 MB, free: 56.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.5697, allocations: 4.274 MB / 495.9 MB, free: 52.64 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006761/0.5703, allocations: 1.845 MB / 497.7 MB, free: 50.91 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.5715, allocations: 1.256 MB / 499 MB, free: 49.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.635e-05/0.5715, allocations: 305.1 kB / 499.3 MB, free: 49.48 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.5727, allocations: 0.953 MB / 0.4885 GB, free: 48.52 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.5743, allocations: 3.201 MB / 0.4916 GB, free: 44.43 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.5777, allocations: 4.848 MB / 0.4964 GB, free: 38.91 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.5777, allocations: 25.53 kB / 0.4964 GB, free: 38.89 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005521/0.5832, allocations: 4.644 MB / 0.5009 GB, free: 34.73 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.5833, allocations: 36 kB / 0.5009 GB, free: 34.69 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/0.5833, allocations: 84.31 kB / 0.501 GB, free: 34.61 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.5855, allocations: 1.2 MB / 0.5022 GB, free: 33.42 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.5886, allocations: 1.547 MB / 0.5037 GB, free: 31.98 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.594, allocations: 5.083 MB / 0.5087 GB, free: 26.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.5963, allocations: 263.7 kB / 0.5089 GB, free: 26.7 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.5966, allocations: 264 kB / 0.5092 GB, free: 26.44 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.002096/0.5987, allocations: 0.5683 MB / 0.5097 GB, free: 25.97 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/0.5993, allocations: 443.6 kB / 0.5102 GB, free: 25.54 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/0.6038, allocations: 3.424 MB / 0.5135 GB, free: 22.1 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002861/0.6066, allocations: 2.209 MB / 0.5157 GB, free: 19.87 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6066, allocations: 12 kB / 0.5157 GB, free: 19.86 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.6067, allocations: 28.98 kB / 0.5157 GB, free: 19.83 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.6181, allocations: 9.518 MB / 0.525 GB, free: 11.52 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6181, allocations: 7.938 kB / 0.525 GB, free: 11.51 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.6199, allocations: 0.8615 MB / 0.5258 GB, free: 10.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.6217, allocations: 1.058 MB / 0.5269 GB, free: 9.645 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.6219, allocations: 104 kB / 0.527 GB, free: 9.543 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.6261, allocations: 4.647 MB / 0.5315 GB, free: 4.934 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6261, allocations: 0 / 0.5315 GB, free: 4.934 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.6304, allocations: 4.063 MB / 0.5355 GB, free: 0.8359 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.6314, allocations: 0.6215 MB / 0.5361 GB, free: 220 kB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.6317, allocations: 96 kB / 0.5362 GB, free: 124 kB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008885/0.6326, allocations: 136 kB / 0.5363 GB, free: 15.98 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.6331, allocations: 359.6 kB / 0.5367 GB, free: 15.64 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/0.6333, allocations: 108 kB / 0.5368 GB, free: 15.53 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001098/0.6344, allocations: 1.214 MB / 0.5379 GB, free: 14.48 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6344, allocations: 0 / 0.5379 GB, free: 14.48 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004385/0.6387, allocations: 1.918 MB / 0.5398 GB, free: 12.56 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.0004434/0.6392, allocations: 286.7 kB / 0.5401 GB, free: 12.32 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004608/0.6438, allocations: 3.85 MB / 0.5438 GB, free: 8.738 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.895e-05/0.6439, allocations: 71.12 kB / 0.5439 GB, free: 8.668 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.646, allocations: 2.035 MB / 0.5459 GB, free: 6.758 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.6483, allocations: 1.042 MB / 0.5469 GB, free: 5.762 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.6661, allocations: 15.68 MB / 0.5622 GB, free: 6.02 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003553/0.6696, allocations: 2.151 MB / 0.5643 GB, free: 3.832 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002971/0.6726, allocations: 0.8137 MB / 0.5651 GB, free: 3.012 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003199/0.6758, allocations: 1.054 MB / 0.5662 GB, free: 1.949 MB / 410.8 MB Notification: Performance of SimCode: time 2.915e-06/0.6758, allocations: 0 / 0.5662 GB, free: 1.949 MB / 410.8 MB Notification: Performance of Templates: time 0.2338/0.9097, allocations: 78.65 MB / 0.643 GB, free: 87.44 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.873709710780531]