Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 110.5 kB / 17.06 MB, free: 6.098 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.001237/0.001237, allocations: 198.9 kB / 18 MB, free: 5.172 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 51.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2861, allocations: 49.44 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01098/0.2971, allocations: 9.691 MB / 410.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.3028, allocations: 3.015 MB / 413.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3038, allocations: 51.81 kB / 413.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3054, allocations: 0.6521 MB / 414.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.3075, allocations: 0.7882 MB / 414.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.3083, allocations: 371.5 kB / 415.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.3108, allocations: 2.428 MB / 417.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.3128, allocations: 1.743 MB / 419.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.3145, allocations: 1.078 MB / 420.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.3163, allocations: 1.315 MB / 421.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.3167, allocations: 280 kB / 422.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.3174, allocations: 371.8 kB / 422.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.3181, allocations: 0.7713 MB / 423.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.3195, allocations: 1.272 MB / 424.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.3234, allocations: 3.642 MB / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3234, allocations: 0 / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3234, allocations: 0 / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.614e-05/0.3235, allocations: 0 / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005321/0.3288, allocations: 2.579 MB / 430.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3289, allocations: 12.03 kB / 430.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.3296, allocations: 258 kB / 431 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.3318, allocations: 1.357 MB / 432.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3319, allocations: 140.2 kB / 432.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.3322, allocations: 204 kB / 432.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.3363, allocations: 2.415 MB / 435.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.3364, allocations: 7.906 kB / 435.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.3366, allocations: 76 kB / 435.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3367, allocations: 91.67 kB / 435.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.3401, allocations: 1.962 MB / 437.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.3524, allocations: 7.761 MB / 445 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3542, allocations: 1.238 MB / 446.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.356, allocations: 0.9673 MB / 447.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3563, allocations: 118.1 kB / 447.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3563, allocations: 47.56 kB / 447.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.416e-06/0.3563, allocations: 0 / 447.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.0132/0.3695, allocations: 5.866 MB / 453.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3696, allocations: 60.41 kB / 453.3 MB, free: 3.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3715, allocations: 1.313 MB / 454.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.3716, allocations: 45.7 kB / 454.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.3723, allocations: 0.916 MB / 455.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.3726, allocations: 386.4 kB / 456 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.373, allocations: 251.4 kB / 456.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3731, allocations: 361.9 kB / 456.6 MB, free: 204 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3741, allocations: 0.6364 MB / 457.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3754, allocations: 1 MB / 458.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.3777, allocations: 1.731 MB / 460 MB, free: 12.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3777, allocations: 4 kB / 460 MB, free: 12.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00394/0.3817, allocations: 2.245 MB / 462.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3817, allocations: 12 kB / 462.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3817, allocations: 15.94 kB / 462.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.383, allocations: 496.2 kB / 462.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3841, allocations: 303.5 kB / 463 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007483/0.3916, allocations: 7.126 MB / 470.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.393, allocations: 79.92 kB / 470.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3932, allocations: 60.05 kB / 470.3 MB, free: 1.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.3944, allocations: 0.6048 MB / 470.9 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.3946, allocations: 142.2 kB / 471 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.3982, allocations: 1.976 MB / 473 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3982, allocations: 12 kB / 473 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3982, allocations: 4 kB / 473 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.3983, allocations: 7.969 kB / 473 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/0.4057, allocations: 4.113 MB / 477.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.4058, allocations: 4.062 kB / 477.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.4066, allocations: 196 kB / 477.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.4081, allocations: 0.5348 MB / 477.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.4082, allocations: 35.92 kB / 477.9 MB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008783/0.4169, allocations: 8.747 MB / 486.6 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.417, allocations: 7.969 kB / 486.6 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.4216, allocations: 2.855 MB / 489.5 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.4224, allocations: 351.2 kB / 489.8 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.4226, allocations: 27.98 kB / 489.9 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.4234, allocations: 63.92 kB / 489.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.4236, allocations: 84.83 kB / 490 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4237, allocations: 35.98 kB / 490.1 MB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.425, allocations: 0.8956 MB / 490.9 MB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.425, allocations: 0 / 490.9 MB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001465/0.4265, allocations: 440 kB / 491.4 MB, free: 11.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003471/0.4268, allocations: 187 kB / 491.6 MB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.4303, allocations: 2.235 MB / 493.8 MB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4303, allocations: 0 / 493.8 MB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.4325, allocations: 1.503 MB / 495.3 MB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.4344, allocations: 415.6 kB / 495.7 MB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.4406, allocations: 4.106 MB / 499.8 MB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.4419, allocations: 1.654 MB / 0.4897 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009197/0.4429, allocations: 316.8 kB / 0.49 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.4432, allocations: 95.42 kB / 0.4901 GB, free: 1.105 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4432, allocations: 4 kB / 0.4901 GB, free: 1.102 MB / 414.1 MB Notification: Performance of Templates: time 0.0424/0.4856, allocations: 24.09 MB / 0.5136 GB, free: 9.258 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches