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.0009377/0.0009377, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.0009953/0.0009953, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9803/0.9803, allocations: 177.1 MB / 205 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] 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 1.283e-06/1.283e-06, allocations: 0 / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.122e-05, allocations: 2.312 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01247/0.01249, allocations: 16.12 MB / 289.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1247/0.1372, allocations: 4.652 MB / 293.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.1394, allocations: 156.4 kB / 293.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008187/0.1476, allocations: 7.701 MB / 301.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.1517, allocations: 2.038 MB / 303.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1539, allocations: 1.531 MB / 305.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006968/0.1609, allocations: 9.929 MB / 315.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.177, allocations: 13.51 MB / 328.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008475/0.1855, allocations: 7.805 MB / 336.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/0.1915, allocations: 5.815 MB / 342.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003186/0.1946, allocations: 1.359 MB / 343.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.1978, allocations: 1.667 MB / 345.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.1996, allocations: 2.895 MB / 348.2 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.2036, allocations: 3.657 MB / 351.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.2115, allocations: 9.419 MB / 361.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2115, allocations: 0 / 361.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2115, allocations: 0 / 361.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001456/0.2117, allocations: 3.938 kB / 361.3 MB, free: 9.891 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.01805/0.2297, allocations: 13.09 MB / 374.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.2298, allocations: 16.03 kB / 374.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.2486, allocations: 7.627 MB / 382 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007676/0.2563, allocations: 5.486 MB / 387.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.2567, allocations: 0.6703 MB / 388.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.2578, allocations: 0.8866 MB / 389 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.2707, allocations: 8.079 MB / 397.1 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2708, allocations: 8 kB / 397.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006257/0.2714, allocations: 372 kB / 397.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/0.2717, allocations: 0.4915 MB / 398 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008752/0.2805, allocations: 4.364 MB / 402.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2906/0.571, allocations: 35.39 MB / 437.7 MB, free: 80.5 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.5777, allocations: 4.146 MB / 441.9 MB, free: 80.3 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.5797, allocations: 1.359 MB / 443.2 MB, free: 80.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.58, allocations: 139.1 kB / 443.4 MB, free: 80.24 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.58, allocations: 83.28 kB / 443.4 MB, free: 80.2 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.092e-06/0.58, allocations: 0 / 443.4 MB, free: 80.2 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.009649/0.5897, allocations: 5.439 MB / 448.9 MB, free: 79.92 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.5897, allocations: 119.9 kB / 449 MB, free: 79.82 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.5933, allocations: 3.078 MB / 452.1 MB, free: 79.51 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.5935, allocations: 95.42 kB / 452.2 MB, free: 79.48 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.5949, allocations: 4.068 MB / 456.2 MB, free: 77.81 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006818/0.5956, allocations: 1.5 MB / 457.7 MB, free: 77.05 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.5968, allocations: 1.286 MB / 459 MB, free: 76.94 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.5969, allocations: 478.3 kB / 459.5 MB, free: 76.47 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5983, allocations: 0.909 MB / 460.4 MB, free: 76.45 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.6005, allocations: 4.003 MB / 464.4 MB, free: 72.82 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.6043, allocations: 5.432 MB / 469.8 MB, free: 69.1 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.6044, allocations: 21.12 kB / 469.9 MB, free: 69.1 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006335/0.6107, allocations: 5.319 MB / 475.2 MB, free: 68.67 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.6107, allocations: 35.59 kB / 475.2 MB, free: 68.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/0.6108, allocations: 73.06 kB / 475.3 MB, free: 68.66 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.6128, allocations: 1.067 MB / 476.4 MB, free: 68.6 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.615, allocations: 1.306 MB / 477.7 MB, free: 68.6 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/0.6214, allocations: 7.937 MB / 485.6 MB, free: 64.16 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.6235, allocations: 0.7376 MB / 486.3 MB, free: 63.71 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.6238, allocations: 283 kB / 486.6 MB, free: 63.49 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.001853/0.6256, allocations: 0.5278 MB / 487.1 MB, free: 63.2 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.6261, allocations: 0.4889 MB / 487.6 MB, free: 62.76 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.6307, allocations: 3.898 MB / 491.5 MB, free: 60.5 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003419/0.6341, allocations: 2.868 MB / 494.4 MB, free: 58.55 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6342, allocations: 12 kB / 494.4 MB, free: 58.54 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.6342, allocations: 26.92 kB / 494.4 MB, free: 58.54 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.6493, allocations: 11.36 MB / 0.4939 GB, free: 47.79 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.6494, allocations: 16 kB / 0.494 GB, free: 47.77 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.6514, allocations: 0.8017 MB / 0.4947 GB, free: 47.01 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.6539, allocations: 1.001 MB / 0.4957 GB, free: 46 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.6541, allocations: 115.9 kB / 0.4958 GB, free: 45.89 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007549/0.6616, allocations: 7.801 MB / 0.5034 GB, free: 37.9 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.6616, allocations: 31.23 kB / 0.5035 GB, free: 37.88 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007951/0.6696, allocations: 5.58 MB / 0.5089 GB, free: 32.04 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.671, allocations: 0.8572 MB / 0.5098 GB, free: 31.18 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.6714, allocations: 95.98 kB / 0.5099 GB, free: 31.08 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.6729, allocations: 271.7 kB / 0.5101 GB, free: 30.82 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/0.6734, allocations: 363.9 kB / 0.5105 GB, free: 30.47 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/0.6737, allocations: 148 kB / 0.5106 GB, free: 30.33 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001783/0.6755, allocations: 1.343 MB / 0.5119 GB, free: 28.98 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6755, allocations: 0 / 0.5119 GB, free: 28.98 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004971/0.6804, allocations: 2.258 MB / 0.5141 GB, free: 26.71 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.000519/0.6809, allocations: 301 kB / 0.5144 GB, free: 26.46 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006744/0.6877, allocations: 4.455 MB / 0.5188 GB, free: 22.19 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6877, allocations: 4 kB / 0.5188 GB, free: 22.19 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/0.6909, allocations: 2.448 MB / 0.5211 GB, free: 19.81 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.6938, allocations: 0.817 MB / 0.5219 GB, free: 19.03 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.7106, allocations: 13.39 MB / 0.535 GB, free: 5.336 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.7124, allocations: 2.502 MB / 0.5375 GB, free: 2.809 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002815/0.7152, allocations: 1.818 MB / 0.5392 GB, free: 0.9844 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/0.7159, allocations: 340.4 kB / 0.5396 GB, free: 0.6523 MB / 378.8 MB Notification: Performance of SimCode: time 2.174e-06/0.7159, allocations: 0 / 0.5396 GB, free: 0.6523 MB / 378.8 MB Notification: Performance of Templates: time 0.2097/0.9256, allocations: 55.32 MB / 0.5936 GB, free: 110.7 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.952636564150453]