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.001204/0.001204, allocations: 113.1 kB / 17.06 MB, free: 5.973 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.001316/0.001316, allocations: 200 kB / 18 MB, free: 5.055 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000992/0.000992, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3148, allocations: 49.43 MB / 400.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02504/0.3399, allocations: 24.77 MB / 425.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.3565, allocations: 7.333 MB / 432.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007037/0.3636, allocations: 191.4 kB / 433 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02131/0.385, allocations: 8.844 MB / 441.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.3985, allocations: 2.961 MB / 444.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.4049, allocations: 1.71 MB / 446.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.4208, allocations: 10.73 MB / 457.3 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04076/0.4616, allocations: 21.83 MB / 479.1 MB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.4733, allocations: 5.728 MB / 484.8 MB, free: 4.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.4855, allocations: 6.245 MB / 491.1 MB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005677/0.4912, allocations: 1.672 MB / 492.8 MB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00834/0.4996, allocations: 2.031 MB / 494.8 MB, free: 10.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006744/0.5064, allocations: 3.153 MB / 497.9 MB, free: 7.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01463/0.521, allocations: 6.09 MB / 0.4922 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0311/0.5522, allocations: 22.32 MB / 0.514 GB, free: 10.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5522, allocations: 0 / 0.514 GB, free: 10.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5522, allocations: 8 kB / 0.514 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007096/0.5529, allocations: 0 / 0.514 GB, free: 10.8 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04331/0.5963, allocations: 12.72 MB / 0.5264 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5963, allocations: 12.03 kB / 0.5265 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03476/0.6311, allocations: 6.197 MB / 0.5325 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.6477, allocations: 6.905 MB / 0.5393 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008809/0.6486, allocations: 0.7063 MB / 0.5399 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5253/1.174, allocations: 0.9122 MB / 0.5408 GB, free: 116 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/1.217, allocations: 15.75 MB / 0.5562 GB, free: 110 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003177/1.218, allocations: 13.77 kB / 0.5562 GB, free: 110 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003299/1.221, allocations: 390.7 kB / 0.5566 GB, free: 109.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007399/1.222, allocations: 0.5576 MB / 0.5571 GB, free: 109.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03314/1.255, allocations: 14.77 MB / 0.5716 GB, free: 97.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09234/1.347, allocations: 50.98 MB / 0.6213 GB, free: 45.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/1.368, allocations: 26.46 MB / 0.6472 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/1.373, allocations: 3.217 MB / 0.6503 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/1.373, allocations: 163.2 kB / 0.6505 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/1.374, allocations: 77.67 kB / 0.6506 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.214e-06/1.374, allocations: 3.375 kB / 0.6506 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.041/1.415, allocations: 17.29 MB / 0.6674 GB, free: 11.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/1.415, allocations: 94.58 kB / 0.6675 GB, free: 11.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/1.421, allocations: 3.692 MB / 0.6711 GB, free: 7.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007358/1.422, allocations: 89.7 kB / 0.6712 GB, free: 7.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.425, allocations: 3.985 MB / 0.6751 GB, free: 3.238 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.427, allocations: 1.371 MB / 0.6765 GB, free: 1.879 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/1.429, allocations: 1.144 MB / 0.6776 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.429, allocations: 301.1 kB / 0.6779 GB, free: 436 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/1.433, allocations: 2.799 MB / 0.6806 GB, free: 13.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/1.439, allocations: 4.956 MB / 0.6854 GB, free: 7.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.45, allocations: 8.31 MB / 0.6935 GB, free: 14.36 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-05/1.45, allocations: 20 kB / 0.6936 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01642/1.466, allocations: 9.095 MB / 0.7024 GB, free: 5.223 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/1.466, allocations: 36 kB / 0.7025 GB, free: 5.188 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/1.466, allocations: 72 kB / 0.7025 GB, free: 5.117 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/1.47, allocations: 1.225 MB / 0.7037 GB, free: 3.895 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/1.475, allocations: 1.322 MB / 0.705 GB, free: 2.57 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.489, allocations: 9.917 MB / 0.7147 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/1.493, allocations: 335.4 kB / 0.715 GB, free: 8.195 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009389/1.494, allocations: 276 kB / 0.7153 GB, free: 7.926 MB / 0.5138 GB 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.006694/1.501, allocations: 3.717 MB / 0.7189 GB, free: 4.195 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.502, allocations: 399.1 kB / 0.7193 GB, free: 3.801 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.514, allocations: 6.693 MB / 0.7259 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00894/1.523, allocations: 5.599 MB / 0.7313 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.523, allocations: 12 kB / 0.7313 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.523, allocations: 19.92 kB / 0.7313 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3273/1.85, allocations: 15.76 MB / 0.7467 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/1.85, allocations: 7.906 kB / 0.7467 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005453/1.856, allocations: 0.7164 MB / 0.7474 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/1.862, allocations: 1.118 MB / 0.7485 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/1.863, allocations: 91.33 kB / 0.7486 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.884, allocations: 8.845 MB / 0.7573 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.884, allocations: 5.172 kB / 0.7573 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/1.912, allocations: 9.849 MB / 0.7669 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004113/1.916, allocations: 0.9563 MB / 0.7678 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/1.918, allocations: 79.03 kB / 0.7679 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004972/1.923, allocations: 198.1 kB / 0.7681 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001704/1.925, allocations: 291.7 kB / 0.7684 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009849/1.926, allocations: 117.2 kB / 0.7685 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009778/1.936, allocations: 2.495 MB / 0.7709 GB, free: 163 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.22e-07/1.936, allocations: 0 / 0.7709 GB, free: 163 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01169/1.948, allocations: 1.61 MB / 0.7725 GB, free: 162.8 MB / 0.5294 GB 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.00157/1.949, allocations: 282.1 kB / 0.7727 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02087/1.97, allocations: 7.139 MB / 0.7797 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.97, allocations: 4 kB / 0.7797 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01067/1.981, allocations: 3.397 MB / 0.783 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.991, allocations: 0.9717 MB / 0.784 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04868/2.04, allocations: 16.39 MB / 0.8 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/2.053, allocations: 6.191 MB / 0.806 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009311/2.062, allocations: 1.908 MB / 0.8079 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/2.065, allocations: 343.4 kB / 0.8082 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.074e-06/2.065, allocations: 0 / 0.8082 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1152/2.18, allocations: 66.23 MB / 0.8729 GB, free: 65.14 MB / 0.5294 GB 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