Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008353/0.0008355, allocations: 94.06 kB / 292.1 MB, free: 5.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.601e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08497, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.3672, allocations: 105.3 MB / 0.4955 GB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3674, allocations: 83.2 kB / 0.4955 GB, free: 444 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1083/0.4757, allocations: 41.69 MB / 0.5362 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4758, allocations: 0 / 0.5362 GB, free: 8.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001602/0.476, allocations: 48 kB / 0.5363 GB, free: 7.996 MB / 410.7 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.004454/0.4804, allocations: 1.992 MB / 0.5382 GB, free: 5.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4805, allocations: 12.03 kB / 0.5382 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.4815, allocations: 289 kB / 0.5385 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.4842, allocations: 1.38 MB / 0.5399 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.4844, allocations: 143.8 kB / 0.54 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.4847, allocations: 191.9 kB / 0.5402 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.4884, allocations: 2.368 MB / 0.5425 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.4885, allocations: 3.906 kB / 0.5425 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.4886, allocations: 80 kB / 0.5426 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.221e-05/0.4887, allocations: 83.69 kB / 0.5427 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.4916, allocations: 1.811 MB / 0.5444 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.5029, allocations: 7.847 MB / 0.5521 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.5046, allocations: 1.263 MB / 0.5533 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.5059, allocations: 0.8075 MB / 0.5541 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.5062, allocations: 134 kB / 0.5542 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5062, allocations: 43.56 kB / 0.5543 GB, free: 5.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 2.554e-06/0.5062, allocations: 0 / 0.5543 GB, free: 5.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01018/0.5164, allocations: 4.848 MB / 0.559 GB, free: 160 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.5165, allocations: 64.41 kB / 0.5591 GB, free: 84 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.518, allocations: 1.11 MB / 0.5602 GB, free: 14.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.5181, allocations: 45.7 kB / 0.5602 GB, free: 14.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/0.5187, allocations: 0.9161 MB / 0.5611 GB, free: 13.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.519, allocations: 400.1 kB / 0.5615 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.519, allocations: 28 kB / 0.5615 GB, free: 13.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5192, allocations: 361.9 kB / 0.5619 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.5201, allocations: 0.6248 MB / 0.5625 GB, free: 12.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5212, allocations: 0.9679 MB / 0.5634 GB, free: 11.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5223, allocations: 0.7856 MB / 0.5642 GB, free: 10.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5223, allocations: 4 kB / 0.5642 GB, free: 10.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003272/0.5256, allocations: 2.154 MB / 0.5663 GB, free: 8.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5256, allocations: 8 kB / 0.5663 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5256, allocations: 15.95 kB / 0.5663 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.5266, allocations: 414.8 kB / 0.5667 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5278, allocations: 335.5 kB / 0.567 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.5323, allocations: 4.629 MB / 0.5715 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009856/0.5333, allocations: 83.83 kB / 0.5716 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5334, allocations: 59.98 kB / 0.5717 GB, free: 2.688 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.5337, allocations: 190.4 kB / 0.5719 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.534, allocations: 150.3 kB / 0.572 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.5372, allocations: 1.894 MB / 0.5739 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5372, allocations: 12 kB / 0.5739 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5373, allocations: 7.984 kB / 0.5739 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5373, allocations: 3.984 kB / 0.5739 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.21/0.7472, allocations: 4.029 MB / 0.5778 GB, free: 96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7473, allocations: 3.25 kB / 0.5778 GB, free: 96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/0.7482, allocations: 226.4 kB / 0.578 GB, free: 96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.7493, allocations: 474.2 kB / 0.5785 GB, free: 95.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.7494, allocations: 31.05 kB / 0.5785 GB, free: 95.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.7541, allocations: 6.164 MB / 0.5845 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7541, allocations: 3.344 kB / 0.5845 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.7578, allocations: 2.906 MB / 0.5874 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.7585, allocations: 361.1 kB / 0.5877 GB, free: 91.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.7587, allocations: 28 kB / 0.5877 GB, free: 91.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.7594, allocations: 72.66 kB / 0.5878 GB, free: 91.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.7596, allocations: 88.66 kB / 0.5879 GB, free: 91.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.7597, allocations: 35.78 kB / 0.5879 GB, free: 91.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.7609, allocations: 0.8467 MB / 0.5888 GB, free: 91.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7609, allocations: 0 / 0.5888 GB, free: 91.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001472/0.7623, allocations: 462.3 kB / 0.5892 GB, free: 91.53 MB / 442.7 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 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000475/0.7628, allocations: 313.1 kB / 0.5895 GB, free: 91.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.7653, allocations: 2.046 MB / 0.5915 GB, free: 90.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7653, allocations: 0 / 0.5915 GB, free: 90.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.7669, allocations: 1.341 MB / 0.5928 GB, free: 90.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.7685, allocations: 384.7 kB / 0.5932 GB, free: 90.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.7731, allocations: 3.408 MB / 0.5965 GB, free: 89.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009743/0.7741, allocations: 1.686 MB / 0.5981 GB, free: 88.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.7751, allocations: 338.3 kB / 0.5985 GB, free: 88.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.7754, allocations: 99.48 kB / 0.5986 GB, free: 88.85 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7754, allocations: 3.406 kB / 0.5986 GB, free: 88.85 MB / 442.7 MB Notification: Performance of Templates: time 0.0393/0.8147, allocations: 23.88 MB / 0.6219 GB, free: 87.7 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches