Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001475/0.001475, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001676/0.001676, allocations: 215.3 kB / 23 MB, free: 5.609 MB / 14.72 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 1.441/1.441, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 59.91 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03176/0.3256, allocations: 27.16 MB / 457 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.3444, allocations: 8.185 MB / 465.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008889/0.3533, allocations: 199.4 kB / 465.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02419/0.3775, allocations: 9.472 MB / 474.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.3893, allocations: 3.369 MB / 478.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00653/0.3958, allocations: 1.838 MB / 480.1 MB, free: 5.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02087/0.4167, allocations: 12.28 MB / 492.3 MB, free: 8.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02976/0.4464, allocations: 14.99 MB / 0.4954 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4566, allocations: 6.499 MB / 0.5018 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.4691, allocations: 7.297 MB / 0.5089 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004978/0.4741, allocations: 1.836 MB / 0.5107 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.4812, allocations: 2.234 MB / 0.5129 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005568/0.4868, allocations: 3.616 MB / 0.5164 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01278/0.4995, allocations: 6.926 MB / 0.5232 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2496/0.7491, allocations: 24.81 MB / 0.5474 GB, free: 42.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7491, allocations: 0 / 0.5474 GB, free: 42.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7491, allocations: 0 / 0.5474 GB, free: 42.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006757/0.7498, allocations: 3.375 kB / 0.5474 GB, free: 42.88 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.04024/0.7901, allocations: 14.76 MB / 0.5618 GB, free: 36.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.7901, allocations: 9.75 kB / 0.5618 GB, free: 36.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04485/0.8349, allocations: 8.442 MB / 0.5701 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.8501, allocations: 7.679 MB / 0.5776 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/0.8507, allocations: 0.8027 MB / 0.5784 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/0.8554, allocations: 1.06 MB / 0.5794 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05243/0.9079, allocations: 18.34 MB / 0.5973 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006119/0.9085, allocations: 15.66 kB / 0.5973 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006308/0.9148, allocations: 452.1 kB / 0.5978 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009413/0.9157, allocations: 0.675 MB / 0.5984 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04469/0.9604, allocations: 17.59 MB / 0.6156 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/1.074, allocations: 59.38 MB / 0.6736 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03645/1.111, allocations: 36.98 MB / 0.7097 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007047/1.118, allocations: 3.745 MB / 0.7134 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/1.118, allocations: 316.6 kB / 0.7137 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/1.118, allocations: 86.62 kB / 0.7137 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 6.843e-06/1.118, allocations: 0 / 0.7137 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.05698/1.175, allocations: 21.61 MB / 0.7348 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.176, allocations: 103.5 kB / 0.7349 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009352/1.185, allocations: 4.191 MB / 0.739 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.186, allocations: 113.7 kB / 0.7391 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004824/1.191, allocations: 4.668 MB / 0.7437 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003566/1.194, allocations: 1.867 MB / 0.7455 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003769/1.198, allocations: 1.367 MB / 0.7469 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.198, allocations: 301.1 kB / 0.7471 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008665/1.207, allocations: 3.449 MB / 0.7505 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/1.22, allocations: 5.886 MB / 0.7563 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2724/1.492, allocations: 10.04 MB / 0.7661 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.476e-05/1.492, allocations: 23.91 kB / 0.7661 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01851/1.511, allocations: 10.96 MB / 0.7768 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/1.511, allocations: 38.94 kB / 0.7768 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.511, allocations: 75.59 kB / 0.7769 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/1.515, allocations: 1.446 MB / 0.7783 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/1.52, allocations: 1.623 MB / 0.7799 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.534, allocations: 11.48 MB / 0.7911 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.539, allocations: 408.8 kB / 0.7915 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009684/1.54, allocations: 338 kB / 0.7918 GB, free: 208.2 MB / 0.5919 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.005616/1.545, allocations: 4.171 MB / 0.7959 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.546, allocations: 0.4901 MB / 0.7964 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.559, allocations: 8.437 MB / 0.8046 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01003/1.569, allocations: 7.079 MB / 0.8115 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/1.569, allocations: 8 kB / 0.8115 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.096e-05/1.569, allocations: 31.77 kB / 0.8116 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/1.598, allocations: 18.77 MB / 0.8299 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.598, allocations: 0 / 0.8299 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.602, allocations: 0.9532 MB / 0.8308 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.605, allocations: 1.293 MB / 0.8321 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005175/1.605, allocations: 124 kB / 0.8322 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.617, allocations: 10.19 MB / 0.8421 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.617, allocations: 5.969 kB / 0.8422 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.634, allocations: 12.29 MB / 0.8542 GB, free: 151.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/1.636, allocations: 1.189 MB / 0.8553 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009647/1.637, allocations: 92 kB / 0.8554 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.64, allocations: 271.8 kB / 0.8557 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006953/1.64, allocations: 356.3 kB / 0.856 GB, free: 149.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/1.641, allocations: 156 kB / 0.8562 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003438/1.644, allocations: 2.819 MB / 0.8589 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.644, allocations: 0 / 0.8589 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006148/1.65, allocations: 1.934 MB / 0.8608 GB, free: 144.7 MB / 0.5919 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.0007096/1.651, allocations: 293.8 kB / 0.8611 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.663, allocations: 8.41 MB / 0.8693 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.663, allocations: 2 kB / 0.8693 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005751/1.668, allocations: 3.907 MB / 0.8731 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.674, allocations: 1.137 MB / 0.8742 GB, free: 130.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.701, allocations: 19.54 MB / 0.8933 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007076/1.708, allocations: 7.005 MB / 0.9001 GB, free: 104.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006034/1.714, allocations: 2.317 MB / 0.9024 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.715, allocations: 443.3 kB / 0.9028 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.154e-06/1.715, allocations: 3.938 kB / 0.9028 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.3718/2.087, allocations: 83.02 MB / 0.9839 GB, free: 211 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.722706099972129]