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.001494/0.001494, allocations: 103.3 kB / 18.4 MB, free: 4.68 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.001685/0.001685, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.354/1.354, 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.00122/0.00122, allocations: 51.92 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07062/0.07185, allocations: 46.61 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1583/0.2302, allocations: 16.53 MB / 392.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.2384, allocations: 4.664 MB / 397 MB, free: 376 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.241, allocations: 115.8 kB / 397.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.2561, allocations: 7.168 MB / 404.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.2615, allocations: 1.856 MB / 406.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2649, allocations: 1.63 MB / 407.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009396/0.2743, allocations: 9.39 MB / 417.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02356/0.2979, allocations: 20.84 MB / 438 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006413/0.3043, allocations: 5.249 MB / 443.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00756/0.3119, allocations: 5.864 MB / 449.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.3137, allocations: 1.359 MB / 450.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.3168, allocations: 1.652 MB / 452.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.3188, allocations: 2.778 MB / 454.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004896/0.3237, allocations: 5.362 MB / 460.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.3381, allocations: 18.19 MB / 478.5 MB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3382, allocations: 4 kB / 478.5 MB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3382, allocations: 0 / 478.5 MB, free: 8.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002324/0.3384, allocations: 0 / 478.5 MB, free: 8.848 MB / 398.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.02818/0.3666, allocations: 12.13 MB / 490.6 MB, free: 12.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3666, allocations: 8.031 kB / 490.6 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03579/0.4024, allocations: 6.229 MB / 496.9 MB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.4129, allocations: 5.176 MB / 0.4903 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/0.4135, allocations: 0.6665 MB / 0.4909 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/0.4163, allocations: 0.8827 MB / 0.4918 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02705/0.4434, allocations: 14.71 MB / 0.5061 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.4436, allocations: 19.83 kB / 0.5062 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009836/0.4446, allocations: 376 kB / 0.5065 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.445, allocations: 495.3 kB / 0.507 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.467, allocations: 13.52 MB / 0.5202 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.333/0.8, allocations: 44.05 MB / 0.5632 GB, free: 120.9 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.8102, allocations: 11.65 MB / 0.5746 GB, free: 114.1 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/0.8142, allocations: 3.164 MB / 0.5777 GB, free: 114.1 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.8145, allocations: 176.6 kB / 0.5778 GB, free: 114 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.8145, allocations: 79.38 kB / 0.5779 GB, free: 114 MB / 478.2 MB Notification: Performance of pre-optimization done (n=409): time 6.432e-06/0.8145, allocations: 3.875 kB / 0.5779 GB, free: 114 MB / 478.2 MB Notification: Performance of matching and sorting (n=409): time 0.0179/0.8325, allocations: 9.592 MB / 0.5873 GB, free: 112.5 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.8325, allocations: 120.3 kB / 0.5874 GB, free: 112.4 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/0.8359, allocations: 3.157 MB / 0.5905 GB, free: 111.3 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.8362, allocations: 92.7 kB / 0.5906 GB, free: 111.3 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.8374, allocations: 3.691 MB / 0.5942 GB, free: 108.5 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006582/0.8381, allocations: 1.392 MB / 0.5955 GB, free: 107.4 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.8393, allocations: 1.13 MB / 0.5966 GB, free: 106.9 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 3.25e-05/0.8394, allocations: 305.1 kB / 0.5969 GB, free: 106.6 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.8425, allocations: 2.838 MB / 0.5997 GB, free: 105.6 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.8463, allocations: 4.898 MB / 0.6045 GB, free: 101.9 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007121/0.8534, allocations: 8.254 MB / 0.6126 GB, free: 96.61 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.8534, allocations: 22.81 kB / 0.6126 GB, free: 96.6 MB / 478.2 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01133/0.8648, allocations: 9.102 MB / 0.6215 GB, free: 91.85 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.8648, allocations: 35.38 kB / 0.6215 GB, free: 91.85 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/0.8649, allocations: 69.62 kB / 0.6216 GB, free: 91.85 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/0.8677, allocations: 1.144 MB / 0.6227 GB, free: 90.78 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/0.8716, allocations: 1.295 MB / 0.6239 GB, free: 89.48 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.8829, allocations: 10.8 MB / 0.6345 GB, free: 78.42 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/0.886, allocations: 0.7433 MB / 0.6352 GB, free: 77.67 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.8863, allocations: 280 kB / 0.6355 GB, free: 77.39 MB / 478.2 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.003844/0.8902, allocations: 3.435 MB / 0.6388 GB, free: 73.95 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.8907, allocations: 343.7 kB / 0.6392 GB, free: 73.61 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009545/0.9002, allocations: 6.909 MB / 0.6459 GB, free: 66.67 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/0.9003, allocations: 19.92 kB / 0.6459 GB, free: 66.65 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.9003, allocations: 1.75 kB / 0.6459 GB, free: 66.65 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.9015, allocations: 0.9445 MB / 0.6469 GB, free: 65.68 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.902, allocations: 72 kB / 0.6469 GB, free: 65.61 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.9037, allocations: 260.5 kB / 0.6472 GB, free: 65.36 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000457/0.9042, allocations: 311.5 kB / 0.6475 GB, free: 65.05 MB / 478.2 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009008/0.9132, allocations: 6.604 MB / 0.6539 GB, free: 58.52 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008335/0.9215, allocations: 8.135 MB / 0.6619 GB, free: 50.33 MB / 478.2 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002385/0.9239, allocations: 2.498 MB / 0.6643 GB, free: 47.83 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.002316/0.9262, allocations: 2.125 MB / 0.6664 GB, free: 45.7 MB / 478.2 MB Notification: Performance of Backend: time 3.91e-07/0.9263, allocations: 0 / 0.6664 GB, free: 45.7 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.00802/0.9343, allocations: 5.395 MB / 0.6717 GB, free: 40.33 MB / 478.2 MB Notification: Performance of SimCode: time 0.01742/0.9517, allocations: 14.51 MB / 0.6858 GB, free: 25.77 MB / 478.2 MB Notification: Performance of Templates: time 0.2635/1.215, allocations: 71.56 MB / 0.7557 GB, free: 161.6 MB / 0.4982 GB 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 -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