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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 68.09 kB / 307 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 50.54 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2157/0.3193, allocations: 26.99 MB / 384.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3394, allocations: 8.168 MB / 392.7 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008332/0.3478, allocations: 202.8 kB / 392.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02395/0.3718, allocations: 9.362 MB / 402.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.3869, allocations: 3.305 MB / 405.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007461/0.3944, allocations: 1.827 MB / 407.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02052/0.415, allocations: 12.16 MB / 419.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04096/0.456, allocations: 24.49 MB / 444.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.4683, allocations: 6.437 MB / 450.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.4816, allocations: 7.254 MB / 457.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005161/0.4868, allocations: 1.836 MB / 459.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008152/0.4949, allocations: 2.238 MB / 461.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00746/0.5024, allocations: 3.612 MB / 465.4 MB, free: 296 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01714/0.5196, allocations: 6.931 MB / 472.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.5525, allocations: 24.64 MB / 497 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5526, allocations: 0 / 497 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5526, allocations: 0 / 497 MB, free: 0.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006862/0.5533, allocations: 0 / 497 MB, free: 0.625 MB / 398.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.0494/0.6027, allocations: 14.57 MB / 0.4996 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6027, allocations: 8.031 kB / 0.4996 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04757/0.6503, allocations: 8.333 MB / 0.5077 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/0.6682, allocations: 7.461 MB / 0.515 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.6693, allocations: 0.8069 MB / 0.5158 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005457/0.6747, allocations: 1.066 MB / 0.5168 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.388/1.063, allocations: 18.33 MB / 0.5347 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006299/1.063, allocations: 19.81 kB / 0.5348 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004064/1.068, allocations: 448.2 kB / 0.5352 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/1.069, allocations: 0.6636 MB / 0.5358 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03945/1.108, allocations: 17.58 MB / 0.553 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0855/1.194, allocations: 59.9 MB / 0.6115 GB, free: 67.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/1.219, allocations: 37.5 MB / 0.6481 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005437/1.224, allocations: 4.124 MB / 0.6522 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/1.225, allocations: 311.8 kB / 0.6525 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/1.225, allocations: 86.56 kB / 0.6525 GB, free: 21.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=518): time 6.923e-06/1.225, allocations: 0 / 0.6525 GB, free: 21.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=524): time 0.04479/1.27, allocations: 21.51 MB / 0.6735 GB, free: 15.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.27, allocations: 107.5 kB / 0.6736 GB, free: 15.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00774/1.278, allocations: 4.179 MB / 0.6777 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007227/1.278, allocations: 109.7 kB / 0.6778 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003555/1.282, allocations: 4.514 MB / 0.6822 GB, free: 6.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.284, allocations: 1.774 MB / 0.684 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002729/1.287, allocations: 1.366 MB / 0.6853 GB, free: 3.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/1.287, allocations: 305.1 kB / 0.6856 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005507/1.292, allocations: 3.449 MB / 0.689 GB, free: 48 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007688/1.3, allocations: 5.887 MB / 0.6947 GB, free: 9.066 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.315, allocations: 10.04 MB / 0.7045 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.812e-05/1.315, allocations: 24 kB / 0.7045 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02085/1.336, allocations: 10.98 MB / 0.7153 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/1.336, allocations: 40.03 kB / 0.7153 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/1.336, allocations: 80 kB / 0.7154 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/1.34, allocations: 1.449 MB / 0.7168 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2/1.54, allocations: 1.614 MB / 0.7184 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/1.557, allocations: 11.5 MB / 0.7296 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.563, allocations: 402.5 kB / 0.73 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.564, allocations: 338.3 kB / 0.7303 GB, free: 152.6 MB / 494.1 MB 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.01062/1.574, allocations: 4.167 MB / 0.7344 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.576, allocations: 478 kB / 0.7348 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.591, allocations: 8.491 MB / 0.7431 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0118/1.603, allocations: 7.108 MB / 0.7501 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/1.603, allocations: 11.75 kB / 0.7501 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.902e-05/1.603, allocations: 26.77 kB / 0.7501 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03251/1.636, allocations: 19.36 MB / 0.769 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.636, allocations: 3.844 kB / 0.769 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/1.64, allocations: 0.9396 MB / 0.7699 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/1.643, allocations: 1.308 MB / 0.7712 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009963/1.644, allocations: 126.2 kB / 0.7713 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.657, allocations: 10.19 MB / 0.7813 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.657, allocations: 4.781 kB / 0.7813 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.674, allocations: 12.3 MB / 0.7933 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.677, allocations: 1.16 MB / 0.7944 GB, free: 113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.678, allocations: 96 kB / 0.7945 GB, free: 112.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.68, allocations: 271.7 kB / 0.7948 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007291/1.681, allocations: 352.4 kB / 0.7951 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/1.681, allocations: 148 kB / 0.7952 GB, free: 112.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00339/1.685, allocations: 2.823 MB / 0.798 GB, free: 109.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.685, allocations: 0 / 0.798 GB, free: 109.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006314/1.691, allocations: 1.942 MB / 0.7999 GB, free: 107.4 MB / 494.1 MB 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.0007496/1.692, allocations: 302.1 kB / 0.8002 GB, free: 107.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.04391/1.736, allocations: 20.65 MB / 0.8203 GB, free: 86.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.736, allocations: 8 kB / 0.8204 GB, free: 86.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007536/1.743, allocations: 4.199 MB / 0.8245 GB, free: 82.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007529/1.751, allocations: 1.142 MB / 0.8256 GB, free: 81.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03725/1.788, allocations: 19.31 MB / 0.8444 GB, free: 61.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/1.8, allocations: 7.001 MB / 0.8513 GB, free: 54.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007388/1.807, allocations: 2.325 MB / 0.8535 GB, free: 52.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.809, allocations: 439.3 kB / 0.854 GB, free: 51.95 MB / 494.1 MB Notification: Performance of SimCode: time 1.924e-06/1.809, allocations: 0 / 0.854 GB, free: 51.95 MB / 494.1 MB Notification: Performance of Templates: time 0.3337/2.143, allocations: 81.19 MB / 0.9332 GB, free: 136.8 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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) 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) Reference file matches