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.001214/0.001214, allocations: 178.9 kB / 17.03 MB, free: 5.109 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.192/1.192, allocations: 223.3 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 100.2 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000237/0.000237, allocations: 19.94 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1991, allocations: 50.4 MB / 402.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01674/0.2159, allocations: 23.47 MB / 425.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.2286, allocations: 7.405 MB / 433.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.2333, allocations: 179.5 kB / 433.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004964/0.2383, allocations: 1.476 MB / 434.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009019/0.2474, allocations: 2.742 MB / 437.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.2517, allocations: 1.235 MB / 438.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01728/0.2689, allocations: 14.65 MB / 453.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0361/0.3051, allocations: 19.81 MB / 473.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007705/0.3128, allocations: 4.774 MB / 478 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008199/0.3211, allocations: 5.289 MB / 483.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.3235, allocations: 0.7188 MB / 484 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.3279, allocations: 1.07 MB / 485 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003078/0.331, allocations: 2.227 MB / 487.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.3349, allocations: 2.309 MB / 489.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.3538, allocations: 20.96 MB / 0.4986 GB, free: 3.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3539, allocations: 0 / 0.4986 GB, free: 3.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3539, allocations: 0 / 0.4986 GB, free: 3.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005384/0.3544, allocations: 0 / 0.4986 GB, free: 3.922 MB / 378.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.3627/0.7171, allocations: 12.25 MB / 0.5105 GB, free: 78.19 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7172, allocations: 7.875 kB / 0.5105 GB, free: 78.19 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04274/0.76, allocations: 8.47 MB / 0.5188 GB, free: 73.11 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/0.7759, allocations: 7.377 MB / 0.526 GB, free: 65.69 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00073/0.7767, allocations: 0.8101 MB / 0.5268 GB, free: 64.89 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003869/0.7806, allocations: 1.069 MB / 0.5279 GB, free: 63.84 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04342/0.824, allocations: 18.21 MB / 0.5456 GB, free: 45.61 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005325/0.8246, allocations: 23.67 kB / 0.5457 GB, free: 45.59 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003796/0.8284, allocations: 448.4 kB / 0.5461 GB, free: 45.16 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007021/0.8291, allocations: 0.6711 MB / 0.5467 GB, free: 44.49 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/0.8677, allocations: 17.46 MB / 0.5638 GB, free: 27.02 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1134/0.9811, allocations: 58.85 MB / 0.6213 GB, free: 15.12 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03843/1.02, allocations: 37.43 MB / 0.6578 GB, free: 5.762 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008406/1.028, allocations: 4.142 MB / 0.6619 GB, free: 1.594 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/1.029, allocations: 202 kB / 0.6621 GB, free: 1.391 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/1.029, allocations: 82.64 kB / 0.6621 GB, free: 1.297 MB / 458.8 MB Notification: Performance of pre-optimization done (n=524): time 1.068e-05/1.029, allocations: 0 / 0.6621 GB, free: 1.297 MB / 458.8 MB Notification: Performance of matching and sorting (n=530): time 0.2998/1.329, allocations: 23.86 MB / 0.6854 GB, free: 156.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.329, allocations: 105 kB / 0.6855 GB, free: 156 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/1.334, allocations: 4.138 MB / 0.6896 GB, free: 154.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007368/1.335, allocations: 114.4 kB / 0.6897 GB, free: 154.4 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.337, allocations: 4.499 MB / 0.6941 GB, free: 151 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.339, allocations: 1.792 MB / 0.6958 GB, free: 149.6 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/1.339, allocations: 143.3 kB / 0.696 GB, free: 149.5 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000341/1.34, allocations: 0.5976 MB / 0.6965 GB, free: 149.1 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/1.345, allocations: 3.457 MB / 0.6999 GB, free: 147.8 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/1.35, allocations: 5.903 MB / 0.7057 GB, free: 143.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006892/1.357, allocations: 4.786 MB / 0.7104 GB, free: 141.3 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.484e-05/1.357, allocations: 19.53 kB / 0.7104 GB, free: 141.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01705/1.374, allocations: 10.95 MB / 0.7211 GB, free: 136.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.374, allocations: 43.84 kB / 0.7211 GB, free: 136.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.374, allocations: 76 kB / 0.7212 GB, free: 136 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/1.378, allocations: 1.408 MB / 0.7226 GB, free: 134.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005985/1.384, allocations: 1.619 MB / 0.7241 GB, free: 133.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/1.399, allocations: 10.56 MB / 0.7345 GB, free: 123.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.405, allocations: 415.3 kB / 0.7349 GB, free: 123.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.406, allocations: 332 kB / 0.7352 GB, free: 123.2 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.008547/1.415, allocations: 4.161 MB / 0.7392 GB, free: 119 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.417, allocations: 478.1 kB / 0.7397 GB, free: 118.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/1.433, allocations: 8.537 MB / 0.748 GB, free: 109.9 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01177/1.445, allocations: 7.105 MB / 0.755 GB, free: 102.7 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.854e-05/1.445, allocations: 12 kB / 0.755 GB, free: 102.7 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/1.445, allocations: 27.89 kB / 0.755 GB, free: 102.7 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.474, allocations: 19.4 MB / 0.7739 GB, free: 83.03 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.474, allocations: 4 kB / 0.774 GB, free: 83.02 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/1.478, allocations: 0.9442 MB / 0.7749 GB, free: 82.08 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/1.48, allocations: 1.25 MB / 0.7761 GB, free: 80.82 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000382/1.481, allocations: 112 kB / 0.7762 GB, free: 80.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.492, allocations: 9.307 MB / 0.7853 GB, free: 71.29 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.492, allocations: 4 kB / 0.7853 GB, free: 71.28 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.507, allocations: 12.33 MB / 0.7973 GB, free: 58.75 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.509, allocations: 1.174 MB / 0.7985 GB, free: 57.55 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.511, allocations: 95.95 kB / 0.7986 GB, free: 57.45 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.514, allocations: 283.8 kB / 0.7988 GB, free: 57.18 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/1.514, allocations: 348.4 kB / 0.7992 GB, free: 56.83 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/1.515, allocations: 148 kB / 0.7993 GB, free: 56.69 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004882/1.519, allocations: 2.779 MB / 0.802 GB, free: 53.89 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.52, allocations: 4 kB / 0.802 GB, free: 53.89 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006331/1.526, allocations: 1.939 MB / 0.8039 GB, free: 51.96 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007956/1.527, allocations: 305.3 kB / 0.8042 GB, free: 51.66 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01315/1.54, allocations: 8.762 MB / 0.8128 GB, free: 42.82 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.54, allocations: 0 / 0.8128 GB, free: 42.82 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007089/1.547, allocations: 4.221 MB / 0.8169 GB, free: 38.59 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0069/1.554, allocations: 1.085 MB / 0.818 GB, free: 37.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03522/1.589, allocations: 22.76 MB / 0.8402 GB, free: 14.66 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005731/1.595, allocations: 6.799 MB / 0.8468 GB, free: 7.816 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/1.597, allocations: 463.3 kB / 0.8473 GB, free: 7.363 MB / 474.8 MB Notification: Performance of SimCode: time 1.834e-06/1.597, allocations: 0 / 0.8473 GB, free: 7.363 MB / 474.8 MB Notification: Performance of Templates: time 0.3665/1.964, allocations: 180.5 MB / 1.024 GB, free: 7.027 MB / 490.8 MB 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/jenkins1/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