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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 188.9 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 11 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.001107/0.001107, allocations: 96.22 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008241/0.0008241, allocations: 43.94 kB / 350.1 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2442, allocations: 49.42 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01914/0.2634, allocations: 24.31 MB / 423.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.277, allocations: 7.291 MB / 431.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005196/0.2823, allocations: 179.4 kB / 431.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01806/0.3004, allocations: 8.32 MB / 439.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.3094, allocations: 2.674 MB / 442.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.3144, allocations: 1.604 MB / 443.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01478/0.3292, allocations: 10.77 MB / 454.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03096/0.3602, allocations: 18.13 MB / 472.8 MB, free: 7.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.3684, allocations: 4.939 MB / 477.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009805/0.3782, allocations: 5.945 MB / 483.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003949/0.3822, allocations: 1.078 MB / 484.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00577/0.388, allocations: 1.441 MB / 486.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004562/0.3926, allocations: 2.563 MB / 488.7 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01232/0.405, allocations: 5.485 MB / 494.2 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.5257/0.9307, allocations: 21.83 MB / 0.504 GB, free: 38.91 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.9308, allocations: 0.875 kB / 0.504 GB, free: 38.91 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.9308, allocations: 0 / 0.504 GB, free: 38.91 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007031/0.9315, allocations: 0 / 0.504 GB, free: 38.91 MB / 378.8 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.05556/0.9871, allocations: 12.8 MB / 0.5165 GB, free: 35.93 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.9871, allocations: 9.438 kB / 0.5165 GB, free: 35.93 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04631/1.033, allocations: 6.143 MB / 0.5225 GB, free: 34.43 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/1.052, allocations: 6.729 MB / 0.529 GB, free: 32.67 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008862/1.053, allocations: 0.6995 MB / 0.5297 GB, free: 32.65 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006891/1.06, allocations: 0.9243 MB / 0.5306 GB, free: 32.65 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/1.105, allocations: 15.76 MB / 0.546 GB, free: 19.04 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003927/1.106, allocations: 19.64 kB / 0.546 GB, free: 19.02 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004467/1.11, allocations: 391.6 kB / 0.5464 GB, free: 18.65 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/1.111, allocations: 0.5509 MB / 0.547 GB, free: 18.1 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/1.144, allocations: 14.77 MB / 0.5614 GB, free: 3.305 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09404/1.238, allocations: 51.59 MB / 0.6118 GB, free: 15.34 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/1.262, allocations: 26.49 MB / 0.6376 GB, free: 1.812 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005755/1.268, allocations: 3.248 MB / 0.6408 GB, free: 14.56 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004356/1.269, allocations: 175 kB / 0.641 GB, free: 14.38 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.269, allocations: 73.36 kB / 0.641 GB, free: 14.3 MB / 474.8 MB Notification: Performance of pre-optimization done (n=404): time 5.53e-06/1.269, allocations: 0 / 0.641 GB, free: 14.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=410): time 0.04094/1.31, allocations: 17.25 MB / 0.6579 GB, free: 13.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.31, allocations: 90.59 kB / 0.658 GB, free: 12.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005806/1.316, allocations: 3.69 MB / 0.6616 GB, free: 9.246 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00062/1.316, allocations: 89.7 kB / 0.6617 GB, free: 9.152 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/1.319, allocations: 3.976 MB / 0.6655 GB, free: 5.152 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.321, allocations: 1.393 MB / 0.6669 GB, free: 3.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/1.322, allocations: 1.144 MB / 0.668 GB, free: 2.613 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001104/1.323, allocations: 313 kB / 0.6683 GB, free: 2.305 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.327, allocations: 2.829 MB / 0.6711 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/1.332, allocations: 4.989 MB / 0.6759 GB, free: 9.523 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.342, allocations: 8.371 MB / 0.6841 GB, free: 456 kB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.464e-05/1.342, allocations: 24 kB / 0.6841 GB, free: 432 kB / 0.4949 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.3043/1.647, allocations: 9.145 MB / 0.6931 GB, free: 189.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.647, allocations: 38.47 kB / 0.6931 GB, free: 189.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/1.647, allocations: 69.78 kB / 0.6932 GB, free: 189.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/1.65, allocations: 1.193 MB / 0.6943 GB, free: 189.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/1.655, allocations: 1.32 MB / 0.6956 GB, free: 189.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.668, allocations: 9.116 MB / 0.7045 GB, free: 184.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004728/1.672, allocations: 336.2 kB / 0.7049 GB, free: 184.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/1.673, allocations: 282.8 kB / 0.7051 GB, free: 184.3 MB / 0.4949 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 (697): * Single equations (assignments): 692 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007511/1.68, allocations: 3.714 MB / 0.7087 GB, free: 182.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/1.681, allocations: 403.8 kB / 0.7091 GB, free: 182.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.692, allocations: 6.741 MB / 0.7157 GB, free: 179.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00762/1.7, allocations: 5.65 MB / 0.7212 GB, free: 174.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.7, allocations: 9 kB / 0.7212 GB, free: 174.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.7, allocations: 19.22 kB / 0.7213 GB, free: 174.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.724, allocations: 16.17 MB / 0.7371 GB, free: 160.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.724, allocations: 4 kB / 0.7371 GB, free: 160.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.727, allocations: 0.7183 MB / 0.7378 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/1.729, allocations: 1.08 MB / 0.7388 GB, free: 159 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.73, allocations: 95.97 kB / 0.7389 GB, free: 158.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00998/1.74, allocations: 8.055 MB / 0.7468 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.74, allocations: 8 kB / 0.7468 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02208/1.762, allocations: 16.74 MB / 0.7631 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.764, allocations: 0.9605 MB / 0.7641 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/1.764, allocations: 81.61 kB / 0.7641 GB, free: 132.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.766, allocations: 207.8 kB / 0.7643 GB, free: 132.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006487/1.767, allocations: 291.3 kB / 0.7646 GB, free: 132.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/1.767, allocations: 116 kB / 0.7647 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00308/1.77, allocations: 2.495 MB / 0.7672 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.1e-07/1.77, allocations: 0 / 0.7672 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007812/1.778, allocations: 1.819 MB / 0.7689 GB, free: 127.9 MB / 0.4949 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 (392): * Single equations (assignments): 387 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008824/1.779, allocations: 288 kB / 0.7692 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.791, allocations: 7.182 MB / 0.7762 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.791, allocations: 0 / 0.7762 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005088/1.796, allocations: 3.413 MB / 0.7796 GB, free: 117 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.8, allocations: 0.9098 MB / 0.7805 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03172/1.832, allocations: 23.04 MB / 0.803 GB, free: 92.93 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005872/1.838, allocations: 6.3 MB / 0.8091 GB, free: 86.59 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005423/1.844, allocations: 1.912 MB / 0.811 GB, free: 84.67 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/1.845, allocations: 343.4 kB / 0.8113 GB, free: 84.33 MB / 0.4949 GB Notification: Performance of SimCode: time 9.42e-07/1.845, allocations: 4 kB / 0.8113 GB, free: 84.33 MB / 0.4949 GB Notification: Performance of Templates: time 0.3411/2.186, allocations: 68.93 MB / 0.8786 GB, free: 177.2 MB / 0.4949 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../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