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.001044/0.001044, allocations: 174.7 kB / 16.72 MB, free: 5.082 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.706/1.706, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007833/0.0007838, allocations: 86.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02256/0.3197, allocations: 23.68 MB / 398.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.3378, allocations: 7.377 MB / 406.2 MB, free: 17.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008261/0.3461, allocations: 155.5 kB / 406.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.354, allocations: 1.48 MB / 407.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.366, allocations: 2.822 MB / 410.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.3712, allocations: 1.261 MB / 411.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01965/0.3908, allocations: 14.89 MB / 426.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05023/0.4411, allocations: 23.58 MB / 450.4 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.012/0.4532, allocations: 4.809 MB / 455.2 MB, free: 384 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.4651, allocations: 5.39 MB / 460.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004057/0.4692, allocations: 0.7188 MB / 461.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007073/0.4763, allocations: 1.074 MB / 462.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00596/0.4823, allocations: 2.274 MB / 464.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01552/0.4978, allocations: 5.307 MB / 469.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03001/0.5279, allocations: 20.94 MB / 490.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5279, allocations: 0 / 490.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.528, allocations: 0 / 490.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0009059/0.5289, allocations: 0 / 490.9 MB, free: 12.55 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03937/0.5683, allocations: 12.28 MB / 0.4914 GB, free: 176 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.5684, allocations: 8.031 kB / 0.4914 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4176/0.986, allocations: 9.464 MB / 0.5006 GB, free: 90.38 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/1.003, allocations: 6.893 MB / 0.5073 GB, free: 85.81 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008693/1.004, allocations: 0.8218 MB / 0.5081 GB, free: 85.45 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004811/1.009, allocations: 1.085 MB / 0.5092 GB, free: 85.09 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/1.057, allocations: 18.68 MB / 0.5274 GB, free: 66.76 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005943/1.058, allocations: 19.89 kB / 0.5275 GB, free: 66.74 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003886/1.062, allocations: 458.9 kB / 0.5279 GB, free: 66.31 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006977/1.062, allocations: 0.6988 MB / 0.5286 GB, free: 65.61 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03963/1.102, allocations: 18.13 MB / 0.5463 GB, free: 47.47 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.203, allocations: 60.17 MB / 0.6051 GB, free: 2.223 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03837/1.242, allocations: 46.67 MB / 0.6506 GB, free: 14.58 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007915/1.25, allocations: 4.315 MB / 0.6548 GB, free: 10.24 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2599/1.51, allocations: 12.48 MB / 0.667 GB, free: 155 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/1.51, allocations: 73.66 kB / 0.6671 GB, free: 155 MB / 458.8 MB Notification: Performance of pre-optimization done (n=391): time 6.102e-06/1.51, allocations: 0 / 0.6671 GB, free: 155 MB / 458.8 MB Notification: Performance of matching and sorting (n=397): time 0.04668/1.556, allocations: 19.5 MB / 0.6861 GB, free: 148.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.557, allocations: 90.16 kB / 0.6862 GB, free: 148.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/1.563, allocations: 4.3 MB / 0.6904 GB, free: 147.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004617/1.563, allocations: 87.05 kB / 0.6905 GB, free: 147.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/1.566, allocations: 4.817 MB / 0.6952 GB, free: 143.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.567, allocations: 1.371 MB / 0.6966 GB, free: 142.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/1.567, allocations: 130.7 kB / 0.6967 GB, free: 142.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000308/1.568, allocations: 0.5627 MB / 0.6972 GB, free: 142 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004355/1.572, allocations: 3.137 MB / 0.7003 GB, free: 140.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/1.577, allocations: 5.76 MB / 0.7059 GB, free: 136.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009108/1.586, allocations: 9.49 MB / 0.7152 GB, free: 126.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.357e-05/1.586, allocations: 28 kB / 0.7152 GB, free: 126.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01502/1.601, allocations: 10.3 MB / 0.7253 GB, free: 116.6 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.602e-05/1.601, allocations: 47.98 kB / 0.7253 GB, free: 116.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.601, allocations: 84 kB / 0.7254 GB, free: 116.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/1.605, allocations: 1.397 MB / 0.7268 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/1.609, allocations: 1.466 MB / 0.7282 GB, free: 113.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.624, allocations: 10.56 MB / 0.7385 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/1.629, allocations: 403.3 kB / 0.7389 GB, free: 102.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.63, allocations: 324 kB / 0.7392 GB, free: 102.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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.008081/1.638, allocations: 4.18 MB / 0.7433 GB, free: 98.01 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.64, allocations: 450.4 kB / 0.7437 GB, free: 97.57 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.654, allocations: 7.398 MB / 0.7509 GB, free: 90.14 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009255/1.663, allocations: 6.074 MB / 0.7569 GB, free: 84.04 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.994e-05/1.663, allocations: 19.86 kB / 0.7569 GB, free: 84.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/1.663, allocations: 19.92 kB / 0.7569 GB, free: 84 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03308/1.697, allocations: 16.45 MB / 0.773 GB, free: 67.55 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.697, allocations: 0 / 0.773 GB, free: 67.55 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/1.7, allocations: 0.7294 MB / 0.7737 GB, free: 66.82 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.703, allocations: 1.246 MB / 0.7749 GB, free: 65.57 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008114/1.704, allocations: 79.98 kB / 0.775 GB, free: 65.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.717, allocations: 9.304 MB / 0.7841 GB, free: 56.06 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.717, allocations: 4 kB / 0.7841 GB, free: 56.05 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/1.735, allocations: 10.62 MB / 0.7944 GB, free: 45.37 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/1.739, allocations: 1.061 MB / 0.7955 GB, free: 44.29 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.74, allocations: 67.98 kB / 0.7956 GB, free: 44.22 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003439/1.744, allocations: 261.8 kB / 0.7958 GB, free: 43.96 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009541/1.745, allocations: 275.5 kB / 0.7961 GB, free: 43.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005172/1.745, allocations: 116 kB / 0.7962 GB, free: 43.58 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005657/1.751, allocations: 2.873 MB / 0.799 GB, free: 40.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.1e-07/1.751, allocations: 3.938 kB / 0.799 GB, free: 40.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009311/1.76, allocations: 1.839 MB / 0.8008 GB, free: 38.86 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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.00124/1.762, allocations: 273.3 kB / 0.801 GB, free: 38.6 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.776, allocations: 7.962 MB / 0.8088 GB, free: 30.62 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.776, allocations: 0 / 0.8088 GB, free: 30.62 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007108/1.783, allocations: 3.688 MB / 0.8124 GB, free: 26.93 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008362/1.791, allocations: 1.023 MB / 0.8134 GB, free: 25.92 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/2.05, allocations: 22.32 MB / 0.8352 GB, free: 144 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/2.061, allocations: 6.827 MB / 0.8419 GB, free: 143.1 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/2.063, allocations: 419.3 kB / 0.8423 GB, free: 143.1 MB / 458.8 MB Notification: Performance of SimCode: time 9.52e-07/2.063, allocations: 2.625 kB / 0.8423 GB, free: 143.1 MB / 458.8 MB Notification: Performance of Templates: time 0.4223/2.486, allocations: 178.2 MB / 1.016 GB, free: 151 MB / 474.8 MB 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/jenkins/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