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.0007416/0.0007416, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001843, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007242/0.0007242, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009618/0.001686, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9741/0.9741, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09302/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.603e-06/1.603e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.364e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01198/0.01199, allocations: 15.65 MB / 260.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008478/0.02047, allocations: 4.955 MB / 265.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.02189, allocations: 155.2 kB / 265.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009244/0.03114, allocations: 7.614 MB / 273.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1297/0.1609, allocations: 2.022 MB / 275.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.1645, allocations: 1.515 MB / 276.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.1751, allocations: 9.985 MB / 286.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/0.189, allocations: 13.52 MB / 300.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006841/0.1958, allocations: 8.013 MB / 308.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.2016, allocations: 6.082 MB / 314.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.2034, allocations: 1.36 MB / 315.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.2054, allocations: 1.685 MB / 317.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.2069, allocations: 2.262 MB / 319.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.2093, allocations: 3.008 MB / 322.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.2158, allocations: 8.845 MB / 331.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.2158, allocations: 0.75 kB / 331.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2158, allocations: 0 / 331.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.2159, allocations: 0.8125 kB / 331.4 MB, free: 12.92 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.0145/0.2304, allocations: 12.98 MB / 344.4 MB, free: 488 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2304, allocations: 8.031 kB / 344.4 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/0.2488, allocations: 6.186 MB / 350.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005932/0.2547, allocations: 3.105 MB / 353.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.255, allocations: 0.6673 MB / 354.3 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009448/0.256, allocations: 0.8835 MB / 355.2 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008816/0.2648, allocations: 7.592 MB / 362.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.2649, allocations: 11.59 kB / 362.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006143/0.2655, allocations: 373.8 kB / 363.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/0.2659, allocations: 483.3 kB / 363.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.2708, allocations: 3.886 MB / 367.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.2979, allocations: 26.84 MB / 394.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.3015, allocations: 3.266 MB / 397.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.3025, allocations: 1.007 MB / 398.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.3028, allocations: 135.9 kB / 398.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.3028, allocations: 85.42 kB / 398.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 5.791e-06/0.3028, allocations: 0 / 398.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007055/0.3099, allocations: 4.04 MB / 402.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.31, allocations: 128.6 kB / 403 MB, free: 7.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3115, allocations: 2.066 MB / 405.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.3117, allocations: 93.7 kB / 405.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.3131, allocations: 3.552 MB / 408.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/0.314, allocations: 1.441 MB / 410.2 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009709/0.315, allocations: 1.029 MB / 411.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.3151, allocations: 304 kB / 411.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.316, allocations: 0.8315 MB / 412.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3177, allocations: 2.66 MB / 415 MB, free: 11.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/0.3212, allocations: 4.221 MB / 419.2 MB, free: 6.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/0.3212, allocations: 27.94 kB / 419.3 MB, free: 6.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004966/0.3262, allocations: 3.915 MB / 423.2 MB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.3262, allocations: 36 kB / 423.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/0.3263, allocations: 64 kB / 423.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.3282, allocations: 0.9646 MB / 424.2 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.3306, allocations: 1.322 MB / 425.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1504/0.481, allocations: 5.759 MB / 431.3 MB, free: 93.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.4839, allocations: 0.5989 MB / 431.9 MB, free: 93.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/0.4844, allocations: 223.7 kB / 432.1 MB, free: 93.66 MB / 394.7 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.002415/0.4868, allocations: 0.491 MB / 432.6 MB, free: 93.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007346/0.4875, allocations: 341.3 kB / 433 MB, free: 93.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/0.4919, allocations: 2.919 MB / 435.9 MB, free: 93.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002495/0.4944, allocations: 1.899 MB / 437.8 MB, free: 93.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.4944, allocations: 10.94 kB / 437.8 MB, free: 93.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.4944, allocations: 24.8 kB / 437.8 MB, free: 93.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00905/0.5035, allocations: 8.215 MB / 446 MB, free: 92.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5035, allocations: 17.41 kB / 446 MB, free: 92.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.5051, allocations: 0.7721 MB / 446.8 MB, free: 92.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.5059, allocations: 0.5605 MB / 447.4 MB, free: 91.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.5076, allocations: 0.8918 MB / 448.3 MB, free: 91.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.5078, allocations: 103 kB / 448.4 MB, free: 91.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.5125, allocations: 5.589 MB / 454 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/0.5125, allocations: 25.14 kB / 454 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.5165, allocations: 4.13 MB / 458.1 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.5168, allocations: 93.05 kB / 458.2 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/0.5177, allocations: 128 kB / 458.3 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/0.5182, allocations: 351.7 kB / 458.7 MB, free: 87.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.5183, allocations: 103.2 kB / 458.8 MB, free: 87.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000815/0.5192, allocations: 0.9183 MB / 459.7 MB, free: 87.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5192, allocations: 0 / 459.7 MB, free: 87.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003841/0.523, allocations: 2.259 MB / 461.9 MB, free: 87.31 MB / 394.7 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.0004118/0.5234, allocations: 278.8 kB / 462.2 MB, free: 87.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.5273, allocations: 3.544 MB / 465.8 MB, free: 86.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000136/0.5274, allocations: 108.7 kB / 465.9 MB, free: 86.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.5298, allocations: 2.512 MB / 468.4 MB, free: 86.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.5327, allocations: 5.865 MB / 474.2 MB, free: 80.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/0.5785, allocations: 14.01 MB / 488.3 MB, free: 69.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.5802, allocations: 1.841 MB / 490.1 MB, free: 68.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001655/0.5818, allocations: 0.5809 MB / 490.7 MB, free: 67.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.5829, allocations: 0.7104 MB / 491.4 MB, free: 67.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5829, allocations: 0 / 491.4 MB, free: 67.12 MB / 394.7 MB Notification: Performance of Templates: time 0.08139/0.6643, allocations: 62.14 MB / 0.5405 GB, free: 6.719 MB / 394.7 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.0753978956490755]