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.001403/0.001403, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001549/0.001549, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002617/0.002617, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2827, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01777/0.3005, allocations: 14.31 MB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.3107, allocations: 4.551 MB / 451.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.3136, allocations: 155.2 kB / 451.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.3307, allocations: 6.695 MB / 458.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007099/0.3378, allocations: 1.997 MB / 460.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.3419, allocations: 1.506 MB / 461.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.3546, allocations: 9.614 MB / 471.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02157/0.3762, allocations: 13.46 MB / 484.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007576/0.3838, allocations: 5.393 MB / 490 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00989/0.3937, allocations: 5.84 MB / 495.9 MB, free: 6.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003543/0.3972, allocations: 1.355 MB / 497.2 MB, free: 5.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004538/0.4018, allocations: 1.656 MB / 498.9 MB, free: 3.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003166/0.4049, allocations: 2.798 MB / 0.4899 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008439/0.4134, allocations: 4.187 MB / 0.494 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02283/0.4362, allocations: 18.49 MB / 0.5121 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4362, allocations: 0 / 0.5121 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4362, allocations: 0 / 0.5121 GB, free: 10.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004709/0.4367, allocations: 4 kB / 0.5121 GB, free: 10.27 MB / 430.1 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.03602/0.4727, allocations: 12.26 MB / 0.524 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4727, allocations: 8.031 kB / 0.5241 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/0.5091, allocations: 6.195 MB / 0.5301 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.5228, allocations: 5.925 MB / 0.5359 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007031/0.5235, allocations: 0.6704 MB / 0.5365 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/0.5267, allocations: 0.871 MB / 0.5374 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4288/0.9555, allocations: 14.97 MB / 0.552 GB, free: 84.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000363/0.9558, allocations: 17.86 kB / 0.552 GB, free: 84.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002675/0.9585, allocations: 372.1 kB / 0.5524 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004592/0.959, allocations: 0.4883 MB / 0.5529 GB, free: 83.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.9828, allocations: 13.52 MB / 0.5661 GB, free: 72.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06317/1.046, allocations: 38.54 MB / 0.6037 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009936/1.056, allocations: 5.973 MB / 0.6095 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/1.06, allocations: 2.871 MB / 0.6123 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/1.06, allocations: 107.9 kB / 0.6124 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/1.06, allocations: 82.5 kB / 0.6125 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.564e-06/1.06, allocations: 6.75 kB / 0.6125 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.0191/1.079, allocations: 9.427 MB / 0.6217 GB, free: 15.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.079, allocations: 125.1 kB / 0.6218 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/1.084, allocations: 3.235 MB / 0.625 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005369/1.085, allocations: 89.7 kB / 0.6251 GB, free: 11.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.086, allocations: 3.815 MB / 0.6288 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/1.087, allocations: 1.462 MB / 0.6302 GB, free: 6.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/1.09, allocations: 1.148 MB / 0.6314 GB, free: 5.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/1.09, allocations: 309.1 kB / 0.6317 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/1.094, allocations: 2.845 MB / 0.6344 GB, free: 2.562 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00594/1.1, allocations: 4.907 MB / 0.6392 GB, free: 12.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/1.112, allocations: 8.271 MB / 0.6473 GB, free: 3.504 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.112, allocations: 20 kB / 0.6473 GB, free: 3.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02141/1.134, allocations: 9.111 MB / 0.6562 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.981e-05/1.134, allocations: 32 kB / 0.6563 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.134, allocations: 71.94 kB / 0.6563 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.138, allocations: 1.146 MB / 0.6574 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/1.144, allocations: 1.306 MB / 0.6587 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.162, allocations: 10.38 MB / 0.6689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/1.167, allocations: 0.7452 MB / 0.6696 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.168, allocations: 284 kB / 0.6699 GB, free: 12.19 MB / 494.1 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.007977/1.176, allocations: 3.427 MB / 0.6732 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.178, allocations: 357.7 kB / 0.6735 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.193, allocations: 6.881 MB / 0.6803 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.011/1.204, allocations: 5.717 MB / 0.6858 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/1.204, allocations: 12 kB / 0.6859 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/1.204, allocations: 27.84 kB / 0.6859 GB, free: 11.72 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.235, allocations: 13.45 MB / 0.699 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/1.235, allocations: 12.94 kB / 0.699 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/1.238, allocations: 0.7996 MB / 0.6998 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/1.242, allocations: 1.056 MB / 0.7008 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004712/1.242, allocations: 116 kB / 0.701 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/1.259, allocations: 10.14 MB / 0.7109 GB, free: 1.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/1.259, allocations: 23.88 kB / 0.7109 GB, free: 1.746 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.28, allocations: 10.69 MB / 0.7213 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/1.283, allocations: 0.961 MB / 0.7223 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.285, allocations: 95.98 kB / 0.7224 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.288, allocations: 267.8 kB / 0.7226 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.289, allocations: 367 kB / 0.723 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005349/1.289, allocations: 144 kB / 0.7231 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005652/1.295, allocations: 2.089 MB / 0.7251 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/1.295, allocations: 0 / 0.7251 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008516/1.303, allocations: 2.262 MB / 0.7273 GB, free: 0.6289 MB / 0.5294 GB 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.001009/1.304, allocations: 294.2 kB / 0.7276 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.319, allocations: 7.164 MB / 0.7346 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.487e-05/1.319, allocations: 2 kB / 0.7346 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007634/1.327, allocations: 3.42 MB / 0.738 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/1.333, allocations: 0.7865 MB / 0.7387 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2748/1.607, allocations: 15.98 MB / 0.7543 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/1.613, allocations: 5.293 MB / 0.7595 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.615, allocations: 394.8 kB / 0.7599 GB, free: 178.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.844e-06/1.615, allocations: 0 / 0.7599 GB, free: 178.4 MB / 0.545 GB Notification: Performance of Templates: time 0.4287/2.043, allocations: 199.8 MB / 0.955 GB, free: 186.4 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.64863796113059]