Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00142/0.00142, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002085/0.003505, allocations: 453.8 kB / 10.46 MB, free: 236 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.001792/0.001792, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001911/0.003703, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1589/1.298, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.387e-05, allocations: 6.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01613/0.01616, allocations: 15.57 MB / 237.6 MB, free: 416 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.02795, allocations: 4.901 MB / 242.5 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.03251, allocations: 131.4 kB / 242.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.04356, allocations: 7.645 MB / 250.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009345/0.05291, allocations: 1.911 MB / 252.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.05789, allocations: 1.611 MB / 253.8 MB, free: 148 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.07176, allocations: 9.876 MB / 263.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02768/0.09944, allocations: 13.52 MB / 277.2 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02118/0.1206, allocations: 8.015 MB / 285.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2005/0.3211, allocations: 6.016 MB / 291.2 MB, free: 18.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008401/0.3295, allocations: 1.359 MB / 292.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.3414, allocations: 1.66 MB / 294.2 MB, free: 18.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00976/0.3512, allocations: 2.265 MB / 296.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0164/0.3676, allocations: 3.006 MB / 299.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02012/0.3877, allocations: 8.823 MB / 308.3 MB, free: 17.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.459e-05/0.3877, allocations: 0 / 308.3 MB, free: 17.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3877, allocations: 0 / 308.3 MB, free: 17.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0008885/0.3886, allocations: 0 / 308.3 MB, free: 17.64 MB / 282.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.03217/0.4208, allocations: 12.97 MB / 321.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.4209, allocations: 12.03 kB / 321.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02236/0.4432, allocations: 6.208 MB / 327.5 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009238/0.4525, allocations: 2.612 MB / 330.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005273/0.453, allocations: 0.6692 MB / 330.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003593/0.4566, allocations: 0.8865 MB / 331.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02845/0.485, allocations: 7.563 MB / 339.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003681/0.4854, allocations: 7.953 kB / 339.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/0.4885, allocations: 376.8 kB / 339.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005112/0.489, allocations: 479.3 kB / 340.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.5032, allocations: 3.882 MB / 343.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06376/0.567, allocations: 26.79 MB / 370.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005398/0.5724, allocations: 3.253 MB / 374 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.5741, allocations: 1.008 MB / 375 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.5744, allocations: 111.9 kB / 375.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.335e-05/0.5745, allocations: 81.66 kB / 375.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=409): time 8.075e-06/0.5745, allocations: 0 / 375.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=409): time 0.008894/0.5834, allocations: 4.043 MB / 379.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.5835, allocations: 124.9 kB / 379.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/0.5881, allocations: 2.063 MB / 381.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0013/0.5894, allocations: 93.7 kB / 381.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003044/0.5924, allocations: 3.547 MB / 385.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002529/0.5949, allocations: 1.447 MB / 386.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/0.5973, allocations: 1.025 MB / 387.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5974, allocations: 306.7 kB / 387.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.5997, allocations: 0.8237 MB / 388.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.6024, allocations: 2.654 MB / 391.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/0.6095, allocations: 4.203 MB / 395.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/0.6097, allocations: 23.75 kB / 395.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01299/0.6227, allocations: 3.904 MB / 399.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.6228, allocations: 32 kB / 399.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/0.623, allocations: 68 kB / 399.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.6264, allocations: 0.9714 MB / 400.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00598/0.6323, allocations: 1.309 MB / 401.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.6435, allocations: 5.749 MB / 407.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/0.651, allocations: 0.5971 MB / 408.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/0.6534, allocations: 224 kB / 408.4 MB, free: 6.512 MB / 362.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.007113/0.6606, allocations: 496.5 kB / 408.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/0.6623, allocations: 343.6 kB / 409.2 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/0.6709, allocations: 2.935 MB / 412.1 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004957/0.6759, allocations: 1.895 MB / 414 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.461e-05/0.6759, allocations: 11.84 kB / 414 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.793e-05/0.676, allocations: 23.92 kB / 414.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0251/0.7011, allocations: 8.191 MB / 422.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.7011, allocations: 15.94 kB / 422.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.7032, allocations: 0.758 MB / 423 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/0.7057, allocations: 0.5597 MB / 423.6 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.7082, allocations: 0.8886 MB / 424.5 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/0.7087, allocations: 106.8 kB / 424.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/0.7164, allocations: 5.578 MB / 430.2 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.7164, allocations: 19.73 kB / 430.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2715/0.9879, allocations: 4.105 MB / 434.3 MB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/0.9891, allocations: 95.14 kB / 434.4 MB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9909, allocations: 126.6 kB / 434.5 MB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00099/0.9919, allocations: 353.1 kB / 434.8 MB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003305/0.9922, allocations: 100.2 kB / 434.9 MB, free: 94.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002453/0.9946, allocations: 0.9168 MB / 435.9 MB, free: 94.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9946, allocations: 0 / 435.9 MB, free: 94.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01048/1.005, allocations: 2.254 MB / 438.1 MB, free: 94.21 MB / 378.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.0018/1.007, allocations: 266.9 kB / 438.4 MB, free: 94.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009116/1.016, allocations: 3.535 MB / 441.9 MB, free: 93.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0005022/1.017, allocations: 111.1 kB / 442 MB, free: 93.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005597/1.022, allocations: 2.501 MB / 444.5 MB, free: 93.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008851/1.031, allocations: 5.849 MB / 450.4 MB, free: 88.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07867/1.11, allocations: 14.09 MB / 464.5 MB, free: 82.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/1.113, allocations: 1.838 MB / 466.3 MB, free: 82.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003227/1.117, allocations: 0.5848 MB / 466.9 MB, free: 82.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.118, allocations: 0.711 MB / 467.6 MB, free: 82.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.475e-06/1.118, allocations: 0 / 467.6 MB, free: 82.31 MB / 378.7 MB Notification: Performance of Templates: time 0.1028/1.221, allocations: 61.21 MB / 0.5164 GB, free: 32.67 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.076926019974053]