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.0008276/0.0008276, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001988, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007958/0.0007958, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001766, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8993/0.8993, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08194/0.9813, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.703e-06/1.703e-06, allocations: 0 / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.195e-05, allocations: 2.312 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01815/0.01816, allocations: 25.57 MB / 270.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1196/0.1378, allocations: 8.485 MB / 278.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.1408, allocations: 235 kB / 278.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009803/0.1506, allocations: 9.932 MB / 288.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.1568, allocations: 3.442 MB / 292.2 MB, free: 260 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.1594, allocations: 1.816 MB / 294 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009007/0.1684, allocations: 12.86 MB / 306.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/0.1852, allocations: 15.93 MB / 322.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009828/0.195, allocations: 10.15 MB / 333 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006324/0.2013, allocations: 7.221 MB / 340.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002552/0.2039, allocations: 1.828 MB / 342 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.2067, allocations: 2.234 MB / 344.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.2088, allocations: 2.976 MB / 347.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003716/0.2125, allocations: 3.92 MB / 351.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009944/0.2224, allocations: 11.15 MB / 362.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.2224, allocations: 0 / 362.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2224, allocations: 0 / 362.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000227/0.2227, allocations: 4 kB / 362.3 MB, free: 2.871 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.01769/0.2403, allocations: 15.92 MB / 378.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2404, allocations: 8.031 kB / 378.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02135/0.2617, allocations: 8.262 MB / 386.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/0.2678, allocations: 4.015 MB / 390.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.2682, allocations: 0.8083 MB / 391.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.2695, allocations: 1.065 MB / 392.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.2797, allocations: 9.096 MB / 401.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.2799, allocations: 26.3 kB / 401.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007512/0.2806, allocations: 448.4 kB / 401.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.2811, allocations: 0.6711 MB / 402.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.2878, allocations: 4.797 MB / 407.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1582/0.446, allocations: 34.85 MB / 442.2 MB, free: 77.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.456, allocations: 7.08 MB / 449.3 MB, free: 76.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4577, allocations: 1.276 MB / 450.6 MB, free: 76.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.458, allocations: 158.7 kB / 450.8 MB, free: 76.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.4581, allocations: 90.69 kB / 450.8 MB, free: 76.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=518): time 8.897e-06/0.4581, allocations: 0 / 450.8 MB, free: 76.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=524): time 0.02034/0.4784, allocations: 9.423 MB / 460.3 MB, free: 75.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4785, allocations: 114.6 kB / 460.4 MB, free: 75.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.4807, allocations: 2.657 MB / 463 MB, free: 74.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.4809, allocations: 109.3 kB / 463.1 MB, free: 74.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.4823, allocations: 4.274 MB / 467.4 MB, free: 72.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/0.4831, allocations: 1.845 MB / 469.3 MB, free: 70.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.4845, allocations: 1.253 MB / 470.5 MB, free: 70.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.002e-05/0.4845, allocations: 301.1 kB / 470.8 MB, free: 70.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4859, allocations: 0.957 MB / 471.8 MB, free: 70.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.4878, allocations: 3.195 MB / 475 MB, free: 67.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.4917, allocations: 4.852 MB / 479.8 MB, free: 64.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-05/0.4918, allocations: 21.66 kB / 479.8 MB, free: 64.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005795/0.4976, allocations: 4.65 MB / 484.5 MB, free: 64.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.4976, allocations: 40.66 kB / 484.5 MB, free: 64.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-05/0.4977, allocations: 79.94 kB / 484.6 MB, free: 64.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.5006, allocations: 1.19 MB / 485.8 MB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/0.5065, allocations: 1.684 MB / 487.5 MB, free: 63.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008894/0.5154, allocations: 5.1 MB / 492.6 MB, free: 60.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005747/0.5212, allocations: 253.1 kB / 492.8 MB, free: 60.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/0.5231, allocations: 269.2 kB / 493.1 MB, free: 59.86 MB / 394.7 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.004395/0.5275, allocations: 0.5625 MB / 493.6 MB, free: 59.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/0.529, allocations: 453.8 kB / 494.1 MB, free: 59.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.5337, allocations: 3.425 MB / 497.5 MB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003483/0.5372, allocations: 2.204 MB / 499.7 MB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.5372, allocations: 16 kB / 499.7 MB, free: 54.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.166e-05/0.5373, allocations: 27.89 kB / 499.8 MB, free: 54.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.5546, allocations: 9.531 MB / 0.4974 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5546, allocations: 0 / 0.4974 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.5566, allocations: 0.9456 MB / 0.4983 GB, free: 46.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.5581, allocations: 0.6182 MB / 0.4989 GB, free: 45.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.56, allocations: 1.066 MB / 0.4999 GB, free: 44.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.5602, allocations: 99.28 kB / 0.5 GB, free: 44.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.5647, allocations: 4.65 MB / 0.5046 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5647, allocations: 7.188 kB / 0.5046 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005106/0.5698, allocations: 4.066 MB / 0.5085 GB, free: 37.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006863/0.5705, allocations: 97.31 kB / 0.5086 GB, free: 37.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.5717, allocations: 133.8 kB / 0.5088 GB, free: 37.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/0.5721, allocations: 363.6 kB / 0.5091 GB, free: 36.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.5723, allocations: 107 kB / 0.5092 GB, free: 36.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.5736, allocations: 1.216 MB / 0.5104 GB, free: 35.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5736, allocations: 0 / 0.5104 GB, free: 35.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004329/0.5779, allocations: 1.91 MB / 0.5123 GB, free: 33.99 MB / 394.7 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.0005253/0.5784, allocations: 301.5 kB / 0.5126 GB, free: 33.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.583, allocations: 3.857 MB / 0.5163 GB, free: 30.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001926/0.5832, allocations: 113.9 kB / 0.5164 GB, free: 30.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.5855, allocations: 2.034 MB / 0.5184 GB, free: 28.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.5885, allocations: 1.423 MB / 0.5198 GB, free: 27.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06137/0.6498, allocations: 16.3 MB / 0.5357 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.6521, allocations: 2.176 MB / 0.5378 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002374/0.6545, allocations: 0.8059 MB / 0.5386 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/0.6563, allocations: 1.061 MB / 0.5397 GB, free: 7.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.6563, allocations: 0 / 0.5397 GB, free: 7.492 MB / 394.7 MB Notification: Performance of Templates: time 0.2633/0.9196, allocations: 81.35 MB / 0.6191 GB, free: 109.8 MB / 426.7 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 -emit_protected -ignoreHideResult -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.845152052119374]