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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002684/0.002684, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.315e-05, allocations: 2.312 kB / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1676/0.1676, allocations: 23.19 MB / 290.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.1827, allocations: 7.795 MB / 298.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005469/0.1882, allocations: 237.8 kB / 298.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02006/0.2083, allocations: 9.224 MB / 307.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.2203, allocations: 3.438 MB / 311.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005353/0.2257, allocations: 1.798 MB / 313 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01507/0.2408, allocations: 12.65 MB / 325.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03135/0.2721, allocations: 15.89 MB / 341.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02112/0.2932, allocations: 9.719 MB / 351.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/0.3075, allocations: 6.272 MB / 357.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006979/0.3144, allocations: 1.836 MB / 359.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008613/0.3231, allocations: 2.202 MB / 361.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006693/0.3298, allocations: 3.682 MB / 365.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01333/0.3431, allocations: 4.616 MB / 369.9 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04009/0.3832, allocations: 25.1 MB / 395 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3832, allocations: 0 / 395 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3832, allocations: 4 kB / 395 MB, free: 10.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006505/0.3838, allocations: 0 / 395 MB, free: 10.1 MB / 346.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.04916/0.433, allocations: 14.53 MB / 409.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.433, allocations: 12.92 kB / 409.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05335/0.4864, allocations: 10.45 MB / 420 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/0.5081, allocations: 8.129 MB / 428.1 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/0.5093, allocations: 0.8028 MB / 428.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004834/0.5141, allocations: 1.062 MB / 430 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3313/0.8454, allocations: 18.5 MB / 448.5 MB, free: 103.2 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000461/0.8459, allocations: 18.09 kB / 448.5 MB, free: 103.2 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004343/0.8502, allocations: 449.7 kB / 449 MB, free: 102.8 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008792/0.8511, allocations: 0.6708 MB / 449.6 MB, free: 102.8 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/0.8884, allocations: 17.43 MB / 467.1 MB, free: 95.53 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08285/0.9713, allocations: 51.58 MB / 0.5065 GB, free: 44.7 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01897/0.9903, allocations: 12.68 MB / 0.5189 GB, free: 34.04 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005016/0.9953, allocations: 3.728 MB / 0.5225 GB, free: 30.3 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/0.9957, allocations: 132 kB / 0.5226 GB, free: 30.16 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.9957, allocations: 90.56 kB / 0.5227 GB, free: 30.06 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 8.867e-06/0.9957, allocations: 3.219 kB / 0.5227 GB, free: 30.06 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.04084/1.037, allocations: 21.36 MB / 0.5436 GB, free: 8.941 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/1.037, allocations: 111.5 kB / 0.5437 GB, free: 8.816 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/1.042, allocations: 3.986 MB / 0.5476 GB, free: 4.949 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008808/1.042, allocations: 109.7 kB / 0.5477 GB, free: 4.836 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/1.044, allocations: 4.667 MB / 0.5523 GB, free: 348 kB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002444/1.047, allocations: 1.834 MB / 0.554 GB, free: 14.53 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/1.049, allocations: 1.347 MB / 0.5554 GB, free: 13.17 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001677/1.049, allocations: 305.1 kB / 0.5556 GB, free: 12.87 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006191/1.055, allocations: 3.43 MB / 0.559 GB, free: 9.438 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009083/1.065, allocations: 5.887 MB / 0.5647 GB, free: 2.449 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/1.082, allocations: 9.988 MB / 0.5745 GB, free: 7.293 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.655e-05/1.082, allocations: 27.94 kB / 0.5745 GB, free: 7.266 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.1752/1.257, allocations: 11.18 MB / 0.5854 GB, free: 120.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.782e-05/1.257, allocations: 38.22 kB / 0.5855 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/1.257, allocations: 80.94 kB / 0.5856 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.262, allocations: 1.624 MB / 0.5871 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.269, allocations: 1.614 MB / 0.5887 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.283, allocations: 11 MB / 0.5995 GB, free: 115.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/1.289, allocations: 408.2 kB / 0.5998 GB, free: 115.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.29, allocations: 333 kB / 0.6002 GB, free: 115.2 MB / 410.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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.007199/1.298, allocations: 4.165 MB / 0.6042 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/1.299, allocations: 0.6309 MB / 0.6049 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.313, allocations: 8.377 MB / 0.613 GB, free: 109.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009869/1.323, allocations: 6.997 MB / 0.6199 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.323, allocations: 18 kB / 0.6199 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.451e-05/1.323, allocations: 31.69 kB / 0.6199 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.348, allocations: 16.11 MB / 0.6356 GB, free: 96.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.348, allocations: 288 / 0.6356 GB, free: 96.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/1.352, allocations: 0.9445 MB / 0.6366 GB, free: 95.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/1.356, allocations: 1.462 MB / 0.638 GB, free: 94.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/1.356, allocations: 108 kB / 0.6381 GB, free: 94.04 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.368, allocations: 9.728 MB / 0.6476 GB, free: 84.35 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.368, allocations: 7.875 kB / 0.6476 GB, free: 84.34 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.384, allocations: 12.34 MB / 0.6597 GB, free: 72.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/1.387, allocations: 1.102 MB / 0.6607 GB, free: 71.09 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008142/1.388, allocations: 95.94 kB / 0.6608 GB, free: 71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.39, allocations: 267.7 kB / 0.6611 GB, free: 70.74 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007759/1.391, allocations: 367.4 kB / 0.6614 GB, free: 70.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.391, allocations: 156 kB / 0.6616 GB, free: 70.23 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003346/1.395, allocations: 2.575 MB / 0.6641 GB, free: 67.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/1.395, allocations: 0 / 0.6641 GB, free: 67.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006746/1.402, allocations: 1.916 MB / 0.666 GB, free: 65.76 MB / 410.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007715/1.402, allocations: 308.3 kB / 0.6663 GB, free: 65.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01304/1.415, allocations: 8.353 MB / 0.6744 GB, free: 57.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.415, allocations: 4.062 kB / 0.6744 GB, free: 57.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006539/1.422, allocations: 3.886 MB / 0.6782 GB, free: 53.15 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/1.427, allocations: 1.029 MB / 0.6792 GB, free: 52.17 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04575/1.473, allocations: 19.76 MB / 0.6985 GB, free: 32.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.019/1.492, allocations: 6.581 MB / 0.7049 GB, free: 25.61 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0127/1.504, allocations: 2.28 MB / 0.7072 GB, free: 23.32 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00312/1.508, allocations: 404.4 kB / 0.7076 GB, free: 22.92 MB / 410.8 MB Notification: Performance of SimCode: time 1.723e-06/1.508, allocations: 4 kB / 0.7076 GB, free: 22.92 MB / 410.8 MB Notification: Performance of Templates: time 0.2745/1.782, allocations: 70.83 MB / 0.7767 GB, free: 116.9 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.414582893950865]