Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 88.92 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.249e-05, allocations: 0 / 343.9 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 50.41 MB / 394.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4638, allocations: 131.6 MB / 0.5136 GB, free: 3.828 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4641, allocations: 111.8 kB / 0.5137 GB, free: 3.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365/1.829, allocations: 379.2 MB / 0.884 GB, free: 34.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.073e-06/1.829, allocations: 0 / 0.884 GB, free: 34.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006462/1.83, allocations: 237 kB / 0.8842 GB, free: 34.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0353/1.865, allocations: 10.17 MB / 0.8942 GB, free: 32.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.865, allocations: 9.656 kB / 0.8942 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03401/1.899, allocations: 5.637 MB / 0.8997 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/1.923, allocations: 8.933 MB / 0.9084 GB, free: 30.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009272/1.924, allocations: 0.7778 MB / 0.9092 GB, free: 30.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004252/1.928, allocations: 1.01 MB / 0.9101 GB, free: 30.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04526/1.973, allocations: 17.83 MB / 0.9276 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005699/1.974, allocations: 18.42 kB / 0.9276 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004006/1.978, allocations: 449.2 kB / 0.928 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009272/1.979, allocations: 0.8659 MB / 0.9288 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/2.011, allocations: 16.04 MB / 0.9445 GB, free: 29.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09302/2.104, allocations: 58.45 MB / 1.002 GB, free: 3.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03231/2.136, allocations: 37.2 MB / 1.038 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00789/2.144, allocations: 4.13 MB / 1.042 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/2.145, allocations: 181.7 kB / 1.042 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/2.145, allocations: 91.58 kB / 1.042 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=524): time 9.858e-06/2.145, allocations: 4 kB / 1.042 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=530): time 0.0338/2.179, allocations: 15.55 MB / 1.057 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/2.179, allocations: 106.6 kB / 1.058 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2808/2.46, allocations: 3.785 MB / 1.061 GB, free: 80.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.461, allocations: 110.2 kB / 1.061 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/2.464, allocations: 4.51 MB / 1.066 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002233/2.467, allocations: 1.793 MB / 1.067 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005495/2.467, allocations: 145.2 kB / 1.068 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003956/2.468, allocations: 0.5965 MB / 1.068 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005059/2.473, allocations: 3.363 MB / 1.071 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/2.48, allocations: 5.792 MB / 1.077 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00825/2.489, allocations: 4.716 MB / 1.082 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/2.489, allocations: 26.67 kB / 1.082 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01996/2.509, allocations: 10.78 MB / 1.092 GB, free: 74.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.509, allocations: 39.53 kB / 1.092 GB, free: 74.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/2.509, allocations: 76.34 kB / 1.092 GB, free: 74.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/2.512, allocations: 1.395 MB / 1.094 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/2.519, allocations: 1.606 MB / 1.095 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/2.533, allocations: 10.52 MB / 1.106 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/2.539, allocations: 429.9 kB / 1.106 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/2.54, allocations: 330.6 kB / 1.106 GB, free: 72.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001305/2.541, allocations: 0.5392 MB / 1.107 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/2.542, allocations: 477.1 kB / 1.107 GB, free: 72.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/2.556, allocations: 8.376 MB / 1.115 GB, free: 72.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009958/2.566, allocations: 6.943 MB / 1.122 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/2.566, allocations: 10.94 kB / 1.122 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/2.566, allocations: 29.11 kB / 1.122 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/2.599, allocations: 19.66 MB / 1.141 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/2.599, allocations: 2.594 kB / 1.141 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003917/2.603, allocations: 0.93 MB / 1.142 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/2.606, allocations: 1.223 MB / 1.144 GB, free: 69.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006044/2.606, allocations: 109.9 kB / 1.144 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/2.618, allocations: 9.124 MB / 1.153 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.618, allocations: 3.375 kB / 1.153 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/2.634, allocations: 12.22 MB / 1.165 GB, free: 59.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00299/2.637, allocations: 1.154 MB / 1.166 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008592/2.638, allocations: 92.59 kB / 1.166 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/2.641, allocations: 288.5 kB / 1.166 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007055/2.641, allocations: 346.8 kB / 1.166 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/2.642, allocations: 148.8 kB / 1.167 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004056/2.646, allocations: 2.655 MB / 1.169 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/2.646, allocations: 0 / 1.169 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01044/2.656, allocations: 1.972 MB / 1.171 GB, free: 57.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/2.658, allocations: 0.6702 MB / 1.172 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01379/2.672, allocations: 8.573 MB / 1.18 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/2.672, allocations: 2.078 kB / 1.18 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006434/2.679, allocations: 4.098 MB / 1.184 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/2.683, allocations: 1 MB / 1.185 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/2.712, allocations: 16.6 MB / 1.201 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008569/2.72, allocations: 7.193 MB / 1.208 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006733/2.727, allocations: 2.332 MB / 1.211 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/2.728, allocations: 417 kB / 1.211 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/2.728, allocations: 0 / 1.211 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.4097/3.138, allocations: 80.37 MB / 1.289 GB, free: 64.37 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches