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.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 46.52 kB / 300.6 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1222, allocations: 49.45 MB / 350.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2566/0.3789, allocations: 24.74 MB / 374.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.3949, allocations: 7.355 MB / 382.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00575/0.4007, allocations: 187.3 kB / 382.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01925/0.42, allocations: 8.784 MB / 391.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4321, allocations: 2.924 MB / 394.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.4383, allocations: 1.695 MB / 395.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.4533, allocations: 10.65 MB / 406.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03718/0.4905, allocations: 21.92 MB / 428.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009662/0.5002, allocations: 5.685 MB / 434 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.5113, allocations: 6.284 MB / 440.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004763/0.5161, allocations: 1.672 MB / 442 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00771/0.5239, allocations: 2.039 MB / 444 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007192/0.5311, allocations: 3.168 MB / 447.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0133/0.5444, allocations: 6.094 MB / 453.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0255/0.5699, allocations: 22.22 MB / 475.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.57, allocations: 0 / 475.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.57, allocations: 0 / 475.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000709/0.5707, allocations: 0 / 475.5 MB, free: 8.395 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04608/0.6168, allocations: 12.77 MB / 488.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6169, allocations: 12.03 kB / 488.3 MB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03595/0.6529, allocations: 6.146 MB / 494.4 MB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.6673, allocations: 6.73 MB / 0.4894 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007843/0.6681, allocations: 0.7025 MB / 0.4901 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00463/0.6728, allocations: 0.9295 MB / 0.491 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04055/0.7133, allocations: 15.75 MB / 0.5064 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002875/0.7137, allocations: 11.91 kB / 0.5064 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003136/0.7168, allocations: 388 kB / 0.5068 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006109/0.7174, allocations: 0.5508 MB / 0.5073 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.367/1.084, allocations: 14.76 MB / 0.5217 GB, free: 115.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08247/1.167, allocations: 51.62 MB / 0.5721 GB, free: 81.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.186, allocations: 26.47 MB / 0.598 GB, free: 56.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004787/1.191, allocations: 3.224 MB / 0.6011 GB, free: 54.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/1.192, allocations: 166.7 kB / 0.6013 GB, free: 54.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.868e-05/1.192, allocations: 73.69 kB / 0.6014 GB, free: 54.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 6.703e-06/1.192, allocations: 0 / 0.6014 GB, free: 54.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03727/1.229, allocations: 17.3 MB / 0.6182 GB, free: 36.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.229, allocations: 94.58 kB / 0.6183 GB, free: 36.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005533/1.235, allocations: 3.684 MB / 0.6219 GB, free: 33.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005522/1.235, allocations: 89.7 kB / 0.622 GB, free: 33.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.237, allocations: 3.977 MB / 0.6259 GB, free: 29.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.238, allocations: 1.385 MB / 0.6273 GB, free: 27.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/1.241, allocations: 1.136 MB / 0.6284 GB, free: 26.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/1.241, allocations: 305.1 kB / 0.6287 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.245, allocations: 2.795 MB / 0.6314 GB, free: 23.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.25, allocations: 4.959 MB / 0.6362 GB, free: 17.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.261, allocations: 8.314 MB / 0.6444 GB, free: 8.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/1.261, allocations: 20 kB / 0.6444 GB, free: 8.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01737/1.278, allocations: 9.085 MB / 0.6532 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/1.278, allocations: 32 kB / 0.6533 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.279, allocations: 76.47 kB / 0.6533 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/1.282, allocations: 1.242 MB / 0.6546 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005016/1.287, allocations: 1.322 MB / 0.6558 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.304, allocations: 9.927 MB / 0.6655 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.308, allocations: 331.4 kB / 0.6659 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.309, allocations: 284 kB / 0.6661 GB, free: 1.684 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007072/1.316, allocations: 3.702 MB / 0.6697 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.318, allocations: 399.1 kB / 0.6701 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.332, allocations: 6.704 MB / 0.6767 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00985/1.342, allocations: 5.599 MB / 0.6821 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/1.342, allocations: 16 kB / 0.6822 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/1.342, allocations: 19.92 kB / 0.6822 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/1.374, allocations: 16.1 MB / 0.6979 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.374, allocations: 4.594 kB / 0.6979 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/1.377, allocations: 0.7255 MB / 0.6986 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2085/1.586, allocations: 1.118 MB / 0.6997 GB, free: 152.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008987/1.587, allocations: 90.55 kB / 0.6998 GB, free: 152.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.6, allocations: 8.861 MB / 0.7084 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/1.6, allocations: 7.062 kB / 0.7084 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/1.616, allocations: 9.843 MB / 0.7181 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.618, allocations: 0.9554 MB / 0.719 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/1.619, allocations: 76.22 kB / 0.7191 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.621, allocations: 209 kB / 0.7193 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006952/1.622, allocations: 283.2 kB / 0.7195 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/1.622, allocations: 119.8 kB / 0.7196 GB, free: 145.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003488/1.626, allocations: 2.494 MB / 0.7221 GB, free: 144.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.626, allocations: 3.875 kB / 0.7221 GB, free: 144.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005426/1.631, allocations: 1.611 MB / 0.7237 GB, free: 144.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006753/1.632, allocations: 283.3 kB / 0.7239 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02772/1.66, allocations: 13.65 MB / 0.7373 GB, free: 139.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.66, allocations: 0 / 0.7373 GB, free: 139.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00519/1.665, allocations: 3.393 MB / 0.7406 GB, free: 136.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.669, allocations: 0.9778 MB / 0.7415 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.693, allocations: 16.58 MB / 0.7577 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.698, allocations: 6.191 MB / 0.7638 GB, free: 115.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004658/1.703, allocations: 1.912 MB / 0.7656 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009263/1.704, allocations: 342.3 kB / 0.766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/1.704, allocations: 0 / 0.766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1002/1.804, allocations: 69.13 MB / 0.8335 GB, free: 46.62 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches