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.001015/0.001015, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001563/0.001563, allocations: 169.2 kB / 25.33 MB, free: 9.02 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.9931/0.9931, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.803e-06/1.803e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.197e-05, allocations: 2.312 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01337/0.01339, allocations: 16.04 MB / 267.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00915/0.02254, allocations: 4.619 MB / 271.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.02411, allocations: 139.2 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007434/0.03155, allocations: 7.693 MB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.03524, allocations: 1.919 MB / 281.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.03738, allocations: 1.636 MB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007568/0.04495, allocations: 9.809 MB / 292.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.06129, allocations: 13.51 MB / 306.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009892/0.07119, allocations: 7.809 MB / 314.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006971/0.07816, allocations: 5.821 MB / 320 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002445/0.0806, allocations: 1.355 MB / 321.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.08316, allocations: 1.64 MB / 323 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.08499, allocations: 2.903 MB / 325.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004438/0.08943, allocations: 3.641 MB / 329.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.09858, allocations: 9.392 MB / 339 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.09858, allocations: 0 / 339 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09858, allocations: 0 / 339 MB, free: 15.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.09881, allocations: 0 / 339 MB, free: 15.19 MB / 330.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.01991/0.1187, allocations: 13.08 MB / 352.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1188, allocations: 11.98 kB / 352.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2813/0.4001, allocations: 7.717 MB / 359.8 MB, free: 68.74 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.4101, allocations: 4.74 MB / 364.5 MB, free: 68.47 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.4105, allocations: 0.6704 MB / 365.2 MB, free: 68.45 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.4122, allocations: 0.8791 MB / 366.1 MB, free: 68.45 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.425, allocations: 8.051 MB / 374.1 MB, free: 67.55 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.4252, allocations: 7.484 kB / 374.1 MB, free: 67.55 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005845/0.4257, allocations: 371.3 kB / 374.5 MB, free: 67.27 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/0.426, allocations: 0.4935 MB / 375 MB, free: 67.22 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.4372, allocations: 4.33 MB / 379.3 MB, free: 63.81 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.4758, allocations: 35.35 MB / 414.7 MB, free: 28.7 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/0.4802, allocations: 4.119 MB / 418.8 MB, free: 24.78 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4817, allocations: 1.341 MB / 420.1 MB, free: 23.44 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.4819, allocations: 111.9 kB / 420.2 MB, free: 23.33 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.482, allocations: 81.39 kB / 420.3 MB, free: 23.24 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 6.102e-06/0.482, allocations: 0 / 420.3 MB, free: 23.24 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.009035/0.491, allocations: 5.417 MB / 425.7 MB, free: 17.86 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.4911, allocations: 121.1 kB / 425.9 MB, free: 17.73 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/0.4941, allocations: 3.078 MB / 428.9 MB, free: 14.7 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.4943, allocations: 89.7 kB / 429 MB, free: 14.61 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.4957, allocations: 4.071 MB / 433.1 MB, free: 10.77 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007999/0.4965, allocations: 1.499 MB / 434.6 MB, free: 9.293 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.4976, allocations: 1.276 MB / 435.9 MB, free: 8 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.4977, allocations: 476.8 kB / 436.3 MB, free: 7.531 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.499, allocations: 0.8975 MB / 437.2 MB, free: 6.629 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.5012, allocations: 3.998 MB / 441.2 MB, free: 1.375 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.5062, allocations: 5.421 MB / 446.7 MB, free: 10.95 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.5062, allocations: 20 kB / 446.7 MB, free: 10.93 MB / 346.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007496/0.5137, allocations: 5.294 MB / 452 MB, free: 6.086 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.5137, allocations: 32 kB / 452 MB, free: 6.055 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-05/0.5138, allocations: 68 kB / 452.1 MB, free: 5.988 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/0.5161, allocations: 1.092 MB / 453.2 MB, free: 4.895 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.5185, allocations: 1.288 MB / 454.4 MB, free: 3.695 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007497/0.526, allocations: 7.919 MB / 462.4 MB, free: 11.61 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.5287, allocations: 0.7453 MB / 463.1 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.529, allocations: 276 kB / 463.4 MB, free: 10.59 MB / 362.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.002175/0.5312, allocations: 0.5371 MB / 463.9 MB, free: 10.13 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/0.5318, allocations: 493.8 kB / 464.4 MB, free: 9.645 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/0.537, allocations: 3.921 MB / 468.3 MB, free: 5.734 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003819/0.5408, allocations: 2.827 MB / 471.1 MB, free: 2.934 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.5408, allocations: 12 kB / 471.2 MB, free: 2.922 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.5408, allocations: 23.92 kB / 471.2 MB, free: 2.898 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.5565, allocations: 11.35 MB / 482.5 MB, free: 7.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.5565, allocations: 12.22 kB / 482.5 MB, free: 7.488 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.5582, allocations: 0.7951 MB / 483.3 MB, free: 6.738 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/0.5602, allocations: 0.9824 MB / 484.3 MB, free: 5.746 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.5604, allocations: 116 kB / 484.4 MB, free: 5.633 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007279/0.5676, allocations: 7.81 MB / 492.2 MB, free: 13.62 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.5677, allocations: 23.22 kB / 492.3 MB, free: 13.61 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/0.5748, allocations: 5.546 MB / 497.8 MB, free: 7.809 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/0.5762, allocations: 0.8507 MB / 498.7 MB, free: 6.957 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.5765, allocations: 99.98 kB / 498.8 MB, free: 6.859 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5777, allocations: 275.7 kB / 499 MB, free: 6.59 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.5781, allocations: 354 kB / 499.4 MB, free: 6.254 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.5783, allocations: 144 kB / 499.5 MB, free: 6.113 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001698/0.58, allocations: 1.339 MB / 0.4891 GB, free: 4.77 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.21e-07/0.58, allocations: 4 kB / 0.4891 GB, free: 4.766 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005245/0.5852, allocations: 2.258 MB / 0.4913 GB, free: 2.5 MB / 394.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.0004912/0.5857, allocations: 284 kB / 0.4916 GB, free: 2.258 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.1551/0.7408, allocations: 4.44 MB / 0.4959 GB, free: 118.9 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.856e-05/0.7408, allocations: 3.5 kB / 0.4959 GB, free: 118.9 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003751/0.7446, allocations: 2.448 MB / 0.4983 GB, free: 118.4 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/0.7477, allocations: 0.8024 MB / 0.4991 GB, free: 118.4 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/0.7676, allocations: 13.47 MB / 0.5123 GB, free: 113.2 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.77, allocations: 2.5 MB / 0.5147 GB, free: 113 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003863/0.7738, allocations: 1.82 MB / 0.5165 GB, free: 112.9 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000942/0.7748, allocations: 318.5 kB / 0.5168 GB, free: 112.8 MB / 394.8 MB Notification: Performance of SimCode: time 2.244e-06/0.7748, allocations: 0 / 0.5168 GB, free: 112.8 MB / 394.8 MB Notification: Performance of Templates: time 0.06972/0.8445, allocations: 54.49 MB / 0.57 GB, free: 64.98 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.804190641734749]