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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,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=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 108.4 kB / 18.36 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 191 kB / 19.29 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.0775, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01609/0.09362, allocations: 16.53 MB / 345.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.1025, allocations: 4.646 MB / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1044, allocations: 111.7 kB / 350 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.1189, allocations: 7.176 MB / 357.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.1243, allocations: 1.869 MB / 359.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.1284, allocations: 1.617 MB / 360.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.1395, allocations: 9.407 MB / 370.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.173/0.3126, allocations: 20.83 MB / 390.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006627/0.3193, allocations: 5.234 MB / 396.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007616/0.3269, allocations: 5.869 MB / 402 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.3288, allocations: 1.356 MB / 403.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.3313, allocations: 1.648 MB / 405 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.333, allocations: 2.796 MB / 407.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003999/0.337, allocations: 5.353 MB / 413.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.3488, allocations: 18.19 MB / 431.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3488, allocations: 0 / 431.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3488, allocations: 4 kB / 431.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003236/0.3492, allocations: 0 / 431.4 MB, free: 9.078 MB / 334.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.03001/0.3792, allocations: 12.12 MB / 443.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3793, allocations: 19.97 kB / 443.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03419/0.4135, allocations: 6.231 MB / 449.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.4262, allocations: 5.17 MB / 454.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/0.4268, allocations: 0.6687 MB / 455.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.4298, allocations: 0.8783 MB / 456.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02926/0.4591, allocations: 14.71 MB / 471.2 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.4593, allocations: 11.89 kB / 471.2 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/0.4604, allocations: 382.3 kB / 471.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/0.4608, allocations: 491.3 kB / 472 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/0.4837, allocations: 13.53 MB / 485.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06391/0.5477, allocations: 44.06 MB / 0.5172 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/0.5595, allocations: 11.64 MB / 0.5286 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/0.5639, allocations: 3.154 MB / 0.5317 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.5643, allocations: 184.4 kB / 0.5318 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.5644, allocations: 77.61 kB / 0.5319 GB, free: 6.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.291e-06/0.5644, allocations: 0 / 0.5319 GB, free: 6.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.2835/0.8478, allocations: 9.588 MB / 0.5413 GB, free: 146.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.8479, allocations: 121 kB / 0.5414 GB, free: 146.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.8522, allocations: 3.153 MB / 0.5445 GB, free: 146.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.8526, allocations: 92.33 kB / 0.5446 GB, free: 146.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.8543, allocations: 3.702 MB / 0.5482 GB, free: 143.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009573/0.8552, allocations: 1.387 MB / 0.5495 GB, free: 142.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.8567, allocations: 1.125 MB / 0.5506 GB, free: 142.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.8568, allocations: 309.2 kB / 0.5509 GB, free: 141.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/0.8604, allocations: 2.833 MB / 0.5537 GB, free: 140.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/0.8645, allocations: 4.902 MB / 0.5585 GB, free: 137.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007114/0.8717, allocations: 8.256 MB / 0.5665 GB, free: 132 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.868e-05/0.8717, allocations: 19.88 kB / 0.5666 GB, free: 132 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0114/0.8831, allocations: 9.1 MB / 0.5754 GB, free: 128.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.8832, allocations: 40.88 kB / 0.5755 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.498e-05/0.8833, allocations: 66.44 kB / 0.5755 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.886, allocations: 1.146 MB / 0.5767 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.89, allocations: 1.291 MB / 0.5779 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.9017, allocations: 10.8 MB / 0.5885 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.9054, allocations: 0.7407 MB / 0.5892 GB, free: 120.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/0.9061, allocations: 271.6 kB / 0.5895 GB, free: 120 MB / 446.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.004214/0.9104, allocations: 3.428 MB / 0.5928 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.911, allocations: 347.7 kB / 0.5931 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009935/0.9209, allocations: 6.91 MB / 0.5999 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007137/0.9281, allocations: 5.747 MB / 0.6055 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.681e-05/0.9281, allocations: 12 kB / 0.6055 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/0.9282, allocations: 19.92 kB / 0.6055 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/0.9531, allocations: 15.22 MB / 0.6204 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/0.9532, allocations: 16 kB / 0.6204 GB, free: 89.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002733/0.9559, allocations: 0.7879 MB / 0.6212 GB, free: 88.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/0.9586, allocations: 1.06 MB / 0.6222 GB, free: 87.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/0.959, allocations: 115.9 kB / 0.6223 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.9706, allocations: 10.55 MB / 0.6326 GB, free: 76.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.9706, allocations: 23.88 kB / 0.6327 GB, free: 76.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.9851, allocations: 10.68 MB / 0.6431 GB, free: 65.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/0.9878, allocations: 0.9874 MB / 0.644 GB, free: 64.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/0.9889, allocations: 95.98 kB / 0.6441 GB, free: 64.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/0.9915, allocations: 279.6 kB / 0.6444 GB, free: 64.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/0.9924, allocations: 350.4 kB / 0.6447 GB, free: 64.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/0.9928, allocations: 144 kB / 0.6449 GB, free: 63.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00318/0.996, allocations: 2.125 MB / 0.647 GB, free: 61.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.996, allocations: 0 / 0.647 GB, free: 61.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00603/1.002, allocations: 2.231 MB / 0.6491 GB, free: 59.55 MB / 446.1 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.0008483/1.003, allocations: 290.2 kB / 0.6494 GB, free: 59.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/1.014, allocations: 7.45 MB / 0.6567 GB, free: 51.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.014, allocations: 12.12 kB / 0.6567 GB, free: 51.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00496/1.019, allocations: 3.639 MB / 0.6603 GB, free: 48.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/1.023, allocations: 0.8053 MB / 0.661 GB, free: 47.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.045, allocations: 15.97 MB / 0.6766 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005098/1.051, allocations: 5.93 MB / 0.6824 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004264/1.055, allocations: 2.154 MB / 0.6845 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/1.056, allocations: 319.4 kB / 0.6848 GB, free: 22.75 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/1.056, allocations: 4 kB / 0.6848 GB, free: 22.74 MB / 446.1 MB Notification: Performance of Templates: time 0.2274/1.283, allocations: 56.32 MB / 0.7398 GB, free: 118.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches