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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 105 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 35.95 kB / 350.1 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3181, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02131/0.3395, allocations: 26.48 MB / 426 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.3579, allocations: 7.973 MB / 434 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007552/0.3655, allocations: 191.4 kB / 434.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02189/0.3875, allocations: 8.861 MB / 443 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.4006, allocations: 3.04 MB / 446 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008522/0.4091, allocations: 1.695 MB / 447.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02255/0.4317, allocations: 12.41 MB / 460.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04495/0.4767, allocations: 20.22 MB / 480.4 MB, free: 136 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.4895, allocations: 5.628 MB / 486 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.5032, allocations: 6.859 MB / 492.9 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006721/0.51, allocations: 1.215 MB / 494.1 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008303/0.5183, allocations: 1.582 MB / 495.7 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007153/0.5255, allocations: 2.964 MB / 498.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.5409, allocations: 6.27 MB / 0.4931 GB, free: 7.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3158/0.8567, allocations: 24.19 MB / 0.5167 GB, free: 40.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.8568, allocations: 0 / 0.5167 GB, free: 40.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8568, allocations: 2.625 kB / 0.5167 GB, free: 40.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008111/0.8576, allocations: 3.438 kB / 0.5167 GB, free: 40.34 MB / 378.7 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.0489/0.9065, allocations: 14.57 MB / 0.5309 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9066, allocations: 9.094 kB / 0.5309 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04335/0.9499, allocations: 8.429 MB / 0.5391 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/0.97, allocations: 7.449 MB / 0.5464 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/0.9712, allocations: 0.8112 MB / 0.5472 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006369/0.9776, allocations: 1.063 MB / 0.5483 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05198/1.03, allocations: 18.3 MB / 0.5661 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000614/1.03, allocations: 19.89 kB / 0.5661 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005634/1.036, allocations: 455.1 kB / 0.5666 GB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006541/1.037, allocations: 0.6628 MB / 0.5672 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03973/1.076, allocations: 17.54 MB / 0.5843 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/1.186, allocations: 58.72 MB / 0.6417 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2869/1.473, allocations: 37.49 MB / 0.6783 GB, free: 172.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007669/1.48, allocations: 4.146 MB / 0.6823 GB, free: 172.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/1.481, allocations: 194.9 kB / 0.6825 GB, free: 172.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.298e-05/1.481, allocations: 90.66 kB / 0.6826 GB, free: 172.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.174e-06/1.481, allocations: 0 / 0.6826 GB, free: 172.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.05215/1.533, allocations: 21.81 MB / 0.7039 GB, free: 166 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/1.533, allocations: 105.7 kB / 0.704 GB, free: 165.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00695/1.54, allocations: 4.174 MB / 0.7081 GB, free: 164.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.541, allocations: 115.8 kB / 0.7082 GB, free: 164.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/1.544, allocations: 4.494 MB / 0.7126 GB, free: 160.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.546, allocations: 1.802 MB / 0.7144 GB, free: 159.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001969/1.548, allocations: 1.353 MB / 0.7157 GB, free: 158.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/1.548, allocations: 301.1 kB / 0.716 GB, free: 158 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004586/1.552, allocations: 3.478 MB / 0.7194 GB, free: 155 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/1.558, allocations: 5.915 MB / 0.7251 GB, free: 148.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.57, allocations: 10.09 MB / 0.735 GB, free: 138.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/1.57, allocations: 24 kB / 0.735 GB, free: 138.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01973/1.589, allocations: 10.99 MB / 0.7457 GB, free: 128.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/1.59, allocations: 39.98 kB / 0.7458 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/1.59, allocations: 80 kB / 0.7459 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/1.593, allocations: 1.399 MB / 0.7472 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/1.599, allocations: 1.607 MB / 0.7488 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.613, allocations: 10.59 MB / 0.7591 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007852/1.621, allocations: 407.3 kB / 0.7595 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00184/1.623, allocations: 332 kB / 0.7598 GB, free: 113.5 MB / 490.7 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007802/1.63, allocations: 4.168 MB / 0.7639 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.632, allocations: 474.1 kB / 0.7644 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.644, allocations: 8.531 MB / 0.7727 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009961/1.654, allocations: 7.132 MB / 0.7797 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.654, allocations: 15.98 kB / 0.7797 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.032e-05/1.655, allocations: 23.91 kB / 0.7797 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0333/1.688, allocations: 19.39 MB / 0.7986 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.688, allocations: 8.062 kB / 0.7986 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00371/1.692, allocations: 0.9362 MB / 0.7995 GB, free: 72.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/1.695, allocations: 1.246 MB / 0.8008 GB, free: 71.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008024/1.696, allocations: 116 kB / 0.8009 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.707, allocations: 9.308 MB / 0.81 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.707, allocations: 7.938 kB / 0.81 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03249/1.74, allocations: 20.52 MB / 0.83 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003711/1.744, allocations: 1.155 MB / 0.8311 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.745, allocations: 92 kB / 0.8312 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.748, allocations: 275.8 kB / 0.8315 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008587/1.749, allocations: 360.3 kB / 0.8318 GB, free: 38.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/1.749, allocations: 149.5 kB / 0.832 GB, free: 38.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005558/1.755, allocations: 2.807 MB / 0.8347 GB, free: 35.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.755, allocations: 0 / 0.8347 GB, free: 35.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01057/1.765, allocations: 2.19 MB / 0.8369 GB, free: 33.61 MB / 490.7 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001374/1.767, allocations: 307.3 kB / 0.8371 GB, free: 33.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01557/1.782, allocations: 8.792 MB / 0.8457 GB, free: 24.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.782, allocations: 0 / 0.8457 GB, free: 24.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2909/2.073, allocations: 4.211 MB / 0.8498 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/2.086, allocations: 1.069 MB / 0.8509 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06135/2.147, allocations: 27.03 MB / 0.8773 GB, free: 156.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/2.158, allocations: 7.161 MB / 0.8843 GB, free: 152.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007291/2.165, allocations: 2.323 MB / 0.8865 GB, free: 150.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/2.167, allocations: 418.7 kB / 0.8869 GB, free: 150.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/2.167, allocations: 0 / 0.8869 GB, free: 150.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1259/2.293, allocations: 82.35 MB / 0.9674 GB, free: 70.93 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches