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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 107.6 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 43.25 kB / 300.6 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 49.44 MB / 350.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.3043/0.4294, allocations: 26.48 MB / 376.6 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.4472, allocations: 7.98 MB / 384.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007972/0.4552, allocations: 192.3 kB / 384.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02081/0.4761, allocations: 8.859 MB / 393.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.4896, allocations: 3.05 MB / 396.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006006/0.4956, allocations: 1.694 MB / 398.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.5142, allocations: 12.23 MB / 410.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03351/0.5478, allocations: 20.22 MB / 430.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.5601, allocations: 5.593 MB / 436.4 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01345/0.5736, allocations: 6.863 MB / 443.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004796/0.5785, allocations: 1.219 MB / 444.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007932/0.5864, allocations: 1.581 MB / 446 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005031/0.5915, allocations: 2.964 MB / 449 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01478/0.6063, allocations: 6.262 MB / 455.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02777/0.6341, allocations: 21.57 MB / 476.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6341, allocations: 0 / 476.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6341, allocations: 0 / 476.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007187/0.6349, allocations: 0 / 476.8 MB, free: 7.523 MB / 382.1 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.05372/0.6886, allocations: 14.57 MB / 491.4 MB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.6887, allocations: 12.03 kB / 491.4 MB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.047/0.7357, allocations: 8.426 MB / 499.8 MB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/0.7551, allocations: 7.445 MB / 0.4954 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/0.7563, allocations: 0.8069 MB / 0.4962 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006179/0.7625, allocations: 1.062 MB / 0.4972 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05902/0.8215, allocations: 18.31 MB / 0.5151 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/0.822, allocations: 7.906 kB / 0.5151 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004259/0.8263, allocations: 452 kB / 0.5155 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007449/0.827, allocations: 0.6711 MB / 0.5162 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4797/1.307, allocations: 17.54 MB / 0.5333 GB, free: 111.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09702/1.404, allocations: 58.71 MB / 0.5906 GB, free: 66.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02417/1.428, allocations: 37.48 MB / 0.6273 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/1.434, allocations: 4.146 MB / 0.6313 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/1.434, allocations: 200.1 kB / 0.6315 GB, free: 20.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/1.435, allocations: 90.56 kB / 0.6316 GB, free: 20.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 6.813e-06/1.435, allocations: 0 / 0.6316 GB, free: 20.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.05356/1.488, allocations: 21.82 MB / 0.6529 GB, free: 14.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/1.488, allocations: 103.5 kB / 0.653 GB, free: 14.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008455/1.497, allocations: 4.171 MB / 0.6571 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008846/1.498, allocations: 105.7 kB / 0.6572 GB, free: 9.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003175/1.501, allocations: 4.504 MB / 0.6616 GB, free: 5.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002059/1.503, allocations: 1.795 MB / 0.6633 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002068/1.505, allocations: 1.359 MB / 0.6646 GB, free: 2.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/1.505, allocations: 301.1 kB / 0.6649 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005472/1.511, allocations: 3.477 MB / 0.6683 GB, free: 14.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007403/1.518, allocations: 5.922 MB / 0.6741 GB, free: 7.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/1.532, allocations: 10.08 MB / 0.6839 GB, free: 12.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-05/1.532, allocations: 24 kB / 0.684 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02103/1.553, allocations: 10.99 MB / 0.6947 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/1.553, allocations: 36 kB / 0.6947 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/1.553, allocations: 80 kB / 0.6948 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2784/1.832, allocations: 1.395 MB / 0.6962 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/1.839, allocations: 1.611 MB / 0.6977 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.859, allocations: 10.58 MB / 0.7081 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006906/1.866, allocations: 411.2 kB / 0.7085 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/1.868, allocations: 333.2 kB / 0.7088 GB, free: 144.5 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01222/1.88, allocations: 4.169 MB / 0.7129 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/1.882, allocations: 478.2 kB / 0.7133 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.898, allocations: 8.527 MB / 0.7216 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01336/1.912, allocations: 7.137 MB / 0.7286 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/1.912, allocations: 11.53 kB / 0.7286 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/1.912, allocations: 26.81 kB / 0.7286 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.951, allocations: 19.39 MB / 0.7476 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.951, allocations: 0 / 0.7476 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003928/1.955, allocations: 0.938 MB / 0.7485 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003885/1.958, allocations: 1.254 MB / 0.7497 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.96, allocations: 111.6 kB / 0.7498 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.973, allocations: 9.324 MB / 0.7589 GB, free: 116.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.973, allocations: 7.938 kB / 0.7589 GB, free: 116.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.994, allocations: 12.36 MB / 0.771 GB, free: 103.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/1.998, allocations: 1.155 MB / 0.7721 GB, free: 102.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2, allocations: 99.98 kB / 0.7722 GB, free: 102.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/2.004, allocations: 271.8 kB / 0.7725 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.005, allocations: 352.4 kB / 0.7728 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007432/2.006, allocations: 152 kB / 0.773 GB, free: 101.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005455/2.012, allocations: 2.811 MB / 0.7757 GB, free: 98.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/2.012, allocations: 4 kB / 0.7757 GB, free: 98.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008947/2.021, allocations: 1.93 MB / 0.7776 GB, free: 96.97 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/2.022, allocations: 314.5 kB / 0.7779 GB, free: 96.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01536/2.037, allocations: 8.785 MB / 0.7865 GB, free: 87.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.037, allocations: 0 / 0.7865 GB, free: 87.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007675/2.045, allocations: 4.223 MB / 0.7906 GB, free: 83.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007903/2.053, allocations: 1.065 MB / 0.7916 GB, free: 82.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/2.095, allocations: 23.7 MB / 0.8148 GB, free: 58.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.106, allocations: 6.803 MB / 0.8214 GB, free: 51.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/2.108, allocations: 459.3 kB / 0.8219 GB, free: 51.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.153e-06/2.108, allocations: 0 / 0.8219 GB, free: 51.43 MB / 478.1 MB Notification: Performance of Templates: time 0.4704/2.578, allocations: 181.6 MB / 0.9992 GB, free: 36.36 MB / 478.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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