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.001625/0.001625, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008709/0.0008709, allocations: 99.59 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.523e-05, allocations: 0 / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5496, allocations: 131 MB / 0.5063 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5499, allocations: 107.9 kB / 0.5064 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.732/2.282, allocations: 375.1 MB / 0.8727 GB, free: 28.39 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.903e-06/2.282, allocations: 0 / 0.8727 GB, free: 28.39 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0008198/2.283, allocations: 236.8 kB / 0.8729 GB, free: 28.39 MB / 442.8 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.04078/2.324, allocations: 10.16 MB / 0.8828 GB, free: 26.91 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.324, allocations: 15.83 kB / 0.8828 GB, free: 26.9 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03441/2.358, allocations: 5.629 MB / 0.8883 GB, free: 26.34 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02589/2.384, allocations: 8.926 MB / 0.897 GB, free: 25.34 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/2.385, allocations: 340.7 kB / 0.8974 GB, free: 25.34 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005233/2.39, allocations: 0.5988 MB / 0.898 GB, free: 25.34 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03593/2.426, allocations: 14.3 MB / 0.9119 GB, free: 25.29 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04835/2.475, allocations: 16.15 MB / 0.9277 GB, free: 24.1 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007825/2.475, allocations: 15.91 kB / 0.9277 GB, free: 24.1 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004473/2.48, allocations: 10.38 kB / 0.9277 GB, free: 24.1 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/2.481, allocations: 0.8577 MB / 0.9285 GB, free: 24.07 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/2.583, allocations: 57.77 MB / 0.985 GB, free: 2.461 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/2.618, allocations: 38.07 MB / 1.022 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/2.628, allocations: 4.607 MB / 1.027 GB, free: 14.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/2.629, allocations: 192.9 kB / 1.027 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/2.629, allocations: 90.64 kB / 1.027 GB, free: 14.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 7.534e-06/2.629, allocations: 0 / 1.027 GB, free: 14.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.3468/2.976, allocations: 18.85 MB / 1.045 GB, free: 72.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/2.976, allocations: 108 kB / 1.045 GB, free: 72.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/2.983, allocations: 3.164 MB / 1.049 GB, free: 72.21 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001124/2.984, allocations: 25.7 kB / 1.049 GB, free: 72.18 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002658/2.986, allocations: 4.503 MB / 1.053 GB, free: 70.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002099/2.988, allocations: 1.724 MB / 1.055 GB, free: 69.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/2.989, allocations: 2.562 kB / 1.055 GB, free: 69.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004089/2.989, allocations: 0.6003 MB / 1.055 GB, free: 69.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005192/2.995, allocations: 3.452 MB / 1.059 GB, free: 69.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007592/3.002, allocations: 5.835 MB / 1.064 GB, free: 66.65 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/3.014, allocations: 5.882 MB / 1.07 GB, free: 66.56 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003096/3.015, allocations: 21.09 kB / 1.07 GB, free: 66.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.0259/3.041, allocations: 11.57 MB / 1.081 GB, free: 66.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/3.041, allocations: 37.78 kB / 1.081 GB, free: 66.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/3.041, allocations: 79.94 kB / 1.081 GB, free: 66.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003713/3.045, allocations: 1.443 MB / 1.083 GB, free: 66.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007007/3.052, allocations: 1.658 MB / 1.084 GB, free: 66.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/3.066, allocations: 10.64 MB / 1.095 GB, free: 64.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006281/3.072, allocations: 331.9 kB / 1.095 GB, free: 64.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/3.074, allocations: 334.3 kB / 1.096 GB, free: 64.52 MB / 490.8 MB 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.001383/3.075, allocations: 325 kB / 1.096 GB, free: 64.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/3.076, allocations: 452.7 kB / 1.096 GB, free: 64.13 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/3.093, allocations: 9.417 MB / 1.105 GB, free: 63.74 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01389/3.107, allocations: 8.081 MB / 1.113 GB, free: 63.47 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/3.107, allocations: 13.31 kB / 1.113 GB, free: 63.47 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/3.107, allocations: 29.89 kB / 1.113 GB, free: 63.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03567/3.142, allocations: 19.81 MB / 1.133 GB, free: 61.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/3.142, allocations: 3.719 kB / 1.133 GB, free: 61.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004346/3.147, allocations: 0.9851 MB / 1.134 GB, free: 61.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/3.15, allocations: 1.186 MB / 1.135 GB, free: 61.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008361/3.151, allocations: 45.34 kB / 1.135 GB, free: 61.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/3.162, allocations: 8.835 MB / 1.144 GB, free: 56.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/3.162, allocations: 2.625 kB / 1.144 GB, free: 56.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/3.183, allocations: 13.64 MB / 1.157 GB, free: 51.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/3.187, allocations: 1.189 MB / 1.158 GB, free: 50.58 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/3.188, allocations: 5.734 kB / 1.158 GB, free: 50.58 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/3.192, allocations: 258.8 kB / 1.158 GB, free: 50.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/3.192, allocations: 351.6 kB / 1.159 GB, free: 50.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004026/3.193, allocations: 148.5 kB / 1.159 GB, free: 50.48 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003241/3.196, allocations: 2.304 MB / 1.161 GB, free: 49.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.31e-07/3.196, allocations: 0 / 1.161 GB, free: 49.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008323/3.204, allocations: 1.734 MB / 1.163 GB, free: 48.3 MB / 490.8 MB 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.001238/3.206, allocations: 478.9 kB / 1.163 GB, free: 47.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01329/3.219, allocations: 8.673 MB / 1.172 GB, free: 40.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/3.219, allocations: 0 / 1.172 GB, free: 40.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006509/3.226, allocations: 4.263 MB / 1.176 GB, free: 36.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/3.231, allocations: 0.7806 MB / 1.177 GB, free: 36.01 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/3.268, allocations: 16.65 MB / 1.193 GB, free: 21.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/3.278, allocations: 7.192 MB / 1.2 GB, free: 15.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007117/3.285, allocations: 2.337 MB / 1.202 GB, free: 14.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/3.287, allocations: 412 kB / 1.202 GB, free: 13.86 MB / 490.8 MB Notification: Performance of SimCode: time 9.32e-07/3.287, allocations: 0 / 1.202 GB, free: 13.86 MB / 490.8 MB Notification: Performance of Templates: time 0.4406/3.728, allocations: 71.89 MB / 1.273 GB, free: 58.55 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/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