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_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_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_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.0009866/0.0009865, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.42/1.42, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.000822/0.0008221, allocations: 91.67 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 15.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 47.58 MB / 377.1 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.5501, allocations: 132.5 MB / 0.4977 GB, free: 109.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5504, allocations: 104.4 kB / 0.4978 GB, free: 109.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097/1.647, allocations: 348.9 MB / 0.8385 GB, free: 49.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.647, allocations: 0 / 0.8385 GB, free: 49.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006984/1.648, allocations: 222.1 kB / 0.8387 GB, free: 49.36 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.03671/1.685, allocations: 9.973 MB / 0.8485 GB, free: 46.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.685, allocations: 14.23 kB / 0.8485 GB, free: 46.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02713/1.712, allocations: 4.95 MB / 0.8533 GB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/1.73, allocations: 7.612 MB / 0.8607 GB, free: 44.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009922/1.731, allocations: 0.7128 MB / 0.8614 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004147/1.735, allocations: 0.9236 MB / 0.8623 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04404/1.779, allocations: 17.2 MB / 0.8791 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005965/1.78, allocations: 18.06 kB / 0.8792 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/1.784, allocations: 403.7 kB / 0.8795 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009734/1.785, allocations: 0.7052 MB / 0.8802 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03598/1.821, allocations: 15.81 MB / 0.8957 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1057/1.926, allocations: 55.34 MB / 0.9497 GB, free: 8.223 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02518/1.952, allocations: 19.32 MB / 0.9686 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3218/2.274, allocations: 7.921 MB / 0.9763 GB, free: 65.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06486/2.338, allocations: 24.89 MB / 1.001 GB, free: 63.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/2.339, allocations: 97.69 kB / 1.001 GB, free: 63.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=749): time 1.502e-05/2.339, allocations: 3.375 kB / 1.001 GB, free: 63.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=754): time 0.1369/2.476, allocations: 41.12 MB / 1.041 GB, free: 59.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/2.476, allocations: 123.6 kB / 1.041 GB, free: 59.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/2.481, allocations: 3.578 MB / 1.044 GB, free: 58.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001431/2.482, allocations: 125.9 kB / 1.045 GB, free: 58.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/2.484, allocations: 3.597 MB / 1.048 GB, free: 55.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004469/2.489, allocations: 2.481 MB / 1.051 GB, free: 53.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/2.489, allocations: 127.6 kB / 1.051 GB, free: 53.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006169/2.49, allocations: 0.6028 MB / 1.051 GB, free: 53.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007485/2.498, allocations: 5.093 MB / 1.056 GB, free: 50.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009801/2.507, allocations: 6.368 MB / 1.062 GB, free: 47.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/2.528, allocations: 12.03 MB / 1.074 GB, free: 41.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.553e-05/2.528, allocations: 12.36 kB / 1.074 GB, free: 41.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.0303/2.558, allocations: 14.63 MB / 1.089 GB, free: 35.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/2.558, allocations: 19.03 kB / 1.089 GB, free: 35.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.862e-05/2.558, allocations: 34.5 kB / 1.089 GB, free: 35.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007676/2.566, allocations: 4.039 MB / 1.092 GB, free: 32.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005486/2.572, allocations: 1.183 MB / 1.094 GB, free: 31.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/2.585, allocations: 12.57 MB / 1.106 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/2.591, allocations: 366.3 kB / 1.106 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.593, allocations: 277.4 kB / 1.107 GB, free: 19 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.009636/2.603, allocations: 3.868 MB / 1.11 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002334/2.605, allocations: 496.7 kB / 1.111 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03083/2.636, allocations: 14.32 MB / 1.125 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0331/2.669, allocations: 13.32 MB / 1.138 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-05/2.669, allocations: 8 kB / 1.138 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001189/2.669, allocations: 32.2 kB / 1.138 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3204/2.99, allocations: 28.93 MB / 1.166 GB, free: 75.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.134e-05/2.99, allocations: 4.844 kB / 1.166 GB, free: 75.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004416/2.994, allocations: 0.8812 MB / 1.167 GB, free: 75.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008827/3.003, allocations: 3.953 MB / 1.171 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00177/3.005, allocations: 161.1 kB / 1.171 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/3.02, allocations: 12.47 MB / 1.183 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/3.02, allocations: 5.219 kB / 1.183 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0397/3.06, allocations: 21.55 MB / 1.204 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005333/3.065, allocations: 1.738 MB / 1.206 GB, free: 70.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/3.068, allocations: 109.1 kB / 1.206 GB, free: 70.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004723/3.072, allocations: 301.6 kB / 1.206 GB, free: 70.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002501/3.075, allocations: 0.5474 MB / 1.207 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001712/3.077, allocations: 201.5 kB / 1.207 GB, free: 70.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005429/3.082, allocations: 2.448 MB / 1.209 GB, free: 70.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/3.082, allocations: 0 / 1.209 GB, free: 70.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01048/3.093, allocations: 1.832 MB / 1.211 GB, free: 70.13 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.003249/3.096, allocations: 0.8033 MB / 1.212 GB, free: 69.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02334/3.119, allocations: 12.45 MB / 1.224 GB, free: 64.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/3.119, allocations: 0 / 1.224 GB, free: 64.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01225/3.132, allocations: 6.475 MB / 1.23 GB, free: 62.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009457/3.141, allocations: 0.9857 MB / 1.231 GB, free: 61.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05268/3.194, allocations: 25.45 MB / 1.256 GB, free: 47.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00819/3.202, allocations: 6.666 MB / 1.263 GB, free: 42.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006451/3.209, allocations: 1.663 MB / 1.264 GB, free: 41.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/3.21, allocations: 357.1 kB / 1.265 GB, free: 40.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/3.21, allocations: 0 / 1.265 GB, free: 40.97 MB / 474.7 MB Notification: Performance of Templates: time 0.4369/3.647, allocations: 120.8 MB / 1.383 GB, free: 62.76 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches