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.IMC_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.001225/0.001225, allocations: 80.8 kB / 21.5 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.001438/0.001438, allocations: 174.5 kB / 24.91 MB, free: 8.773 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.9194/0.9194, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.66e-05, allocations: 2.312 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1141/0.1141, allocations: 23.3 MB / 296.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.1264, allocations: 7.711 MB / 304.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/0.13, allocations: 221.7 kB / 304.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008615/0.1386, allocations: 9.371 MB / 314.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.1443, allocations: 3.052 MB / 317.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.1467, allocations: 1.745 MB / 318.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008359/0.1551, allocations: 11.31 MB / 330.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.1711, allocations: 14.65 MB / 344.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009195/0.1803, allocations: 8.741 MB / 353.6 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/0.186, allocations: 6.289 MB / 359.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.188, allocations: 1.668 MB / 361.5 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.1904, allocations: 2.054 MB / 363.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.1922, allocations: 3.265 MB / 366.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.1958, allocations: 4.133 MB / 371 MB, free: 328 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009828/0.2056, allocations: 10.4 MB / 381.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2056, allocations: 4 kB / 381.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2056, allocations: 0 / 381.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001939/0.2058, allocations: 0 / 381.4 MB, free: 5.883 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.02054/0.2263, allocations: 11.89 MB / 393.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2264, allocations: 12.03 kB / 393.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0245/0.2509, allocations: 6.306 MB / 399.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.2582, allocations: 3.615 MB / 403.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007132/0.259, allocations: 0.7023 MB / 403.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.2604, allocations: 0.9217 MB / 404.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.2712, allocations: 7.763 MB / 412.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.2713, allocations: 15.88 kB / 412.6 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006587/0.2719, allocations: 392 kB / 413 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003382/0.2723, allocations: 0.5508 MB / 413.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/0.2783, allocations: 3.986 MB / 417.5 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2404/0.5187, allocations: 30.71 MB / 448.3 MB, free: 72.42 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005785/0.5245, allocations: 5.347 MB / 453.6 MB, free: 72 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.5255, allocations: 1.008 MB / 454.6 MB, free: 71.96 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.5257, allocations: 119.2 kB / 454.7 MB, free: 71.95 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5257, allocations: 84.81 kB / 454.8 MB, free: 71.91 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 4.859e-06/0.5258, allocations: 2.297 kB / 454.8 MB, free: 71.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01247/0.5382, allocations: 7.749 MB / 462.6 MB, free: 71.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.5383, allocations: 96.8 kB / 462.7 MB, free: 70.97 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.5397, allocations: 2.361 MB / 465 MB, free: 70.63 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.5399, allocations: 91.45 kB / 465.1 MB, free: 70.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009644/0.5408, allocations: 3.789 MB / 468.9 MB, free: 68.88 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/0.5413, allocations: 1.427 MB / 470.3 MB, free: 68.01 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009331/0.5422, allocations: 1.059 MB / 471.4 MB, free: 67.91 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.556e-05/0.5423, allocations: 308.5 kB / 471.7 MB, free: 67.61 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/0.5431, allocations: 0.7801 MB / 472.5 MB, free: 67.58 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.5443, allocations: 2.781 MB / 475.2 MB, free: 64.96 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.5467, allocations: 4.103 MB / 479.3 MB, free: 62.1 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.5467, allocations: 20 kB / 479.4 MB, free: 62.08 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.003901/0.5506, allocations: 3.954 MB / 483.3 MB, free: 59.34 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.5506, allocations: 36 kB / 483.4 MB, free: 59.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.5506, allocations: 68 kB / 483.4 MB, free: 59.24 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.5523, allocations: 1.038 MB / 484.5 MB, free: 58.25 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.5542, allocations: 1.214 MB / 485.7 MB, free: 57.17 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/0.5584, allocations: 4.493 MB / 490.2 MB, free: 53.61 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5598, allocations: 220.4 kB / 490.4 MB, free: 53.48 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.56, allocations: 233.4 kB / 490.6 MB, free: 53.3 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.001229/0.5613, allocations: 0.5001 MB / 491.1 MB, free: 53.05 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.5617, allocations: 364.2 kB / 491.5 MB, free: 52.75 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.5648, allocations: 2.728 MB / 494.2 MB, free: 50.45 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001989/0.5668, allocations: 1.778 MB / 496 MB, free: 48.71 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5668, allocations: 12 kB / 496 MB, free: 48.7 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.5668, allocations: 19.92 kB / 496 MB, free: 48.68 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.575, allocations: 8.242 MB / 0.4924 GB, free: 42.61 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.5751, allocations: 4.766 kB / 0.4924 GB, free: 42.61 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.5763, allocations: 0.6248 MB / 0.493 GB, free: 42.04 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.5778, allocations: 0.9318 MB / 0.4939 GB, free: 41.14 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.5779, allocations: 85.97 kB / 0.494 GB, free: 41.11 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/0.5816, allocations: 4.14 MB / 0.4981 GB, free: 37.88 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5816, allocations: 11.38 kB / 0.4981 GB, free: 37.87 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.5851, allocations: 3.397 MB / 0.5014 GB, free: 34.68 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/0.5859, allocations: 0.509 MB / 0.5019 GB, free: 34.23 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.5861, allocations: 78.19 kB / 0.502 GB, free: 34.21 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.5869, allocations: 106.1 kB / 0.5021 GB, free: 34.16 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.5872, allocations: 298.4 kB / 0.5024 GB, free: 33.91 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.5873, allocations: 86.41 kB / 0.5024 GB, free: 33.85 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0007412/0.5881, allocations: 1.08 MB / 0.5035 GB, free: 32.96 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5881, allocations: 0 / 0.5035 GB, free: 32.96 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003049/0.5911, allocations: 1.597 MB / 0.5051 GB, free: 31.52 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.0003518/0.5915, allocations: 266 kB / 0.5053 GB, free: 31.36 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.5946, allocations: 3.231 MB / 0.5085 GB, free: 28.64 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.414e-05/0.5946, allocations: 64.94 kB / 0.5085 GB, free: 28.57 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.5962, allocations: 1.695 MB / 0.5102 GB, free: 27.16 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.5981, allocations: 0.8972 MB / 0.5111 GB, free: 26.54 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.6095, allocations: 13.5 MB / 0.5242 GB, free: 13.89 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.6109, allocations: 1.848 MB / 0.526 GB, free: 12.01 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001376/0.6122, allocations: 0.67 MB / 0.5267 GB, free: 11.33 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.6136, allocations: 0.8857 MB / 0.5276 GB, free: 10.44 MB / 378.8 MB Notification: Performance of SimCode: time 7.41e-07/0.6136, allocations: 0 / 0.5276 GB, free: 10.44 MB / 378.8 MB Notification: Performance of Templates: time 0.1858/0.7994, allocations: 66.34 MB / 0.5923 GB, free: 128.1 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.463871004991233]