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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.527/1.527, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0008454/0.0008453, allocations: 83.39 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 8 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.6432, allocations: 131.3 MB / 0.4951 GB, free: 109.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.6436, allocations: 107.1 kB / 0.4952 GB, free: 109.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289/1.933, allocations: 376.5 MB / 0.8629 GB, free: 46.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.933, allocations: 0 / 0.8629 GB, free: 46.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001221/1.934, allocations: 241 kB / 0.8631 GB, free: 46.16 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04552/1.98, allocations: 10.66 MB / 0.8735 GB, free: 42.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.98, allocations: 11.31 kB / 0.8736 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0367/2.017, allocations: 6.316 MB / 0.8797 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02599/2.043, allocations: 8.2 MB / 0.8877 GB, free: 41.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00156/2.044, allocations: 0.7961 MB / 0.8885 GB, free: 40.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007086/2.051, allocations: 1.03 MB / 0.8895 GB, free: 40.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06618/2.118, allocations: 19.32 MB / 0.9084 GB, free: 39.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000715/2.118, allocations: 11.45 kB / 0.9084 GB, free: 39.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005997/2.124, allocations: 455.4 kB / 0.9088 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/2.126, allocations: 0.8228 MB / 0.9096 GB, free: 38.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04915/2.175, allocations: 18.11 MB / 0.9273 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5477/2.723, allocations: 61.36 MB / 0.9872 GB, free: 48.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/2.752, allocations: 25.08 MB / 1.012 GB, free: 35.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02248/2.774, allocations: 8.419 MB / 1.02 GB, free: 35.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06739/2.842, allocations: 26.52 MB / 1.046 GB, free: 34.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/2.842, allocations: 102 kB / 1.046 GB, free: 34.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=832): time 2.18e-05/2.842, allocations: 0 / 1.046 GB, free: 34.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=838): time 0.1291/2.971, allocations: 44.32 MB / 1.089 GB, free: 26.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/2.971, allocations: 123 kB / 1.089 GB, free: 26.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008701/2.98, allocations: 3.045 MB / 1.092 GB, free: 25.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002275/2.982, allocations: 136.9 kB / 1.092 GB, free: 24.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00296/2.985, allocations: 3.858 MB / 1.096 GB, free: 22.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004864/2.99, allocations: 2.755 MB / 1.099 GB, free: 19.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/2.992, allocations: 142.1 kB / 1.099 GB, free: 19.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001228/2.994, allocations: 0.6432 MB / 1.1 GB, free: 19.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/3.005, allocations: 5.574 MB / 1.105 GB, free: 17.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/3.019, allocations: 7.085 MB / 1.112 GB, free: 12.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02594/3.045, allocations: 13.39 MB / 1.125 GB, free: 15.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.472e-05/3.046, allocations: 12 kB / 1.125 GB, free: 15.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.046/3.092, allocations: 16.29 MB / 1.141 GB, free: 1.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/3.092, allocations: 24 kB / 1.141 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/3.092, allocations: 36 kB / 1.141 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/3.105, allocations: 5.076 MB / 1.146 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/3.112, allocations: 1.339 MB / 1.147 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/3.132, allocations: 12.38 MB / 1.159 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007616/3.139, allocations: 424.6 kB / 1.16 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003037/3.142, allocations: 321 kB / 1.16 GB, free: 0.8867 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.408/3.55, allocations: 4.942 MB / 1.165 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002841/3.553, allocations: 0.4905 MB / 1.165 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03675/3.59, allocations: 16.07 MB / 1.181 GB, free: 87.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03707/3.627, allocations: 14.3 MB / 1.195 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-05/3.627, allocations: 7.688 kB / 1.195 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002316/3.627, allocations: 33.94 kB / 1.195 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07909/3.706, allocations: 30.83 MB / 1.225 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/3.707, allocations: 0 / 1.225 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005467/3.712, allocations: 1.019 MB / 1.226 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/3.724, allocations: 4.834 MB / 1.231 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002876/3.727, allocations: 180.4 kB / 1.231 GB, free: 81.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/3.743, allocations: 12.19 MB / 1.243 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/3.743, allocations: 4.984 kB / 1.243 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05291/3.796, allocations: 23.79 MB / 1.266 GB, free: 64.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006636/3.803, allocations: 1.816 MB / 1.268 GB, free: 63.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003701/3.806, allocations: 114.7 kB / 1.268 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006188/3.813, allocations: 369.2 kB / 1.269 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003179/3.816, allocations: 0.5938 MB / 1.269 GB, free: 63.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002227/3.818, allocations: 226.9 kB / 1.269 GB, free: 62.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005076/3.823, allocations: 2.046 MB / 1.271 GB, free: 62.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.823, allocations: 1.312 kB / 1.271 GB, free: 62.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01271/3.836, allocations: 1.988 MB / 1.273 GB, free: 61.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/3.839, allocations: 0.5662 MB / 1.274 GB, free: 61.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02935/3.869, allocations: 13.61 MB / 1.287 GB, free: 50.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/3.869, allocations: 0 / 1.287 GB, free: 50.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01657/3.885, allocations: 7.081 MB / 1.294 GB, free: 44.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01273/3.898, allocations: 1.07 MB / 1.295 GB, free: 44.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06432/3.962, allocations: 27.14 MB / 1.322 GB, free: 19.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/3.973, allocations: 6.998 MB / 1.328 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/3.976, allocations: 430 kB / 1.329 GB, free: 13.59 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/3.976, allocations: 0.9844 kB / 1.329 GB, free: 13.59 MB / 490.7 MB Notification: Performance of Templates: time 2.314/6.289, allocations: 0.6306 GB / 1.959 GB, free: 94.28 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches