Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.001902/0.001902, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002399/0.002399, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.75 kB / 379.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2465, allocations: 53.37 MB / 432.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03324/0.2798, allocations: 27.16 MB / 459.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.298, allocations: 8.205 MB / 467.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005529/0.3036, allocations: 238.8 kB / 468 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02301/0.3266, allocations: 9.512 MB / 477.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.3389, allocations: 3.455 MB / 481 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.345, allocations: 1.871 MB / 482.9 MB, free: 4.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0177/0.3628, allocations: 12.37 MB / 495.3 MB, free: 7.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02783/0.3906, allocations: 15 MB / 0.4983 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.4025, allocations: 6.636 MB / 0.5048 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.4163, allocations: 7.308 MB / 0.5119 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005519/0.4218, allocations: 1.836 MB / 0.5137 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007646/0.4295, allocations: 2.23 MB / 0.5159 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006281/0.4357, allocations: 3.624 MB / 0.5194 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0131/0.4488, allocations: 6.927 MB / 0.5262 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2492/0.6981, allocations: 24.82 MB / 0.5504 GB, free: 43.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.6981, allocations: 1.094 kB / 0.5504 GB, free: 43.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6981, allocations: 0 / 0.5504 GB, free: 43.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006899/0.6988, allocations: 0 / 0.5504 GB, free: 43.18 MB / 446.1 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.04435/0.7431, allocations: 14.69 MB / 0.5648 GB, free: 36.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7432, allocations: 10.19 kB / 0.5648 GB, free: 36.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04641/0.7896, allocations: 8.433 MB / 0.573 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/0.8066, allocations: 7.773 MB / 0.5806 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000616/0.8072, allocations: 0.8051 MB / 0.5814 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004805/0.812, allocations: 1.058 MB / 0.5824 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04015/0.8522, allocations: 18.34 MB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002988/0.8525, allocations: 15.91 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003505/0.856, allocations: 445.9 kB / 0.6008 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/0.8565, allocations: 0.6711 MB / 0.6014 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03728/0.8937, allocations: 17.59 MB / 0.6186 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/1, allocations: 56.89 MB / 0.6742 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02374/1.024, allocations: 12.82 MB / 0.6867 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006938/1.031, allocations: 3.745 MB / 0.6904 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/1.032, allocations: 153.2 kB / 0.6905 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.686e-05/1.032, allocations: 90.62 kB / 0.6906 GB, free: 480 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 7.053e-06/1.032, allocations: 0 / 0.6906 GB, free: 480 kB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05063/1.082, allocations: 21.47 MB / 0.7116 GB, free: 10.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/1.082, allocations: 103.5 kB / 0.7117 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/1.089, allocations: 4.187 MB / 0.7157 GB, free: 6.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006926/1.09, allocations: 109.7 kB / 0.7158 GB, free: 6.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003843/1.094, allocations: 4.668 MB / 0.7204 GB, free: 1.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002313/1.096, allocations: 1.862 MB / 0.7222 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00237/1.098, allocations: 1.371 MB / 0.7236 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002214/1.099, allocations: 305.1 kB / 0.7239 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/1.104, allocations: 3.445 MB / 0.7272 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008279/1.113, allocations: 5.889 MB / 0.733 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.128, allocations: 10.04 MB / 0.7428 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.16e-05/1.128, allocations: 24 kB / 0.7428 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2321/1.36, allocations: 10.95 MB / 0.7535 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/1.36, allocations: 41.75 kB / 0.7535 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.36, allocations: 78.5 kB / 0.7536 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/1.364, allocations: 1.446 MB / 0.755 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/1.369, allocations: 1.627 MB / 0.7566 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.384, allocations: 11.41 MB / 0.7677 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/1.388, allocations: 402.8 kB / 0.7681 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007373/1.389, allocations: 344.3 kB / 0.7685 GB, free: 198 MB / 0.5762 GB 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.005588/1.395, allocations: 4.159 MB / 0.7725 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009131/1.396, allocations: 0.4928 MB / 0.773 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.408, allocations: 8.442 MB / 0.7812 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009877/1.418, allocations: 7.07 MB / 0.7881 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/1.418, allocations: 12.22 kB / 0.7882 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.431e-05/1.418, allocations: 27.33 kB / 0.7882 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.444, allocations: 18.82 MB / 0.8066 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.444, allocations: 3.938 kB / 0.8066 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/1.447, allocations: 0.9478 MB / 0.8075 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00316/1.45, allocations: 1.304 MB / 0.8088 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/1.451, allocations: 124 kB / 0.8089 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.462, allocations: 10.09 MB / 0.8187 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.462, allocations: 4 kB / 0.8187 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/1.478, allocations: 12.29 MB / 0.8307 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.481, allocations: 1.137 MB / 0.8319 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/1.481, allocations: 96.05 kB / 0.8319 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/1.484, allocations: 271.7 kB / 0.8322 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/1.484, allocations: 372.2 kB / 0.8326 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002792/1.485, allocations: 156 kB / 0.8327 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003243/1.488, allocations: 2.823 MB / 0.8355 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.488, allocations: 0 / 0.8355 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005178/1.493, allocations: 1.931 MB / 0.8373 GB, free: 145.7 MB / 0.5762 GB 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.0005975/1.494, allocations: 309.7 kB / 0.8376 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.505, allocations: 8.403 MB / 0.8458 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.505, allocations: 4.062 kB / 0.8459 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/1.51, allocations: 3.896 MB / 0.8497 GB, free: 133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/1.515, allocations: 1.124 MB / 0.8508 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/1.541, allocations: 19.54 MB / 0.8698 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006633/1.548, allocations: 7.014 MB / 0.8767 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005499/1.554, allocations: 2.317 MB / 0.8789 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.555, allocations: 447.3 kB / 0.8794 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/1.555, allocations: 0 / 0.8794 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1187/1.674, allocations: 86.25 MB / 0.9636 GB, free: 16.82 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.697668191976845]