Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009089/0.0009088, allocations: 182 kB / 17.41 MB, free: 4.406 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.28/1.28, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007489/0.0007491, allocations: 104.9 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003102, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.4116, allocations: 126.7 MB / 0.4907 GB, free: 1.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.412, allocations: 107.9 kB / 0.4908 GB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259/1.671, allocations: 335.1 MB / 0.818 GB, free: 47.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.671, allocations: 0 / 0.818 GB, free: 47.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005885/1.671, allocations: 213.5 kB / 0.8182 GB, free: 47.12 MB / 442.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.03304/1.705, allocations: 9.387 MB / 0.8274 GB, free: 44.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.705, allocations: 11.28 kB / 0.8274 GB, free: 44.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02772/1.732, allocations: 4.878 MB / 0.8322 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02004/1.752, allocations: 7.266 MB / 0.8393 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00159/1.754, allocations: 0.6931 MB / 0.8399 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005393/1.759, allocations: 0.8927 MB / 0.8408 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0536/1.813, allocations: 16.79 MB / 0.8572 GB, free: 41.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000647/1.814, allocations: 10.22 kB / 0.8572 GB, free: 41.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005063/1.819, allocations: 396 kB / 0.8576 GB, free: 41.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000921/1.82, allocations: 0.694 MB / 0.8583 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03462/1.854, allocations: 15.44 MB / 0.8733 GB, free: 41.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.966, allocations: 53.92 MB / 0.926 GB, free: 17.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02555/1.991, allocations: 18.85 MB / 0.9444 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0261/2.017, allocations: 7.974 MB / 0.9522 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3598/2.377, allocations: 22.75 MB / 0.9744 GB, free: 57.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/2.377, allocations: 97.06 kB / 0.9745 GB, free: 57.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=684): time 9.368e-06/2.377, allocations: 0 / 0.9745 GB, free: 57.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=690): time 0.07622/2.453, allocations: 34.72 MB / 1.008 GB, free: 55.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/2.454, allocations: 107.8 kB / 1.009 GB, free: 55.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004077/2.458, allocations: 2.77 MB / 1.011 GB, free: 55.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001415/2.459, allocations: 117.2 kB / 1.011 GB, free: 55.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/2.461, allocations: 3.413 MB / 1.015 GB, free: 53.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003157/2.464, allocations: 2.273 MB / 1.017 GB, free: 52.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/2.465, allocations: 117.8 kB / 1.017 GB, free: 52.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004844/2.465, allocations: 0.5867 MB / 1.018 GB, free: 51.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007618/2.473, allocations: 4.719 MB / 1.022 GB, free: 51.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00937/2.482, allocations: 6.071 MB / 1.028 GB, free: 50.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/2.501, allocations: 11.36 MB / 1.039 GB, free: 48.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.937e-05/2.501, allocations: 11.44 kB / 1.039 GB, free: 48.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02965/2.53, allocations: 13.65 MB / 1.053 GB, free: 42.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/2.531, allocations: 22.03 kB / 1.053 GB, free: 42.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/2.531, allocations: 34.47 kB / 1.053 GB, free: 42.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008163/2.539, allocations: 3.868 MB / 1.056 GB, free: 41.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/2.544, allocations: 1.122 MB / 1.057 GB, free: 41.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/2.556, allocations: 10.7 MB / 1.068 GB, free: 35.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/2.562, allocations: 339.7 kB / 1.068 GB, free: 35.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/2.564, allocations: 277.1 kB / 1.069 GB, free: 35.12 MB / 458.7 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 () * Number of clocked 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.01122/2.575, allocations: 3.693 MB / 1.072 GB, free: 33.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002524/2.578, allocations: 426.2 kB / 1.073 GB, free: 33.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0311/2.609, allocations: 13.34 MB / 1.086 GB, free: 27.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02576/2.635, allocations: 11.88 MB / 1.097 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/2.635, allocations: 0 / 1.097 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/2.635, allocations: 28.45 kB / 1.097 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0708/2.706, allocations: 27.19 MB / 1.124 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-05/2.706, allocations: 0 / 1.124 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004472/2.711, allocations: 0.8103 MB / 1.125 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008988/2.72, allocations: 3.824 MB / 1.128 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001991/2.722, allocations: 149.7 kB / 1.128 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3415/3.063, allocations: 10.57 MB / 1.139 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.063, allocations: 0 / 1.139 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03443/3.098, allocations: 19.87 MB / 1.158 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004931/3.103, allocations: 1.545 MB / 1.16 GB, free: 73.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/3.104, allocations: 96.19 kB / 1.16 GB, free: 73.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/3.108, allocations: 283.2 kB / 1.16 GB, free: 73.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/3.109, allocations: 0.5028 MB / 1.16 GB, free: 73.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/3.11, allocations: 182.8 kB / 1.161 GB, free: 73.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003792/3.114, allocations: 1.863 MB / 1.162 GB, free: 73.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/3.114, allocations: 0 / 1.162 GB, free: 73.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009789/3.123, allocations: 1.681 MB / 1.164 GB, free: 73.75 MB / 474.7 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 () * Number of clocked 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.002295/3.126, allocations: 0.4957 MB / 1.165 GB, free: 73.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02382/3.15, allocations: 11.5 MB / 1.176 GB, free: 73.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/3.15, allocations: 0 / 1.176 GB, free: 73.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01567/3.165, allocations: 5.926 MB / 1.182 GB, free: 73.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/3.178, allocations: 0.9259 MB / 1.183 GB, free: 73.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04967/3.227, allocations: 23.28 MB / 1.205 GB, free: 65.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008552/3.236, allocations: 6.181 MB / 1.211 GB, free: 64.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/3.238, allocations: 358.8 kB / 1.212 GB, free: 64.01 MB / 474.7 MB Notification: Performance of SimCode: time 1.242e-06/3.238, allocations: 0 / 1.212 GB, free: 64.01 MB / 474.7 MB Notification: Performance of Templates: time 1.858/5.097, allocations: 0.6139 GB / 1.826 GB, free: 93.59 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches