Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 379.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02059/0.268, allocations: 16.71 MB / 449.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2781, allocations: 4.727 MB / 453.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.2817, allocations: 163.2 kB / 454 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01672/0.2984, allocations: 7.248 MB / 461.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.3057, allocations: 2.038 MB / 463.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.3109, allocations: 1.587 MB / 464.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.3248, allocations: 9.614 MB / 474.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02592/0.3508, allocations: 13.59 MB / 488.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009296/0.3601, allocations: 5.393 MB / 493.5 MB, free: 9.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.3704, allocations: 5.989 MB / 499.5 MB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00382/0.3742, allocations: 1.359 MB / 0.4891 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.3796, allocations: 1.668 MB / 0.4907 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004863/0.3844, allocations: 2.79 MB / 0.4934 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.3946, allocations: 5.366 MB / 0.4987 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02576/0.4203, allocations: 18.41 MB / 0.5167 GB, free: 5.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4203, allocations: 3.938 kB / 0.5167 GB, free: 5.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4204, allocations: 8 kB / 0.5167 GB, free: 5.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004751/0.4208, allocations: 0 / 0.5167 GB, free: 5.855 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03607/0.4569, allocations: 12.25 MB / 0.5286 GB, free: 9.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4569, allocations: 16.03 kB / 0.5286 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03436/0.4913, allocations: 6.195 MB / 0.5347 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3756/0.8669, allocations: 5.917 MB / 0.5405 GB, free: 86.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.8674, allocations: 0.6719 MB / 0.5411 GB, free: 86.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/0.8702, allocations: 0.8729 MB / 0.542 GB, free: 85.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.8942, allocations: 14.74 MB / 0.5564 GB, free: 80.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.8945, allocations: 15.89 kB / 0.5564 GB, free: 80.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001636/0.8961, allocations: 371.7 kB / 0.5567 GB, free: 80 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003643/0.8965, allocations: 498.3 kB / 0.5572 GB, free: 79.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.9158, allocations: 13.56 MB / 0.5705 GB, free: 68.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05593/0.9717, allocations: 43.27 MB / 0.6127 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.9802, allocations: 6.019 MB / 0.6186 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003495/0.9837, allocations: 2.863 MB / 0.6214 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.9841, allocations: 135.6 kB / 0.6215 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.9841, allocations: 74.56 kB / 0.6216 GB, free: 15.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.671e-06/0.9841, allocations: 3.938 kB / 0.6216 GB, free: 15.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01762/1.002, allocations: 9.438 MB / 0.6308 GB, free: 6.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.002, allocations: 121.1 kB / 0.6309 GB, free: 6.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/1.006, allocations: 3.16 MB / 0.634 GB, free: 3.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003123/1.006, allocations: 89.7 kB / 0.6341 GB, free: 3.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/1.008, allocations: 3.831 MB / 0.6378 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.009, allocations: 1.466 MB / 0.6393 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/1.011, allocations: 1.144 MB / 0.6404 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/1.011, allocations: 301.1 kB / 0.6407 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/1.016, allocations: 2.841 MB / 0.6435 GB, free: 9.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/1.022, allocations: 4.908 MB / 0.6482 GB, free: 4.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.034, allocations: 8.275 MB / 0.6563 GB, free: 10.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.528e-05/1.034, allocations: 20 kB / 0.6563 GB, free: 10.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01724/1.051, allocations: 9.122 MB / 0.6653 GB, free: 1.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/1.051, allocations: 32 kB / 0.6653 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/1.051, allocations: 68 kB / 0.6654 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/1.054, allocations: 1.146 MB / 0.6665 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.059, allocations: 1.303 MB / 0.6677 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.075, allocations: 10.61 MB / 0.6781 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.08, allocations: 0.7414 MB / 0.6788 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.081, allocations: 284 kB / 0.6791 GB, free: 3.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007473/1.089, allocations: 3.427 MB / 0.6824 GB, free: 15.83 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.09, allocations: 361.7 kB / 0.6828 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.103, allocations: 6.87 MB / 0.6895 GB, free: 8.578 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009648/1.113, allocations: 5.733 MB / 0.6951 GB, free: 2.832 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.445e-05/1.113, allocations: 15.83 kB / 0.6951 GB, free: 2.82 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/1.113, allocations: 23.86 kB / 0.6951 GB, free: 2.797 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03434/1.147, allocations: 15.29 MB / 0.7101 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/1.148, allocations: 12 kB / 0.7101 GB, free: 3.285 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003571/1.151, allocations: 0.7956 MB / 0.7109 GB, free: 2.488 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/1.154, allocations: 1.064 MB / 0.7119 GB, free: 1.418 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006601/1.155, allocations: 116 kB / 0.712 GB, free: 1.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/1.171, allocations: 10.37 MB / 0.7221 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-05/1.171, allocations: 23.88 kB / 0.7222 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.192, allocations: 10.69 MB / 0.7326 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003126/1.195, allocations: 0.9688 MB / 0.7335 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.196, allocations: 95.98 kB / 0.7336 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.199, allocations: 271.8 kB / 0.7339 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.2, allocations: 363 kB / 0.7342 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006463/1.201, allocations: 148 kB / 0.7344 GB, free: 9.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004345/1.205, allocations: 2.121 MB / 0.7365 GB, free: 7.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.205, allocations: 4 kB / 0.7365 GB, free: 7.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007781/1.213, allocations: 2.247 MB / 0.7386 GB, free: 5.535 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/1.214, allocations: 302.2 kB / 0.7389 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.235/1.449, allocations: 7.167 MB / 0.7459 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.449, allocations: 6.188 kB / 0.7459 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.455, allocations: 3.416 MB / 0.7493 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.459, allocations: 0.8083 MB / 0.7501 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/1.481, allocations: 15.99 MB / 0.7657 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00441/1.485, allocations: 5.758 MB / 0.7713 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.486, allocations: 399.7 kB / 0.7717 GB, free: 173.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.486, allocations: 0 / 0.7717 GB, free: 173.4 MB / 0.545 GB Notification: Performance of Templates: time 0.4003/1.887, allocations: 197.2 MB / 0.9642 GB, free: 191.5 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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: 15.15268303384073]