Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.567e-05, allocations: 11.98 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08343/0.08348, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4532, allocations: 126.2 MB / 496.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004913/0.4538, allocations: 101 kB / 496.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/1.528, allocations: 338 MB / 0.8147 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.528, allocations: 4 kB / 0.8147 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006066/1.528, allocations: 211.8 kB / 0.8149 GB, free: 11.09 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03094/1.559, allocations: 9.047 MB / 0.8238 GB, free: 1.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.559, allocations: 8.031 kB / 0.8238 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/1.588, allocations: 4.862 MB / 0.8285 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/1.609, allocations: 7.861 MB / 0.8362 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/1.611, allocations: 0.6902 MB / 0.8369 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004875/1.616, allocations: 0.9022 MB / 0.8378 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7768/2.392, allocations: 16.51 MB / 0.8539 GB, free: 31.52 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007959/2.393, allocations: 14.2 kB / 0.8539 GB, free: 31.52 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006103/2.399, allocations: 396.4 kB / 0.8543 GB, free: 31.52 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/2.401, allocations: 0.6925 MB / 0.855 GB, free: 31.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05663/2.458, allocations: 15.2 MB / 0.8698 GB, free: 31.41 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/2.576, allocations: 53.87 MB / 0.9224 GB, free: 14.95 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/2.595, allocations: 18.76 MB / 0.9407 GB, free: 2.137 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/2.607, allocations: 6.998 MB / 0.9476 GB, free: 15.11 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04155/2.648, allocations: 22.66 MB / 0.9697 GB, free: 3.926 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.964e-05/2.648, allocations: 95.83 kB / 0.9698 GB, free: 3.844 MB / 442.8 MB Notification: Performance of pre-optimization done (n=684): time 7.765e-06/2.648, allocations: 0 / 0.9698 GB, free: 3.844 MB / 442.8 MB Notification: Performance of matching and sorting (n=690): time 0.04813/2.696, allocations: 23.5 MB / 0.9927 GB, free: 15.39 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/2.697, allocations: 115.2 kB / 0.9929 GB, free: 15.26 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/2.701, allocations: 2.435 MB / 0.9952 GB, free: 13.07 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001541/2.703, allocations: 117.7 kB / 0.9953 GB, free: 12.95 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/2.705, allocations: 3.425 MB / 0.9987 GB, free: 9.918 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003977/2.709, allocations: 2.267 MB / 1.001 GB, free: 7.871 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/2.71, allocations: 120 kB / 1.001 GB, free: 7.754 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006522/2.71, allocations: 0.5862 MB / 1.002 GB, free: 7.242 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00781/2.718, allocations: 4.634 MB / 1.006 GB, free: 3.098 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3447/3.063, allocations: 6.364 MB / 1.012 GB, free: 76.23 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/3.075, allocations: 5.639 MB / 1.018 GB, free: 76.13 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.38e-05/3.075, allocations: 11.34 kB / 1.018 GB, free: 76.13 MB / 474.8 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02569/3.101, allocations: 13.45 MB / 1.031 GB, free: 75.87 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/3.101, allocations: 19.25 kB / 1.031 GB, free: 75.87 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/3.101, allocations: 41.98 kB / 1.031 GB, free: 75.87 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007477/3.109, allocations: 3.842 MB / 1.035 GB, free: 75.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005411/3.114, allocations: 1.126 MB / 1.036 GB, free: 75.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/3.126, allocations: 10.66 MB / 1.046 GB, free: 72.66 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/3.132, allocations: 342.8 kB / 1.047 GB, free: 72.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/3.133, allocations: 284.6 kB / 1.047 GB, free: 72.66 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.002206/3.136, allocations: 428.8 kB / 1.047 GB, free: 72.55 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/3.137, allocations: 436.5 kB / 1.048 GB, free: 72.55 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02143/3.158, allocations: 13.16 MB / 1.061 GB, free: 72.21 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01751/3.176, allocations: 11.73 MB / 1.072 GB, free: 71.93 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/3.176, allocations: 0 / 1.072 GB, free: 71.93 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-05/3.176, allocations: 28.45 kB / 1.072 GB, free: 71.93 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05241/3.228, allocations: 26.13 MB / 1.098 GB, free: 60.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/3.229, allocations: 1.469 kB / 1.098 GB, free: 60.91 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004178/3.233, allocations: 0.8052 MB / 1.098 GB, free: 60.89 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007389/3.24, allocations: 3.791 MB / 1.102 GB, free: 59.77 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001639/3.242, allocations: 147 kB / 1.102 GB, free: 59.69 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/3.253, allocations: 10.55 MB / 1.113 GB, free: 53.38 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.253, allocations: 5.719 kB / 1.113 GB, free: 53.38 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03226/3.285, allocations: 19.66 MB / 1.132 GB, free: 39.41 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005732/3.291, allocations: 1.539 MB / 1.133 GB, free: 38.01 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002775/3.294, allocations: 92 kB / 1.133 GB, free: 37.92 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/3.299, allocations: 291.9 kB / 1.134 GB, free: 37.72 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002712/3.302, allocations: 0.5077 MB / 1.134 GB, free: 37.39 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/3.304, allocations: 182.9 kB / 1.134 GB, free: 37.23 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004344/3.308, allocations: 1.842 MB / 1.136 GB, free: 35.58 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.51e-07/3.308, allocations: 0 / 1.136 GB, free: 35.58 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01083/3.319, allocations: 1.676 MB / 1.138 GB, free: 33.91 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/3.322, allocations: 0.5611 MB / 1.138 GB, free: 33.52 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02346/3.345, allocations: 11.33 MB / 1.149 GB, free: 23.38 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/3.345, allocations: 8.125 kB / 1.149 GB, free: 23.38 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01368/3.359, allocations: 5.84 MB / 1.155 GB, free: 18.17 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007015/3.366, allocations: 0.849 MB / 1.156 GB, free: 17.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04332/3.41, allocations: 17.98 MB / 1.173 GB, free: 1.59 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/3.42, allocations: 6.63 MB / 1.18 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007032/3.427, allocations: 1.505 MB / 1.181 GB, free: 11.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/3.429, allocations: 308.9 kB / 1.182 GB, free: 11.55 MB / 490.8 MB Notification: Performance of SimCode: time 1.243e-06/3.429, allocations: 0 / 1.182 GB, free: 11.55 MB / 490.8 MB Notification: Performance of Templates: time 0.4902/3.919, allocations: 104.2 MB / 1.283 GB, free: 76.5 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches