Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 114.7 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 196.2 kB / 21.4 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.86 kB / 366.9 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 52.13 MB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03142/0.1357, allocations: 27.08 MB / 446.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2676/0.4034, allocations: 8.051 MB / 454.1 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006722/0.4101, allocations: 238.5 kB / 454.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02229/0.4324, allocations: 9.465 MB / 463.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.4456, allocations: 3.375 MB / 467.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.4519, allocations: 1.823 MB / 469 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01818/0.47, allocations: 12.15 MB / 481.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03376/0.5038, allocations: 18.65 MB / 499.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.5178, allocations: 6.589 MB / 0.4945 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01622/0.534, allocations: 7.239 MB / 0.5016 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006094/0.5401, allocations: 1.84 MB / 0.5034 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008954/0.549, allocations: 2.195 MB / 0.5055 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007058/0.5561, allocations: 3.614 MB / 0.5091 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01689/0.573, allocations: 6.926 MB / 0.5158 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03835/0.6113, allocations: 24.79 MB / 0.54 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6113, allocations: 7.938 kB / 0.5401 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6113, allocations: 0 / 0.5401 GB, free: 14.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001023/0.6124, allocations: 0 / 0.5401 GB, free: 14.49 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.05603/0.6684, allocations: 14.74 MB / 0.5544 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.6685, allocations: 8.031 kB / 0.5545 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05074/0.7192, allocations: 8.54 MB / 0.5628 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/0.74, allocations: 7.67 MB / 0.5703 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/0.7412, allocations: 0.8071 MB / 0.5711 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006378/0.7476, allocations: 1.053 MB / 0.5721 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05482/0.8024, allocations: 18.29 MB / 0.59 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006019/0.803, allocations: 19.89 kB / 0.59 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004738/0.8078, allocations: 452 kB / 0.5904 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009449/0.8087, allocations: 0.6633 MB / 0.5911 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04671/0.8554, allocations: 17.55 MB / 0.6082 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6114/1.467, allocations: 58.2 MB / 0.665 GB, free: 122 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02892/1.496, allocations: 36.96 MB / 0.7011 GB, free: 88.69 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006235/1.502, allocations: 3.741 MB / 0.7048 GB, free: 87.12 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/1.502, allocations: 198.2 kB / 0.705 GB, free: 86.99 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.503, allocations: 86.44 kB / 0.705 GB, free: 86.91 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 6.843e-06/1.503, allocations: 0 / 0.705 GB, free: 86.91 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04599/1.549, allocations: 21.53 MB / 0.7261 GB, free: 74.86 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/1.549, allocations: 104.9 kB / 0.7262 GB, free: 74.79 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/1.555, allocations: 4.184 MB / 0.7303 GB, free: 72.59 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009889/1.556, allocations: 106.8 kB / 0.7304 GB, free: 72.49 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.558, allocations: 4.667 MB / 0.7349 GB, free: 69.02 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.561, allocations: 1.87 MB / 0.7368 GB, free: 67.41 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/1.563, allocations: 1.355 MB / 0.7381 GB, free: 66.64 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/1.563, allocations: 305.1 kB / 0.7384 GB, free: 66.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/1.567, allocations: 3.448 MB / 0.7417 GB, free: 64.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/1.574, allocations: 5.886 MB / 0.7475 GB, free: 58.25 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.585, allocations: 10.02 MB / 0.7573 GB, free: 47.06 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.682e-05/1.585, allocations: 24 kB / 0.7573 GB, free: 47.04 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01778/1.603, allocations: 10.92 MB / 0.7679 GB, free: 36.03 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/1.603, allocations: 40 kB / 0.768 GB, free: 35.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.603, allocations: 76 kB / 0.7681 GB, free: 35.91 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/1.607, allocations: 1.449 MB / 0.7695 GB, free: 34.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/1.613, allocations: 1.611 MB / 0.771 GB, free: 32.85 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.627, allocations: 11.5 MB / 0.7823 GB, free: 21.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/1.633, allocations: 407.5 kB / 0.7827 GB, free: 20.81 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.635, allocations: 339.9 kB / 0.783 GB, free: 20.48 MB / 0.5138 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.007436/1.642, allocations: 4.165 MB / 0.7871 GB, free: 16.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.644, allocations: 0.4891 MB / 0.7875 GB, free: 15.81 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/1.657, allocations: 8.428 MB / 0.7958 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01029/1.667, allocations: 7.045 MB / 0.8026 GB, free: 136 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.667, allocations: 12 kB / 0.8027 GB, free: 124 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-05/1.667, allocations: 27.89 kB / 0.8027 GB, free: 96 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04334/1.711, allocations: 18.74 MB / 0.821 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.711, allocations: 4 kB / 0.821 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/1.715, allocations: 0.9403 MB / 0.8219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/1.719, allocations: 1.293 MB / 0.8232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.72, allocations: 112 kB / 0.8233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/1.738, allocations: 10.19 MB / 0.8332 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/1.738, allocations: 8.688 kB / 0.8332 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02656/1.764, allocations: 12.25 MB / 0.8452 GB, free: 4.156 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004129/1.768, allocations: 1.181 MB / 0.8463 GB, free: 2.953 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/1.77, allocations: 92 kB / 0.8464 GB, free: 2.863 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/1.774, allocations: 275.8 kB / 0.8467 GB, free: 2.594 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.775, allocations: 344.4 kB / 0.847 GB, free: 2.254 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00038/1.775, allocations: 155.9 kB / 0.8472 GB, free: 2.102 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.3312/2.107, allocations: 2.811 MB / 0.8499 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.1e-07/2.107, allocations: 3.844 kB / 0.8499 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008947/2.116, allocations: 1.935 MB / 0.8518 GB, free: 182.2 MB / 0.5607 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.001397/2.117, allocations: 310.5 kB / 0.8521 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.136, allocations: 8.378 MB / 0.8603 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/2.136, allocations: 1.25 kB / 0.8603 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00879/2.144, allocations: 3.893 MB / 0.8641 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007041/2.151, allocations: 1.124 MB / 0.8652 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03549/2.187, allocations: 19.17 MB / 0.8839 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007215/2.194, allocations: 6.799 MB / 0.8906 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.196, allocations: 467.9 kB / 0.891 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.834e-06/2.196, allocations: 0 / 0.891 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.4825/2.679, allocations: 183 MB / 1.07 GB, free: 176.7 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 18.41217739402782]