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.001017/0.001017, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.585/1.585, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.001021/0.001021, allocations: 101.1 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002865, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2611, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.4088, allocations: 126.3 MB / 0.4903 GB, free: 2.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.4091, allocations: 107.9 kB / 0.4904 GB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378/1.787, allocations: 338.3 MB / 0.8208 GB, free: 47.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.787, allocations: 0 / 0.8208 GB, free: 47.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006041/1.787, allocations: 213.8 kB / 0.821 GB, free: 47.38 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.03444/1.822, allocations: 9.484 MB / 0.8303 GB, free: 44.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.822, allocations: 11.53 kB / 0.8303 GB, free: 44.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/1.851, allocations: 4.892 MB / 0.8351 GB, free: 43.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02375/1.875, allocations: 7.887 MB / 0.8428 GB, free: 43.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/1.876, allocations: 0.6955 MB / 0.8435 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/1.881, allocations: 0.8992 MB / 0.8444 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04355/1.924, allocations: 16.7 MB / 0.8607 GB, free: 41.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/1.924, allocations: 18.03 kB / 0.8607 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00363/1.928, allocations: 392.1 kB / 0.8611 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007994/1.929, allocations: 0.6896 MB / 0.8617 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/1.961, allocations: 15.44 MB / 0.8768 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09527/2.056, allocations: 53.88 MB / 0.9294 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/2.077, allocations: 18.85 MB / 0.9478 GB, free: 80 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04846/2.125, allocations: 22.8 MB / 0.9701 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/2.125, allocations: 86.97 kB / 0.9702 GB, free: 13.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=686): time 8.406e-06/2.125, allocations: 3.938 kB / 0.9702 GB, free: 13.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=692): time 0.3875/2.513, allocations: 39.99 MB / 1.009 GB, free: 69.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/2.513, allocations: 113.5 kB / 1.009 GB, free: 69.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/2.517, allocations: 2.464 MB / 1.012 GB, free: 69.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001524/2.519, allocations: 112.3 kB / 1.012 GB, free: 69.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002377/2.521, allocations: 3.421 MB / 1.015 GB, free: 67.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003687/2.525, allocations: 2.275 MB / 1.017 GB, free: 66.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005093/2.525, allocations: 120.3 kB / 1.018 GB, free: 66.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006266/2.526, allocations: 0.588 MB / 1.018 GB, free: 65.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008837/2.535, allocations: 4.73 MB / 1.023 GB, free: 65.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/2.545, allocations: 6.061 MB / 1.029 GB, free: 64.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/2.556, allocations: 5.713 MB / 1.034 GB, free: 64.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/2.556, allocations: 13.47 kB / 1.034 GB, free: 64.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.031/2.587, allocations: 13.65 MB / 1.048 GB, free: 64.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/2.587, allocations: 18.16 kB / 1.048 GB, free: 64.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/2.587, allocations: 36.06 kB / 1.048 GB, free: 64.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008355/2.596, allocations: 3.88 MB / 1.051 GB, free: 63.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/2.601, allocations: 1.132 MB / 1.053 GB, free: 63.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/2.615, allocations: 10.69 MB / 1.063 GB, free: 57.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006454/2.622, allocations: 346.5 kB / 1.063 GB, free: 57.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/2.624, allocations: 278.8 kB / 1.064 GB, free: 57.73 MB / 474.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 (603): * Single equations (assignments): 535 * 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.01204/2.636, allocations: 3.696 MB / 1.067 GB, free: 55.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003495/2.639, allocations: 430.4 kB / 1.068 GB, free: 55.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03145/2.671, allocations: 13.25 MB / 1.081 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02488/2.696, allocations: 11.9 MB / 1.092 GB, free: 44.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/2.696, allocations: 0 / 1.092 GB, free: 44.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001621/2.696, allocations: 28.59 kB / 1.092 GB, free: 44.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05844/2.755, allocations: 26.43 MB / 1.118 GB, free: 28.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/2.755, allocations: 0 / 1.118 GB, free: 28.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004248/2.759, allocations: 0.8074 MB / 1.119 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007376/2.766, allocations: 3.783 MB / 1.122 GB, free: 25.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001847/2.768, allocations: 144.6 kB / 1.123 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/2.778, allocations: 10.58 MB / 1.133 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.778, allocations: 0 / 1.133 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04687/2.825, allocations: 20.85 MB / 1.153 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006061/2.831, allocations: 1.532 MB / 1.155 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00286/2.834, allocations: 99.28 kB / 1.155 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004946/2.839, allocations: 292.8 kB / 1.155 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002287/2.842, allocations: 0.5027 MB / 1.156 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001522/2.843, allocations: 182.8 kB / 1.156 GB, free: 13.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004317/2.847, allocations: 1.862 MB / 1.158 GB, free: 12.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.847, allocations: 4 kB / 1.158 GB, free: 12.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01043/2.858, allocations: 1.683 MB / 1.159 GB, free: 10.47 MB / 490.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 (438): * Single equations (assignments): 370 * 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.002552/2.86, allocations: 491.9 kB / 1.16 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.294/3.154, allocations: 11.96 MB / 1.171 GB, free: 90.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/3.154, allocations: 0 / 1.171 GB, free: 90.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01049/3.165, allocations: 5.959 MB / 1.177 GB, free: 90.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/3.17, allocations: 0.8403 MB / 1.178 GB, free: 90.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/3.208, allocations: 24.12 MB / 1.202 GB, free: 82.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007214/3.215, allocations: 6.522 MB / 1.208 GB, free: 81.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005978/3.221, allocations: 1.508 MB / 1.209 GB, free: 81.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/3.222, allocations: 311.8 kB / 1.21 GB, free: 81.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/3.222, allocations: 4 kB / 1.21 GB, free: 81.63 MB / 490.7 MB Notification: Performance of Templates: time 0.1546/3.377, allocations: 110.9 MB / 1.318 GB, free: 33.97 MB / 490.7 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