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.000813/0.000813, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001973, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008172/0.0008172, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001886, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.9548/0.9548, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1664/1.121, allocations: 49.49 MB / 220.5 MB, free: 1.453 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.723e-06/1.723e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.485e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.03205/0.03207, allocations: 15.58 MB / 237.4 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0185/0.05057, allocations: 4.893 MB / 242.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.05495, allocations: 135.3 kB / 242.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.06749, allocations: 7.657 MB / 250.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009373/0.07687, allocations: 1.903 MB / 252 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.08181, allocations: 1.616 MB / 253.6 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.09575, allocations: 9.869 MB / 263.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02519/0.1209, allocations: 13.53 MB / 277 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02229/0.1432, allocations: 8.007 MB / 285 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1716/0.3149, allocations: 6.015 MB / 291 MB, free: 18.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007626/0.3225, allocations: 1.358 MB / 292.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.333, allocations: 1.659 MB / 294 MB, free: 18.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007088/0.3401, allocations: 2.265 MB / 296.3 MB, free: 18.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01469/0.3548, allocations: 3.005 MB / 299.3 MB, free: 18.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0183/0.3731, allocations: 8.85 MB / 308.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372e-05/0.3731, allocations: 2.734 kB / 308.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3731, allocations: 0.625 kB / 308.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0008178/0.374, allocations: 0 / 308.2 MB, free: 17.52 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.03182/0.4058, allocations: 12.97 MB / 321.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4058, allocations: 15.83 kB / 321.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/0.4267, allocations: 6.213 MB / 327.4 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.4379, allocations: 2.609 MB / 330 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/0.4385, allocations: 0.6724 MB / 330.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/0.4425, allocations: 0.8797 MB / 331.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/0.4716, allocations: 7.575 MB / 339.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003043/0.4719, allocations: 11 kB / 339.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002409/0.4744, allocations: 373.4 kB / 339.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006556/0.475, allocations: 495.3 kB / 340 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.4902, allocations: 3.882 MB / 343.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0691/0.5593, allocations: 26.79 MB / 370.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/0.5648, allocations: 3.249 MB / 373.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.5666, allocations: 1.007 MB / 374.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.5669, allocations: 115.9 kB / 375 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.265e-05/0.5669, allocations: 78.56 kB / 375.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=409): time 9.027e-06/0.5669, allocations: 0 / 375.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=409): time 0.01098/0.5779, allocations: 4.052 MB / 379.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.578, allocations: 121.1 kB / 379.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.5809, allocations: 2.061 MB / 381.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.5811, allocations: 93.7 kB / 381.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/0.5832, allocations: 3.551 MB / 385 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/0.5847, allocations: 1.44 MB / 386.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.5861, allocations: 1.023 MB / 387.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.5861, allocations: 305.1 kB / 387.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.5876, allocations: 0.8237 MB / 388.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.5901, allocations: 2.662 MB / 391.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.5942, allocations: 3.996 MB / 395.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.331e-05/0.5943, allocations: 20 kB / 395.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006485/0.6008, allocations: 3.904 MB / 399.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.6008, allocations: 32 kB / 399.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.601, allocations: 68 kB / 399.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.6032, allocations: 0.967 MB / 400.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.606, allocations: 1.313 MB / 401.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.6129, allocations: 5.795 MB / 407.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.6161, allocations: 0.5932 MB / 407.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005999/0.6167, allocations: 220 kB / 408.1 MB, free: 6.75 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.002718/0.6194, allocations: 494 kB / 408.6 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000695/0.6201, allocations: 339.8 kB / 408.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/0.6242, allocations: 2.942 MB / 411.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002382/0.6265, allocations: 1.892 MB / 413.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/0.6266, allocations: 14.73 kB / 413.8 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.6266, allocations: 19.92 kB / 413.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.641, allocations: 8.195 MB / 422 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.641, allocations: 12 kB / 422 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.6429, allocations: 0.7586 MB / 422.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/0.6445, allocations: 0.5621 MB / 423.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.6465, allocations: 0.886 MB / 424.2 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/0.6468, allocations: 104 kB / 424.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006433/0.6532, allocations: 5.614 MB / 429.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.806e-05/0.6532, allocations: 23.22 kB / 429.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1869/0.8401, allocations: 4.085 MB / 434 MB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/0.841, allocations: 97.45 kB / 434.1 MB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8424, allocations: 131.1 kB / 434.2 MB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007508/0.8431, allocations: 347 kB / 434.6 MB, free: 94.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/0.8434, allocations: 101.2 kB / 434.7 MB, free: 94.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001628/0.845, allocations: 0.9147 MB / 435.6 MB, free: 93.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.845, allocations: 0 / 435.6 MB, free: 93.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006102/0.8512, allocations: 2.249 MB / 437.8 MB, free: 93.96 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.0006537/0.8518, allocations: 275.2 kB / 438.1 MB, free: 93.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006105/0.8579, allocations: 3.451 MB / 441.6 MB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002715/0.8582, allocations: 109.4 kB / 441.7 MB, free: 93.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.8608, allocations: 1.917 MB / 443.6 MB, free: 93.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.8639, allocations: 1.102 MB / 444.7 MB, free: 93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0542/0.9181, allocations: 14.1 MB / 458.8 MB, free: 87.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/0.9209, allocations: 1.867 MB / 460.7 MB, free: 87.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002338/0.9232, allocations: 0.6459 MB / 461.3 MB, free: 87.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/0.925, allocations: 0.8012 MB / 462.1 MB, free: 87.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.544e-06/0.925, allocations: 0 / 462.1 MB, free: 87.27 MB / 378.7 MB Notification: Performance of Templates: time 0.08059/1.006, allocations: 61.77 MB / 0.5116 GB, free: 37.95 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.83742965105921]