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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 94.98 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.494e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08895, allocations: 50.41 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.4047, allocations: 103.8 MB / 491.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.405, allocations: 87.95 kB / 491.4 MB, free: 6.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1048/0.5097, allocations: 40.97 MB / 0.5199 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5098, allocations: 4 kB / 0.5199 GB, free: 13.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.5099, allocations: 51.94 kB / 0.5199 GB, free: 13.61 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.003761/0.5137, allocations: 1.992 MB / 0.5219 GB, free: 11.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5137, allocations: 8.031 kB / 0.5219 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/0.5145, allocations: 273 kB / 0.5221 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.5168, allocations: 1.376 MB / 0.5235 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.5169, allocations: 67.98 kB / 0.5235 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.5172, allocations: 115.9 kB / 0.5237 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002887/0.5201, allocations: 1.698 MB / 0.5253 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.5234, allocations: 2.089 MB / 0.5274 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/0.5235, allocations: 4 kB / 0.5274 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.5237, allocations: 4 kB / 0.5274 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.563e-05/0.5237, allocations: 87.64 kB / 0.5274 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.5348, allocations: 7.474 MB / 0.5347 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5364, allocations: 1.217 MB / 0.5359 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.5376, allocations: 0.7823 MB / 0.5367 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.5379, allocations: 130.4 kB / 0.5368 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.538, allocations: 47.81 kB / 0.5369 GB, free: 11.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.426e-06/0.538, allocations: 3.938 kB / 0.5369 GB, free: 11.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.007275/0.5453, allocations: 3.969 MB / 0.5407 GB, free: 7.723 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5453, allocations: 64.72 kB / 0.5408 GB, free: 7.645 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.5466, allocations: 0.9141 MB / 0.5417 GB, free: 6.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.5467, allocations: 25.7 kB / 0.5417 GB, free: 6.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.5473, allocations: 0.919 MB / 0.5426 GB, free: 5.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.5476, allocations: 382.2 kB / 0.543 GB, free: 5.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.5477, allocations: 0 / 0.543 GB, free: 5.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5479, allocations: 365.9 kB / 0.5433 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.5487, allocations: 0.5935 MB / 0.5439 GB, free: 4.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.5497, allocations: 0.9367 MB / 0.5448 GB, free: 3.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5508, allocations: 0.7596 MB / 0.5456 GB, free: 2.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5508, allocations: 0 / 0.5456 GB, free: 2.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003172/0.554, allocations: 1.998 MB / 0.5475 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.554, allocations: 8.312 kB / 0.5475 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.554, allocations: 16 kB / 0.5475 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009031/0.5549, allocations: 399.1 kB / 0.5479 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1935/0.7485, allocations: 343.8 kB / 0.5483 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.7526, allocations: 4.411 MB / 0.5526 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7539, allocations: 61.05 kB / 0.5526 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.754, allocations: 52.86 kB / 0.5527 GB, free: 108.1 MB / 426.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.0002429/0.7543, allocations: 147.2 kB / 0.5528 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.7545, allocations: 138.3 kB / 0.5529 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.7577, allocations: 1.792 MB / 0.5547 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.7577, allocations: 11.97 kB / 0.5547 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7577, allocations: 8.766 kB / 0.5547 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.7578, allocations: 5.812 kB / 0.5547 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.764, allocations: 3.699 MB / 0.5583 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.764, allocations: 2.281 kB / 0.5583 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.765, allocations: 227.7 kB / 0.5586 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.7663, allocations: 461.1 kB / 0.559 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.7664, allocations: 19.36 kB / 0.559 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/0.7713, allocations: 5.896 MB / 0.5648 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7714, allocations: 5.812 kB / 0.5648 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.7753, allocations: 2.8 MB / 0.5675 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/0.776, allocations: 341.5 kB / 0.5678 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.7762, allocations: 14.33 kB / 0.5678 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.7769, allocations: 56.77 kB / 0.5679 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.7771, allocations: 83.77 kB / 0.568 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.7772, allocations: 37.58 kB / 0.568 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009417/0.7781, allocations: 0.6868 MB / 0.5687 GB, free: 103.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7782, allocations: 0 / 0.5687 GB, free: 103.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001422/0.7796, allocations: 393.8 kB / 0.5691 GB, free: 103.1 MB / 426.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.0004702/0.7801, allocations: 279.8 kB / 0.5693 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.7828, allocations: 1.968 MB / 0.5713 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7828, allocations: 0 / 0.5713 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.7846, allocations: 1.294 MB / 0.5725 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7862, allocations: 299.5 kB / 0.5728 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.7912, allocations: 3.331 MB / 0.5761 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/0.7922, allocations: 1.684 MB / 0.5777 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001054/0.7933, allocations: 324.3 kB / 0.578 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.7936, allocations: 96.5 kB / 0.5781 GB, free: 100 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7936, allocations: 0 / 0.5781 GB, free: 100 MB / 426.7 MB Notification: Performance of Templates: time 0.02842/0.822, allocations: 18.72 MB / 0.5964 GB, free: 99.04 MB / 426.7 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","../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