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.0008836/0.0008836, allocations: 81.81 kB / 21.42 MB, free: 3.078 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.0008996/0.0008996, allocations: 168.4 kB / 24.82 MB, free: 8.941 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.9662/0.9662, allocations: 177 MB / 205.1 MB, free: 5.441 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.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.501e-05, allocations: 2.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.184/0.184, allocations: 23.28 MB / 296.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.1983, allocations: 7.322 MB / 304 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.2031, allocations: 226.4 kB / 304.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.2144, allocations: 9.1 MB / 313.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009502/0.2239, allocations: 3.021 MB / 316.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.228, allocations: 1.732 MB / 318 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.2404, allocations: 11.3 MB / 329.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02267/0.2631, allocations: 14.23 MB / 343.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.2778, allocations: 8.679 MB / 352.2 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009785/0.2875, allocations: 6.231 MB / 358.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004252/0.2918, allocations: 1.664 MB / 360.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.2975, allocations: 2.065 MB / 362.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003922/0.3015, allocations: 3.265 MB / 365.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008026/0.3095, allocations: 4.129 MB / 369.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.3257, allocations: 10.4 MB / 380 MB, free: 7.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3258, allocations: 4 kB / 380 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3258, allocations: 0 / 380 MB, free: 7.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005676/0.3263, allocations: 4 kB / 380 MB, free: 7.16 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.02564/0.352, allocations: 12.69 MB / 392.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.352, allocations: 11.98 kB / 392.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02139/0.3734, allocations: 6.005 MB / 398.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00977/0.3832, allocations: 6.272 MB / 405 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/0.3838, allocations: 0.7024 MB / 405.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002965/0.3867, allocations: 0.9179 MB / 406.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.4054, allocations: 7.59 MB / 414.2 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002276/0.4056, allocations: 19.83 kB / 414.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001455/0.4071, allocations: 392 kB / 414.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/0.4075, allocations: 0.5508 MB / 415.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.4184, allocations: 3.601 MB / 418.7 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3226/0.741, allocations: 40.28 MB / 459 MB, free: 72.63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.7482, allocations: 6.578 MB / 465.6 MB, free: 72.21 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.7498, allocations: 1.166 MB / 466.8 MB, free: 72.17 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.7501, allocations: 153.9 kB / 466.9 MB, free: 72.12 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.7501, allocations: 80.02 kB / 467 MB, free: 72.08 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.053e-06/0.7501, allocations: 0 / 467 MB, free: 72.08 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.0165/0.7666, allocations: 8.565 MB / 475.6 MB, free: 70.85 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.7667, allocations: 97.86 kB / 475.7 MB, free: 70.78 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.7702, allocations: 3.235 MB / 478.9 MB, free: 70.25 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.7705, allocations: 91.84 kB / 479 MB, free: 70.22 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.7725, allocations: 4.399 MB / 483.4 MB, free: 67.5 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.7737, allocations: 1.492 MB / 484.9 MB, free: 66.31 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.7749, allocations: 1.287 MB / 486.2 MB, free: 65.23 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.775, allocations: 482.7 kB / 486.6 MB, free: 64.75 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.7759, allocations: 0.671 MB / 487.3 MB, free: 64.08 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.7775, allocations: 3.939 MB / 491.2 MB, free: 58.94 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.7808, allocations: 5.179 MB / 496.4 MB, free: 52.83 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.711e-05/0.7809, allocations: 20 kB / 496.4 MB, free: 52.81 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.005925/0.7868, allocations: 4.835 MB / 0.4895 GB, free: 48.44 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.7869, allocations: 39.94 kB / 0.4896 GB, free: 48.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/0.7869, allocations: 68.53 kB / 0.4896 GB, free: 48.34 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.789, allocations: 1.087 MB / 0.4907 GB, free: 47.27 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.7914, allocations: 1.231 MB / 0.4919 GB, free: 46.12 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.797, allocations: 5.734 MB / 0.4975 GB, free: 40.42 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.7998, allocations: 223.8 kB / 0.4977 GB, free: 40.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/0.8003, allocations: 240 kB / 0.4979 GB, free: 39.97 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.001893/0.8022, allocations: 0.5362 MB / 0.4985 GB, free: 39.52 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/0.8029, allocations: 0.5209 MB / 0.499 GB, free: 38.99 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.8069, allocations: 3.296 MB / 0.5022 GB, free: 35.71 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002634/0.8095, allocations: 2.321 MB / 0.5045 GB, free: 33.41 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.8095, allocations: 12 kB / 0.5045 GB, free: 33.39 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.8095, allocations: 19.92 kB / 0.5045 GB, free: 33.38 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8231, allocations: 10.87 MB / 0.5151 GB, free: 23.49 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.8231, allocations: 8.594 kB / 0.5151 GB, free: 23.48 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.8245, allocations: 0.6415 MB / 0.5157 GB, free: 22.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.8263, allocations: 0.982 MB / 0.5167 GB, free: 21.9 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.8265, allocations: 92.84 kB / 0.5168 GB, free: 21.81 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.8313, allocations: 5.302 MB / 0.522 GB, free: 16.52 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8313, allocations: 8 kB / 0.522 GB, free: 16.51 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.8364, allocations: 4.146 MB / 0.526 GB, free: 12.34 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.8376, allocations: 0.7569 MB / 0.5268 GB, free: 11.58 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.838, allocations: 79.94 kB / 0.5268 GB, free: 11.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/0.8388, allocations: 107.3 kB / 0.5269 GB, free: 11.4 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.8392, allocations: 306.7 kB / 0.5272 GB, free: 11.1 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.8394, allocations: 91.97 kB / 0.5273 GB, free: 11.01 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001364/0.8407, allocations: 1.413 MB / 0.5287 GB, free: 9.738 MB / 378.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.8407, allocations: 0 / 0.5287 GB, free: 9.738 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003959/0.8447, allocations: 1.602 MB / 0.5303 GB, free: 8.137 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.0004676/0.8452, allocations: 275 kB / 0.5305 GB, free: 7.902 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004427/0.8496, allocations: 3.718 MB / 0.5341 GB, free: 4.457 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8496, allocations: 8.938 kB / 0.5342 GB, free: 4.449 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.8517, allocations: 1.941 MB / 0.5361 GB, free: 2.609 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.8544, allocations: 0.9108 MB / 0.5369 GB, free: 1.75 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.8741, allocations: 13.67 MB / 0.5503 GB, free: 3.992 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.8769, allocations: 2.597 MB / 0.5528 GB, free: 1.355 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002231/0.8791, allocations: 0.6739 MB / 0.5535 GB, free: 0.6758 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/0.8808, allocations: 0.9899 MB / 0.5545 GB, free: 15.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.753e-06/0.8808, allocations: 0 / 0.5545 GB, free: 15.68 MB / 410.8 MB Notification: Performance of Templates: time 0.226/1.107, allocations: 65.97 MB / 0.6189 GB, free: 116.7 MB / 426.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.944006659090519]