Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008615/0.0008615, allocations: 100.1 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.94e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 51.47 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5643, allocations: 131.8 MB / 0.5147 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/0.5647, allocations: 110.6 kB / 0.5148 GB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334/1.899, allocations: 394.8 MB / 0.9003 GB, free: 15.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.899, allocations: 4 kB / 0.9003 GB, free: 15.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008346/1.9, allocations: 239.8 kB / 0.9005 GB, free: 15.37 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.03915/1.939, allocations: 10.2 MB / 0.9105 GB, free: 5.105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.939, allocations: 8.031 kB / 0.9105 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6061/2.545, allocations: 5.627 MB / 0.916 GB, free: 30.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/2.566, allocations: 8.915 MB / 0.9247 GB, free: 29.62 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/2.567, allocations: 339.5 kB / 0.925 GB, free: 29.62 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004103/2.571, allocations: 0.5947 MB / 0.9256 GB, free: 29.62 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03142/2.602, allocations: 14.3 MB / 0.9395 GB, free: 29.57 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04953/2.652, allocations: 16.15 MB / 0.9553 GB, free: 28.41 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005698/2.653, allocations: 10.44 kB / 0.9553 GB, free: 28.41 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/2.657, allocations: 9.859 kB / 0.9553 GB, free: 28.41 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/2.659, allocations: 0.8641 MB / 0.9562 GB, free: 28.38 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/2.771, allocations: 58.92 MB / 1.014 GB, free: 7.145 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03663/2.807, allocations: 37.99 MB / 1.051 GB, free: 5.668 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007849/2.815, allocations: 4.412 MB / 1.055 GB, free: 3.996 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/2.816, allocations: 270.4 kB / 1.055 GB, free: 3.793 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.992e-05/2.816, allocations: 95.55 kB / 1.055 GB, free: 3.711 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 1.21e-05/2.816, allocations: 0 / 1.055 GB, free: 3.711 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.05702/2.873, allocations: 20.46 MB / 1.075 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/2.873, allocations: 106.2 kB / 1.076 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006893/2.88, allocations: 3.162 MB / 1.079 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/2.881, allocations: 29.61 kB / 1.079 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003481/2.885, allocations: 4.511 MB / 1.083 GB, free: 8.309 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002942/2.888, allocations: 1.719 MB / 1.085 GB, free: 6.727 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/2.889, allocations: 0 / 1.085 GB, free: 6.727 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000823/2.89, allocations: 0.5963 MB / 1.085 GB, free: 6.211 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006255/2.896, allocations: 3.461 MB / 1.089 GB, free: 3.152 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008954/2.905, allocations: 5.851 MB / 1.094 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/2.923, allocations: 6.461 MB / 1.101 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/2.923, allocations: 20 kB / 1.101 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.38/3.303, allocations: 12.62 MB / 1.113 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/3.303, allocations: 40.97 kB / 1.113 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/3.304, allocations: 75.78 kB / 1.113 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/3.307, allocations: 1.451 MB / 1.115 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007217/3.314, allocations: 1.653 MB / 1.116 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/3.329, allocations: 10.64 MB / 1.127 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/3.335, allocations: 327.1 kB / 1.127 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/3.337, allocations: 339.2 kB / 1.127 GB, free: 81.65 MB / 0.5105 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 (838): * Single equations (assignments): 833 * 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%) 62} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001206/3.338, allocations: 325 kB / 1.128 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/3.339, allocations: 457.4 kB / 1.128 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/3.36, allocations: 9.93 MB / 1.138 GB, free: 81.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02195/3.382, allocations: 8.59 MB / 1.146 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-05/3.382, allocations: 12.47 kB / 1.146 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001577/3.382, allocations: 23.72 kB / 1.146 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05424/3.437, allocations: 20.33 MB / 1.166 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/3.437, allocations: 3 kB / 1.166 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004617/3.441, allocations: 0.9898 MB / 1.167 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003385/3.445, allocations: 1.188 MB / 1.168 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009144/3.446, allocations: 36.8 kB / 1.168 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/3.458, allocations: 8.835 MB / 1.177 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.458, allocations: 3.906 kB / 1.177 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/3.486, allocations: 14.14 MB / 1.191 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/3.49, allocations: 1.195 MB / 1.192 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/3.492, allocations: 3.75 kB / 1.192 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/3.496, allocations: 256.4 kB / 1.192 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/3.498, allocations: 351.3 kB / 1.192 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006866/3.498, allocations: 148.3 kB / 1.192 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004883/3.503, allocations: 2.307 MB / 1.195 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/3.503, allocations: 1.125 kB / 1.195 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008921/3.512, allocations: 1.735 MB / 1.196 GB, free: 76.36 MB / 0.5105 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,38.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/3.514, allocations: 487.4 kB / 1.197 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01545/3.529, allocations: 8.675 MB / 1.205 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/3.529, allocations: 3 kB / 1.205 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007921/3.537, allocations: 4.255 MB / 1.21 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007088/3.544, allocations: 0.7888 MB / 1.21 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/3.582, allocations: 16.8 MB / 1.227 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/3.592, allocations: 7.195 MB / 1.234 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00715/3.599, allocations: 2.323 MB / 1.236 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/3.6, allocations: 406.8 kB / 1.236 GB, free: 62 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/3.6, allocations: 0.9375 kB / 1.236 GB, free: 62 MB / 0.5105 GB Notification: Performance of Templates: time 0.474/4.074, allocations: 71.96 MB / 1.307 GB, free: 72.33 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches