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.001604/0.001604, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007587/0.0007588, allocations: 95.45 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.614e-05, allocations: 4 kB / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08948, allocations: 51.47 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.3941, allocations: 104.6 MB / 499.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3944, allocations: 89.69 kB / 499.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.105/0.4994, allocations: 41.15 MB / 0.5284 GB, free: 500 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4994, allocations: 4 kB / 0.5284 GB, free: 496 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.4996, allocations: 47.98 kB / 0.5284 GB, free: 448 kB / 394.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.004485/0.5041, allocations: 1.997 MB / 0.5304 GB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5041, allocations: 8.031 kB / 0.5304 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5053, allocations: 285 kB / 0.5307 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.5083, allocations: 1.384 MB / 0.532 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.5083, allocations: 60 kB / 0.5321 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.5087, allocations: 119.9 kB / 0.5322 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003107/0.5118, allocations: 1.702 MB / 0.5338 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.5155, allocations: 2.085 MB / 0.5359 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.5156, allocations: 11.91 kB / 0.5359 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.5157, allocations: 7.984 kB / 0.5359 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/0.5158, allocations: 83.67 kB / 0.536 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.5269, allocations: 7.465 MB / 0.5433 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.5285, allocations: 1.221 MB / 0.5445 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.5296, allocations: 0.7694 MB / 0.5452 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.5299, allocations: 142.3 kB / 0.5453 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.53, allocations: 47.86 kB / 0.5454 GB, free: 14.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.53, allocations: 0 / 0.5454 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.007024/0.537, allocations: 3.975 MB / 0.5493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5371, allocations: 68.67 kB / 0.5493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.5384, allocations: 0.9142 MB / 0.5502 GB, free: 9.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.5385, allocations: 29.64 kB / 0.5503 GB, free: 9.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/0.5391, allocations: 0.9112 MB / 0.5511 GB, free: 8.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.5394, allocations: 382.2 kB / 0.5515 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.5394, allocations: 4 kB / 0.5515 GB, free: 8.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5396, allocations: 357.9 kB / 0.5519 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.5404, allocations: 0.5974 MB / 0.5524 GB, free: 7.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/0.5414, allocations: 0.9444 MB / 0.5534 GB, free: 6.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5424, allocations: 0.748 MB / 0.5541 GB, free: 5.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5424, allocations: 4 kB / 0.5541 GB, free: 5.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003139/0.5455, allocations: 2.002 MB / 0.5561 GB, free: 3.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5456, allocations: 12 kB / 0.5561 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.5456, allocations: 12 kB / 0.5561 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.5465, allocations: 403.1 kB / 0.5565 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5478, allocations: 347.5 kB / 0.5568 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.5521, allocations: 4.417 MB / 0.5611 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5531, allocations: 59.98 kB / 0.5612 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.5533, allocations: 51.98 kB / 0.5612 GB, free: 13.85 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.0002489/0.5535, allocations: 140.5 kB / 0.5613 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5538, allocations: 134.3 kB / 0.5615 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.5569, allocations: 1.795 MB / 0.5632 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.5569, allocations: 12 kB / 0.5632 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.557, allocations: 8 kB / 0.5632 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.557, allocations: 3.984 kB / 0.5632 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006232/0.5632, allocations: 3.702 MB / 0.5669 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5632, allocations: 4.031 kB / 0.5669 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.5642, allocations: 227.7 kB / 0.5671 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.5654, allocations: 462.8 kB / 0.5675 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.5655, allocations: 15.98 kB / 0.5675 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005271/0.5707, allocations: 5.899 MB / 0.5733 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5708, allocations: 4.031 kB / 0.5733 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2091/0.7799, allocations: 2.795 MB / 0.576 GB, free: 95.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.7806, allocations: 344.9 kB / 0.5764 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7808, allocations: 13.36 kB / 0.5764 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.7815, allocations: 55.62 kB / 0.5764 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.7817, allocations: 87.23 kB / 0.5765 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.7818, allocations: 31.16 kB / 0.5765 GB, free: 95.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009081/0.7827, allocations: 0.6924 MB / 0.5772 GB, free: 95.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7828, allocations: 0 / 0.5772 GB, free: 95.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001306/0.7841, allocations: 398.3 kB / 0.5776 GB, free: 95.77 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.0004352/0.7845, allocations: 280 kB / 0.5779 GB, free: 95.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.787, allocations: 1.967 MB / 0.5798 GB, free: 95.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.787, allocations: 0 / 0.5798 GB, free: 95.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.7887, allocations: 1.288 MB / 0.581 GB, free: 94.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.7903, allocations: 304.2 kB / 0.5813 GB, free: 94.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.7951, allocations: 3.326 MB / 0.5846 GB, free: 94.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/0.7961, allocations: 1.683 MB / 0.5862 GB, free: 93.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001046/0.7972, allocations: 324 kB / 0.5865 GB, free: 93.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.7975, allocations: 97.03 kB / 0.5866 GB, free: 93.23 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7975, allocations: 0 / 0.5866 GB, free: 93.23 MB / 442.7 MB Notification: Performance of Templates: time 0.03024/0.8277, allocations: 18.77 MB / 0.605 GB, free: 92.33 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