Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001285/0.001285, allocations: 80.92 kB / 22.28 MB, free: 2.203 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.001519/0.001519, allocations: 164.5 kB / 25.69 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9132/0.9132, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.932e-05, allocations: 6.25 kB / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02837/0.0284, allocations: 25.46 MB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.04703, allocations: 8.313 MB / 285.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005418/0.05245, allocations: 202.9 kB / 285.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.06479, allocations: 9.908 MB / 295.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.07471, allocations: 3.488 MB / 299 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004422/0.07914, allocations: 1.847 MB / 300.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.09217, allocations: 12.83 MB / 313.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02148/0.1137, allocations: 16.39 MB / 330 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.1283, allocations: 9.949 MB / 340 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009959/0.1383, allocations: 7.334 MB / 347.3 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004478/0.1428, allocations: 1.84 MB / 349.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/0.149, allocations: 2.226 MB / 351.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1341/0.2831, allocations: 3.794 MB / 355.2 MB, free: 46.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.2936, allocations: 4.744 MB / 359.9 MB, free: 46.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0167/0.3103, allocations: 11.88 MB / 371.8 MB, free: 45.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3103, allocations: 5.453 kB / 371.8 MB, free: 45.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3103, allocations: 0 / 371.8 MB, free: 45.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005792/0.3109, allocations: 3.688 kB / 371.8 MB, free: 45.32 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03048/0.3413, allocations: 13.79 MB / 385.6 MB, free: 40.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3414, allocations: 14.27 kB / 385.6 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03134/0.3727, allocations: 9.145 MB / 394.8 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/0.3817, allocations: 3.49 MB / 398.3 MB, free: 37.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/0.3822, allocations: 0.8144 MB / 399.1 MB, free: 36.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003762/0.386, allocations: 1.081 MB / 400.1 MB, free: 35.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/0.4085, allocations: 9.27 MB / 409.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002318/0.4088, allocations: 19.89 kB / 409.4 MB, free: 26.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.4101, allocations: 455.9 kB / 409.9 MB, free: 26.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.4105, allocations: 0.6949 MB / 410.6 MB, free: 25.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009169/0.4196, allocations: 4.959 MB / 415.5 MB, free: 20.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05319/0.4728, allocations: 35.09 MB / 450.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.4857, allocations: 8.174 MB / 458.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.4879, allocations: 1.342 MB / 460.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.4998, allocations: 5.464 MB / 465.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.4998, allocations: 73.58 kB / 465.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=385): time 6.272e-06/0.4998, allocations: 0 / 465.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=391): time 0.01922/0.519, allocations: 8.894 MB / 474.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.5191, allocations: 90.47 kB / 474.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.5219, allocations: 2.789 MB / 477.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004422/0.5223, allocations: 89.7 kB / 477.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.5243, allocations: 4.606 MB / 482.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.5254, allocations: 1.4 MB / 483.5 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.5266, allocations: 1.164 MB / 484.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.5266, allocations: 309.1 kB / 485 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5279, allocations: 0.8726 MB / 485.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.5301, allocations: 3.312 MB / 489.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.5343, allocations: 4.825 MB / 494 MB, free: 6.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-05/0.5343, allocations: 28 kB / 494 MB, free: 6.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.00587/0.5402, allocations: 4.487 MB / 498.5 MB, free: 2.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.5402, allocations: 43.98 kB / 498.6 MB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/0.5403, allocations: 88 kB / 498.7 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.5425, allocations: 1.193 MB / 499.9 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.5455, allocations: 1.381 MB / 0.4895 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1248/0.6703, allocations: 5.111 MB / 0.4945 GB, free: 99.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.6732, allocations: 250.6 kB / 0.4947 GB, free: 99.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.6737, allocations: 268.8 kB / 0.495 GB, free: 99.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002177/0.6759, allocations: 0.5406 MB / 0.4955 GB, free: 99.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/0.6766, allocations: 385.2 kB / 0.4959 GB, free: 99.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.6805, allocations: 3.022 MB / 0.4988 GB, free: 98.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002655/0.6832, allocations: 1.875 MB / 0.5007 GB, free: 98.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6832, allocations: 10.91 kB / 0.5007 GB, free: 98.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.6832, allocations: 21.19 kB / 0.5007 GB, free: 98.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.6965, allocations: 7.891 MB / 0.5084 GB, free: 98.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6965, allocations: 0 / 0.5084 GB, free: 98.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.6981, allocations: 0.6289 MB / 0.509 GB, free: 98.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/0.7, allocations: 1.059 MB / 0.51 GB, free: 98.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.7002, allocations: 73.94 kB / 0.5101 GB, free: 98.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/0.7052, allocations: 4.642 MB / 0.5146 GB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7052, allocations: 1.531 kB / 0.5146 GB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.7096, allocations: 3.37 MB / 0.5179 GB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.7108, allocations: 0.5376 MB / 0.5185 GB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.7113, allocations: 75.61 kB / 0.5185 GB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.7122, allocations: 117.3 kB / 0.5186 GB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.7126, allocations: 281.5 kB / 0.5189 GB, free: 96.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.7128, allocations: 80.98 kB / 0.519 GB, free: 96.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.7142, allocations: 1.262 MB / 0.5202 GB, free: 96.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7142, allocations: 0 / 0.5202 GB, free: 96.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004321/0.7185, allocations: 1.825 MB / 0.522 GB, free: 96.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0005071/0.719, allocations: 236.8 kB / 0.5222 GB, free: 96.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.724, allocations: 3.553 MB / 0.5257 GB, free: 95.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001608/0.7241, allocations: 72.19 kB / 0.5258 GB, free: 95.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.7275, allocations: 1.741 MB / 0.5275 GB, free: 94.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/0.7316, allocations: 0.9843 MB / 0.5284 GB, free: 93.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.7527, allocations: 15.66 MB / 0.5437 GB, free: 80.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.7549, allocations: 2.127 MB / 0.5458 GB, free: 79.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002428/0.7574, allocations: 0.7605 MB / 0.5465 GB, free: 78.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.7591, allocations: 0.9454 MB / 0.5475 GB, free: 77.39 MB / 394.7 MB Notification: Performance of SimCode: time 2.215e-06/0.7591, allocations: 0 / 0.5475 GB, free: 77.39 MB / 394.7 MB Notification: Performance of Templates: time 0.08451/0.8436, allocations: 69.81 MB / 0.6156 GB, free: 7.996 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.592485166154802]