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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.534/1.534, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008477/0.0008474, allocations: 85.36 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2744, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.6487, allocations: 132.5 MB / 0.4964 GB, free: 109.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/0.6492, allocations: 111.5 kB / 0.4965 GB, free: 109.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173/1.822, allocations: 348.9 MB / 0.8372 GB, free: 49.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.587e-06/1.822, allocations: 0 / 0.8372 GB, free: 49.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001119/1.823, allocations: 222 kB / 0.8375 GB, free: 49.39 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04235/1.865, allocations: 9.971 MB / 0.8472 GB, free: 46.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.865, allocations: 11.22 kB / 0.8472 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02727/1.893, allocations: 4.951 MB / 0.852 GB, free: 45.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/1.914, allocations: 7.615 MB / 0.8595 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001305/1.915, allocations: 0.7138 MB / 0.8602 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006152/1.921, allocations: 0.9221 MB / 0.8611 GB, free: 44.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05151/1.973, allocations: 17.2 MB / 0.8779 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006026/1.973, allocations: 15.22 kB / 0.8779 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005009/1.978, allocations: 408 kB / 0.8783 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/1.98, allocations: 0.7037 MB / 0.879 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/2.014, allocations: 15.81 MB / 0.8944 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/2.123, allocations: 55.34 MB / 0.9484 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02433/2.147, allocations: 19.33 MB / 0.9673 GB, free: 5.918 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3421/2.489, allocations: 7.859 MB / 0.975 GB, free: 65.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05949/2.549, allocations: 24.9 MB / 0.9993 GB, free: 63.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/2.549, allocations: 94.25 kB / 0.9994 GB, free: 63.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=749): time 1.327e-05/2.549, allocations: 2.625 kB / 0.9994 GB, free: 63.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=754): time 0.1273/2.677, allocations: 41.14 MB / 1.04 GB, free: 59.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/2.677, allocations: 116.6 kB / 1.04 GB, free: 59.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009308/2.686, allocations: 3.585 MB / 1.043 GB, free: 58.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002147/2.688, allocations: 121.3 kB / 1.043 GB, free: 57.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002971/2.691, allocations: 3.599 MB / 1.047 GB, free: 55.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004512/2.696, allocations: 2.482 MB / 1.049 GB, free: 53.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/2.698, allocations: 124.8 kB / 1.049 GB, free: 53.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001065/2.699, allocations: 0.6029 MB / 1.05 GB, free: 52.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/2.71, allocations: 5.096 MB / 1.055 GB, free: 50.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/2.723, allocations: 6.358 MB / 1.061 GB, free: 47.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02311/2.746, allocations: 12.03 MB / 1.073 GB, free: 41.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.04e-05/2.746, allocations: 13.44 kB / 1.073 GB, free: 41.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03633/2.782, allocations: 14.63 MB / 1.087 GB, free: 34.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.523e-05/2.782, allocations: 24 kB / 1.087 GB, free: 34.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/2.783, allocations: 34 kB / 1.087 GB, free: 34.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/2.792, allocations: 4.029 MB / 1.091 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/2.798, allocations: 1.19 MB / 1.092 GB, free: 31.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/2.812, allocations: 12.58 MB / 1.105 GB, free: 19.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006545/2.819, allocations: 357.6 kB / 1.105 GB, free: 19.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002426/2.821, allocations: 286.3 kB / 1.105 GB, free: 19.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * 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 (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.01301/2.834, allocations: 3.862 MB / 1.109 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00335/2.838, allocations: 497.3 kB / 1.109 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03597/2.874, allocations: 14.32 MB / 1.123 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03983/2.913, allocations: 13.32 MB / 1.136 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.432e-05/2.914, allocations: 4 kB / 1.136 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001874/2.914, allocations: 30.09 kB / 1.136 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4154/3.329, allocations: 28.93 MB / 1.165 GB, free: 75.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.268e-05/3.329, allocations: 1.094 kB / 1.165 GB, free: 75.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005074/3.334, allocations: 0.8871 MB / 1.166 GB, free: 75.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009312/3.344, allocations: 3.958 MB / 1.169 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002219/3.346, allocations: 159.4 kB / 1.17 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/3.362, allocations: 12.46 MB / 1.182 GB, free: 71.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/3.362, allocations: 6.688 kB / 1.182 GB, free: 71.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0478/3.409, allocations: 21.55 MB / 1.203 GB, free: 70.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006546/3.416, allocations: 1.744 MB / 1.205 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003423/3.419, allocations: 107.5 kB / 1.205 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005571/3.425, allocations: 300 kB / 1.205 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002824/3.428, allocations: 0.5505 MB / 1.205 GB, free: 70.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001954/3.43, allocations: 205.9 kB / 1.206 GB, free: 70.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005901/3.436, allocations: 2.45 MB / 1.208 GB, free: 70.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.21e-07/3.436, allocations: 3.375 kB / 1.208 GB, free: 70.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01218/3.448, allocations: 1.819 MB / 1.21 GB, free: 70.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/3.452, allocations: 0.8168 MB / 1.211 GB, free: 69.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02737/3.479, allocations: 12.43 MB / 1.223 GB, free: 64.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/3.479, allocations: 0 / 1.223 GB, free: 64.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01511/3.495, allocations: 6.488 MB / 1.229 GB, free: 62.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/3.507, allocations: 0.9864 MB / 1.23 GB, free: 61.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05668/3.563, allocations: 25.19 MB / 1.255 GB, free: 47.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/3.574, allocations: 6.489 MB / 1.261 GB, free: 42.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/3.577, allocations: 407.7 kB / 1.261 GB, free: 42.42 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/3.577, allocations: 0 / 1.261 GB, free: 42.42 MB / 474.7 MB Notification: Performance of Templates: time 2.016/5.593, allocations: 0.6419 GB / 1.903 GB, free: 115.7 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches