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.001019/0.001019, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001059/0.001059, allocations: 169.2 kB / 25.33 MB, free: 9.027 MB / 18.57 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.9303/0.9303, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.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.472e-06/1.472e-06, allocations: 0 / 251 MB, free: 3.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.586e-05, allocations: 2.312 kB / 251.1 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01249/0.01252, allocations: 16.04 MB / 267.1 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.02198, allocations: 4.623 MB / 271.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.02515, allocations: 135.3 kB / 271.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008942/0.03409, allocations: 7.693 MB / 279.5 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.03899, allocations: 1.922 MB / 281.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.04153, allocations: 1.632 MB / 283.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009029/0.05056, allocations: 9.819 MB / 292.9 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1501/0.2007, allocations: 13.51 MB / 306.4 MB, free: 20.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.2107, allocations: 7.809 MB / 314.2 MB, free: 20.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006779/0.2175, allocations: 5.952 MB / 320.2 MB, free: 20.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.2201, allocations: 1.357 MB / 321.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.2227, allocations: 1.64 MB / 323.2 MB, free: 20.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.2242, allocations: 2.9 MB / 326.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004456/0.2287, allocations: 3.648 MB / 329.7 MB, free: 17.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.2362, allocations: 9.393 MB / 339.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2362, allocations: 0 / 339.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2362, allocations: 0 / 339.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003806/0.2366, allocations: 0.5 kB / 339.1 MB, free: 12.22 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.01676/0.2534, allocations: 13.09 MB / 352.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.2534, allocations: 11.98 kB / 352.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.2719, allocations: 7.724 MB / 360 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008285/0.2802, allocations: 4.74 MB / 364.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.2806, allocations: 0.6674 MB / 365.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.2818, allocations: 0.8881 MB / 366.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.2954, allocations: 8.039 MB / 374.3 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.2955, allocations: 11.94 kB / 374.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006216/0.2962, allocations: 372.4 kB / 374.7 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003591/0.2965, allocations: 495.3 kB / 375.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009115/0.3056, allocations: 4.337 MB / 379.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04236/0.348, allocations: 35.35 MB / 414.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.3532, allocations: 4.112 MB / 418.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.3552, allocations: 1.344 MB / 420.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3554, allocations: 115.9 kB / 420.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.3555, allocations: 85.05 kB / 420.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=409): time 7.123e-06/0.3555, allocations: 4 kB / 420.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=409): time 0.01035/0.3659, allocations: 5.411 MB / 425.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.3659, allocations: 129.1 kB / 426 MB, free: 5.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.3693, allocations: 3.071 MB / 429.1 MB, free: 2.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.3695, allocations: 93.7 kB / 429.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.3716, allocations: 4.068 MB / 433.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.373, allocations: 1.505 MB / 434.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.3743, allocations: 1.268 MB / 436 MB, free: 11.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3744, allocations: 480.8 kB / 436.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.376, allocations: 0.8975 MB / 437.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/0.3794, allocations: 4.004 MB / 441.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2774/0.6568, allocations: 5.406 MB / 446.8 MB, free: 88.79 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.6569, allocations: 19.41 kB / 446.8 MB, free: 88.79 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.009367/0.6663, allocations: 5.296 MB / 452.1 MB, free: 88.62 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.6664, allocations: 34.12 kB / 452.2 MB, free: 88.62 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-05/0.6664, allocations: 67.09 kB / 452.2 MB, free: 88.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.669, allocations: 1.073 MB / 453.3 MB, free: 88.57 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/0.6714, allocations: 1.29 MB / 454.6 MB, free: 88.57 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006493/0.6778, allocations: 7.929 MB / 462.5 MB, free: 84.59 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.6803, allocations: 0.7481 MB / 463.3 MB, free: 84.59 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.6805, allocations: 277.6 kB / 463.5 MB, free: 84.59 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.00222/0.6828, allocations: 0.5298 MB / 464.1 MB, free: 84.42 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.6833, allocations: 0.4896 MB / 464.6 MB, free: 84.22 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.6884, allocations: 3.909 MB / 468.5 MB, free: 83.94 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003672/0.6921, allocations: 2.84 MB / 471.3 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.6921, allocations: 11.91 kB / 471.3 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.6921, allocations: 23.16 kB / 471.3 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.7056, allocations: 11.34 MB / 482.7 MB, free: 82.18 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.7056, allocations: 11.09 kB / 482.7 MB, free: 82.18 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.7071, allocations: 0.7889 MB / 483.5 MB, free: 82.18 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.7091, allocations: 0.9996 MB / 484.5 MB, free: 82.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.7093, allocations: 112.5 kB / 484.6 MB, free: 82.11 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.7155, allocations: 7.81 MB / 492.4 MB, free: 77.96 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.7155, allocations: 24.81 kB / 492.4 MB, free: 77.96 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006371/0.7219, allocations: 5.549 MB / 498 MB, free: 74.45 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.723, allocations: 0.8517 MB / 498.8 MB, free: 73.77 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.7233, allocations: 94.67 kB / 498.9 MB, free: 73.68 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7243, allocations: 277.3 kB / 499.2 MB, free: 73.48 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/0.7247, allocations: 361.7 kB / 499.5 MB, free: 73.3 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.7249, allocations: 139.5 kB / 499.7 MB, free: 73.17 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001437/0.7263, allocations: 1.345 MB / 0.4893 GB, free: 72.04 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7263, allocations: 0 / 0.4893 GB, free: 72.04 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00458/0.7309, allocations: 2.255 MB / 0.4915 GB, free: 70.02 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.0004374/0.7314, allocations: 289 kB / 0.4918 GB, free: 69.79 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005437/0.7368, allocations: 4.436 MB / 0.4961 GB, free: 66.05 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.7368, allocations: 6.734 kB / 0.4961 GB, free: 66.04 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.7392, allocations: 2.439 MB / 0.4985 GB, free: 63.98 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.7414, allocations: 0.8049 MB / 0.4993 GB, free: 63.32 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.7551, allocations: 13.47 MB / 0.5124 GB, free: 50.78 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.7566, allocations: 2.502 MB / 0.5149 GB, free: 48.64 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002985/0.7595, allocations: 1.818 MB / 0.5166 GB, free: 46.82 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.7601, allocations: 316.4 kB / 0.5169 GB, free: 46.51 MB / 378.8 MB Notification: Performance of SimCode: time 1.503e-06/0.7601, allocations: 0 / 0.5169 GB, free: 46.51 MB / 378.8 MB Notification: Performance of Templates: time 0.06561/0.8258, allocations: 57.25 MB / 0.5728 GB, free: 5.43 MB / 394.8 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 -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.754687503911555]