Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001445/0.001445, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001315/0.001315, allocations: 166.2 kB / 24.99 MB, free: 8.219 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.9938/0.9938, allocations: 177 MB / 205.2 MB, free: 5.512 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273 MB, free: 1.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.816e-05, allocations: 5.406 kB / 273 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1348/0.1348, allocations: 24.22 MB / 297.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1479, allocations: 7.36 MB / 304.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.1526, allocations: 222.2 kB / 304.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.1634, allocations: 9.389 MB / 314.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008464/0.1719, allocations: 3.031 MB / 317.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.1754, allocations: 1.745 MB / 319 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.1857, allocations: 11.29 MB / 330.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01834/0.204, allocations: 14.23 MB / 344.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.2154, allocations: 8.679 MB / 353.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008776/0.2242, allocations: 6.036 MB / 359.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003701/0.2279, allocations: 1.672 MB / 360.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005015/0.2329, allocations: 2.058 MB / 363 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.2359, allocations: 3.269 MB / 366.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008073/0.244, allocations: 4.133 MB / 370.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.2555, allocations: 10.41 MB / 380.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2555, allocations: 0 / 380.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2555, allocations: 0 / 380.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003953/0.2559, allocations: 0 / 380.8 MB, free: 6.879 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02096/0.2768, allocations: 13.67 MB / 394.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.2769, allocations: 11.98 kB / 394.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/0.2992, allocations: 7.756 MB / 402.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.3095, allocations: 6.694 MB / 408.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/0.31, allocations: 0.7024 MB / 409.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/0.3126, allocations: 0.9295 MB / 410.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.3319, allocations: 8.283 MB / 418.8 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/0.3322, allocations: 11.95 kB / 418.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.3332, allocations: 392 kB / 419.2 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/0.3337, allocations: 0.5469 MB / 419.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/0.349, allocations: 4.607 MB / 424.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2531/0.6021, allocations: 40.81 MB / 465.2 MB, free: 96.83 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008526/0.6106, allocations: 7.991 MB / 473.2 MB, free: 94.77 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.6123, allocations: 1.342 MB / 474.5 MB, free: 94.3 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.6125, allocations: 136 kB / 474.6 MB, free: 94.26 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.6126, allocations: 73.64 kB / 474.7 MB, free: 94.19 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.532e-06/0.6126, allocations: 0 / 474.7 MB, free: 94.19 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01772/0.6303, allocations: 10.31 MB / 485 MB, free: 85.59 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6303, allocations: 90.58 kB / 485.1 MB, free: 85.49 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.6334, allocations: 3.304 MB / 488.4 MB, free: 82.27 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6336, allocations: 89.7 kB / 488.5 MB, free: 82.17 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.6349, allocations: 4.371 MB / 492.9 MB, free: 78.32 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007086/0.6356, allocations: 1.474 MB / 494.4 MB, free: 76.86 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.6367, allocations: 1.272 MB / 495.6 MB, free: 75.57 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.6367, allocations: 476.8 kB / 496.1 MB, free: 75.1 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.638, allocations: 0.8742 MB / 497 MB, free: 74.22 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.64, allocations: 4.123 MB / 0.4893 GB, free: 68.73 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.6439, allocations: 5.508 MB / 0.4947 GB, free: 61.86 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-05/0.6439, allocations: 24 kB / 0.4947 GB, free: 61.84 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006774/0.6507, allocations: 5.325 MB / 0.4999 GB, free: 56.49 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.6507, allocations: 36 kB / 0.5 GB, free: 56.46 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-05/0.6508, allocations: 68 kB / 0.5 GB, free: 56.39 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.6529, allocations: 1.126 MB / 0.5011 GB, free: 55.27 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.6555, allocations: 1.322 MB / 0.5024 GB, free: 53.94 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.6617, allocations: 6.053 MB / 0.5083 GB, free: 47.76 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.6648, allocations: 323.5 kB / 0.5087 GB, free: 47.45 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008483/0.6657, allocations: 291.9 kB / 0.5089 GB, free: 47.16 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002316/0.668, allocations: 0.5373 MB / 0.5095 GB, free: 46.61 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/0.6688, allocations: 0.5209 MB / 0.51 GB, free: 46.09 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.6737, allocations: 3.657 MB / 0.5135 GB, free: 42.4 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00345/0.6772, allocations: 2.681 MB / 0.5162 GB, free: 39.7 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6772, allocations: 11.94 kB / 0.5162 GB, free: 39.68 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.6772, allocations: 19.92 kB / 0.5162 GB, free: 39.66 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.6921, allocations: 11.33 MB / 0.5273 GB, free: 28.23 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.6921, allocations: 4 kB / 0.5273 GB, free: 28.23 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.6936, allocations: 0.7261 MB / 0.528 GB, free: 27.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.6955, allocations: 1.008 MB / 0.529 GB, free: 26.49 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.6957, allocations: 99.97 kB / 0.529 GB, free: 26.39 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005356/0.701, allocations: 5.57 MB / 0.5345 GB, free: 20.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.701, allocations: 4 kB / 0.5345 GB, free: 20.71 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/0.7073, allocations: 4.695 MB / 0.5391 GB, free: 15.88 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.7091, allocations: 0.8212 MB / 0.5399 GB, free: 15.05 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.7094, allocations: 87.95 kB / 0.54 GB, free: 14.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7105, allocations: 187.8 kB / 0.5401 GB, free: 14.78 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004822/0.7109, allocations: 307.1 kB / 0.5404 GB, free: 14.48 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.7111, allocations: 124 kB / 0.5406 GB, free: 14.36 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001803/0.7129, allocations: 1.51 MB / 0.542 GB, free: 12.86 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7129, allocations: 0 / 0.542 GB, free: 12.86 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004357/0.7173, allocations: 1.605 MB / 0.5436 GB, free: 11.25 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/0.7177, allocations: 270.3 kB / 0.5439 GB, free: 10.98 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005517/0.7233, allocations: 4.107 MB / 0.5479 GB, free: 6.844 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7233, allocations: 4 kB / 0.5479 GB, free: 6.84 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.7258, allocations: 2.131 MB / 0.5499 GB, free: 4.695 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.7285, allocations: 0.8997 MB / 0.5508 GB, free: 3.836 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.7479, allocations: 13.82 MB / 0.5643 GB, free: 5.832 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.7503, allocations: 2.601 MB / 0.5669 GB, free: 3.191 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003275/0.7536, allocations: 1.606 MB / 0.5684 GB, free: 1.578 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/0.7544, allocations: 356.4 kB / 0.5688 GB, free: 1.227 MB / 394.8 MB Notification: Performance of SimCode: time 2.174e-06/0.7544, allocations: 0 / 0.5688 GB, free: 1.227 MB / 394.8 MB Notification: Performance of Templates: time 0.1884/0.9428, allocations: 60.39 MB / 0.6277 GB, free: 82.74 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_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.8900823020376265]