Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009089/0.0009089, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 160.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9354/0.9354, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.395e-05, allocations: 6.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01041/0.01042, allocations: 15.5 MB / 288.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1064/0.1168, allocations: 4.897 MB / 293.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1184, allocations: 157.3 kB / 294 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006886/0.1253, allocations: 7.679 MB / 301.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.1287, allocations: 2.045 MB / 303.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.1307, allocations: 1.532 MB / 305.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00604/0.1367, allocations: 9.934 MB / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.1492, allocations: 13.95 MB / 329.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007094/0.1563, allocations: 7.829 MB / 336.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005934/0.1622, allocations: 6.041 MB / 343 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.1639, allocations: 1.359 MB / 344.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.1659, allocations: 1.659 MB / 346 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.1675, allocations: 2.903 MB / 348.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.1708, allocations: 3.653 MB / 352.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007226/0.178, allocations: 9.415 MB / 362 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.178, allocations: 4 kB / 362 MB, free: 8.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.178, allocations: 0 / 362 MB, free: 8.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.1781, allocations: 0 / 362 MB, free: 8.766 MB / 314.7 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.01331/0.1914, allocations: 11.14 MB / 373.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1915, allocations: 15.98 kB / 373.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.2075, allocations: 6.201 MB / 379.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/0.2121, allocations: 3.098 MB / 382.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.2124, allocations: 0.6742 MB / 383.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009544/0.2134, allocations: 0.8866 MB / 384 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007972/0.2214, allocations: 7.585 MB / 391.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.2215, allocations: 15.92 kB / 391.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006318/0.2221, allocations: 372 kB / 391.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/0.2224, allocations: 0.4914 MB / 392.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005179/0.2276, allocations: 3.89 MB / 396.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02631/0.2539, allocations: 26.68 MB / 423 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.2573, allocations: 3.217 MB / 426.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2584, allocations: 1.012 MB / 427.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.2586, allocations: 139.9 kB / 427.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.2587, allocations: 78.56 kB / 427.4 MB, free: 5.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 6.132e-06/0.2587, allocations: 0 / 427.4 MB, free: 5.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.006888/0.2656, allocations: 4.048 MB / 431.5 MB, free: 1.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2656, allocations: 121 kB / 431.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1917/0.4573, allocations: 2.058 MB / 433.7 MB, free: 95.72 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006528/0.458, allocations: 88.67 kB / 433.7 MB, free: 95.69 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.4594, allocations: 3.555 MB / 437.3 MB, free: 94.46 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007324/0.4601, allocations: 1.445 MB / 438.7 MB, free: 93.7 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.4612, allocations: 1.032 MB / 439.8 MB, free: 93.6 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.448e-05/0.4612, allocations: 305.3 kB / 440.1 MB, free: 93.3 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.4623, allocations: 0.8314 MB / 440.9 MB, free: 93.28 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4637, allocations: 2.665 MB / 443.6 MB, free: 90.83 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.4663, allocations: 4.014 MB / 447.6 MB, free: 88.36 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.4663, allocations: 21.41 kB / 447.6 MB, free: 88.36 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004114/0.4704, allocations: 3.921 MB / 451.5 MB, free: 88.14 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.4705, allocations: 34.03 kB / 451.6 MB, free: 88.14 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.4705, allocations: 70.86 kB / 451.6 MB, free: 88.14 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.4722, allocations: 0.9557 MB / 452.6 MB, free: 88.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.4741, allocations: 1.15 MB / 453.7 MB, free: 88.09 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.4785, allocations: 5.746 MB / 459.5 MB, free: 85.37 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.4801, allocations: 0.5988 MB / 460.1 MB, free: 85.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.4804, allocations: 221.1 kB / 460.3 MB, free: 85.18 MB / 378.8 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.001278/0.4817, allocations: 496.5 kB / 460.8 MB, free: 85.05 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.4821, allocations: 348.5 kB / 461.1 MB, free: 85.04 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.4853, allocations: 2.91 MB / 464 MB, free: 84.75 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002014/0.4874, allocations: 1.901 MB / 465.9 MB, free: 84.59 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4874, allocations: 11.56 kB / 465.9 MB, free: 84.59 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.4874, allocations: 24.97 kB / 466 MB, free: 84.59 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/0.495, allocations: 8.215 MB / 474.2 MB, free: 82.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.495, allocations: 12 kB / 474.2 MB, free: 82.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.4963, allocations: 0.6481 MB / 474.8 MB, free: 81.86 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.4978, allocations: 0.8956 MB / 475.7 MB, free: 81.24 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.498, allocations: 99.41 kB / 475.8 MB, free: 81.15 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.502, allocations: 5.619 MB / 481.5 MB, free: 75.68 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.502, allocations: 21.81 kB / 481.5 MB, free: 75.66 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.5056, allocations: 4.108 MB / 485.6 MB, free: 71.46 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/0.5063, allocations: 0.5778 MB / 486.2 MB, free: 70.89 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.5066, allocations: 99.92 kB / 486.3 MB, free: 70.79 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.5074, allocations: 119.3 kB / 486.4 MB, free: 70.68 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.5077, allocations: 352.8 kB / 486.7 MB, free: 70.34 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.5079, allocations: 104 kB / 486.8 MB, free: 70.24 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0006236/0.5085, allocations: 0.9107 MB / 487.7 MB, free: 69.43 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5085, allocations: 8 kB / 487.7 MB, free: 69.43 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003282/0.5118, allocations: 2.251 MB / 490 MB, free: 67.17 MB / 378.8 MB 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.0003554/0.5121, allocations: 273.4 kB / 490.3 MB, free: 66.95 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.5153, allocations: 3.462 MB / 493.7 MB, free: 63.75 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.766e-05/0.5153, allocations: 59.94 kB / 493.8 MB, free: 63.69 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.5169, allocations: 1.924 MB / 495.7 MB, free: 61.91 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.5187, allocations: 0.8016 MB / 496.5 MB, free: 61.15 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5298, allocations: 12.99 MB / 0.4976 GB, free: 48.02 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.5311, allocations: 1.799 MB / 0.4993 GB, free: 46.19 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001294/0.5324, allocations: 0.6479 MB / 0.4999 GB, free: 45.54 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.5338, allocations: 0.8154 MB / 0.5007 GB, free: 44.72 MB / 378.8 MB Notification: Performance of SimCode: time 7.41e-07/0.5338, allocations: 0 / 0.5007 GB, free: 44.72 MB / 378.8 MB Notification: Performance of Templates: time 0.06429/0.598, allocations: 60.62 MB / 0.5599 GB, free: 0.8594 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.125602915883064]