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.001116/0.001116, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001101/0.001101, allocations: 190 kB / 18.07 MB, free: 5.414 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.393/1.393, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001295/0.001295, allocations: 43.94 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01739/0.1214, allocations: 16.25 MB / 342.9 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1339, allocations: 4.627 MB / 347.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005772/0.1397, allocations: 111.6 kB / 347.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01603/0.1558, allocations: 6.803 MB / 354.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007384/0.1632, allocations: 1.7 MB / 356.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.1684, allocations: 1.535 MB / 357.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.1812, allocations: 9.497 MB / 367.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2562/0.4375, allocations: 17.62 MB / 384.7 MB, free: 16.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4477, allocations: 4.656 MB / 389.4 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.4601, allocations: 5.73 MB / 395.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004601/0.4647, allocations: 1.005 MB / 396.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005235/0.47, allocations: 1.288 MB / 397.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003426/0.4734, allocations: 2.415 MB / 399.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00947/0.4829, allocations: 4.974 MB / 404.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.499, allocations: 17.84 MB / 422.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.499, allocations: 3.562 kB / 422.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.499, allocations: 3.984 kB / 422.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006218/0.4996, allocations: 0 / 422.7 MB, free: 1.598 MB / 318.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.04242/0.5421, allocations: 12.21 MB / 434.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/0.5422, allocations: 8.031 kB / 434.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03525/0.5774, allocations: 6.193 MB / 441.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.5928, allocations: 5.149 MB / 446.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009786/0.5938, allocations: 0.6807 MB / 446.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004964/0.5988, allocations: 0.8795 MB / 447.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04888/0.6477, allocations: 14.74 MB / 462.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005182/0.6483, allocations: 15.56 kB / 462.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005294/0.6536, allocations: 373.8 kB / 462.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006312/0.6542, allocations: 0.4914 MB / 463.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03434/0.6886, allocations: 13.55 MB / 476.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0957/0.7843, allocations: 44.61 MB / 0.5093 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.7988, allocations: 11.71 MB / 0.5208 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005802/0.8047, allocations: 3.233 MB / 0.5239 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.8052, allocations: 181.9 kB / 0.5241 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.581e-05/0.8054, allocations: 74.56 kB / 0.5242 GB, free: 14.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 7.394e-06/0.8054, allocations: 0 / 0.5242 GB, free: 14.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02257/0.8279, allocations: 9.72 MB / 0.5337 GB, free: 4.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.8281, allocations: 124.6 kB / 0.5338 GB, free: 4.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007025/0.8351, allocations: 3.148 MB / 0.5369 GB, free: 1.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007106/0.8358, allocations: 93.7 kB / 0.5369 GB, free: 1.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.225/1.061, allocations: 3.676 MB / 0.5405 GB, free: 146.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002243/1.063, allocations: 1.435 MB / 0.5419 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.066, allocations: 1.138 MB / 0.543 GB, free: 145.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/1.066, allocations: 302.2 kB / 0.5433 GB, free: 145.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005123/1.071, allocations: 2.912 MB / 0.5462 GB, free: 145.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00672/1.078, allocations: 4.979 MB / 0.551 GB, free: 141.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.089, allocations: 8.405 MB / 0.5593 GB, free: 136.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/1.089, allocations: 19.53 kB / 0.5593 GB, free: 136.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01672/1.106, allocations: 9.235 MB / 0.5683 GB, free: 132.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/1.106, allocations: 39.62 kB / 0.5683 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/1.106, allocations: 69.53 kB / 0.5684 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/1.109, allocations: 1.122 MB / 0.5695 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.113, allocations: 1.288 MB / 0.5707 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.125, allocations: 9.932 MB / 0.5804 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/1.131, allocations: 0.7429 MB / 0.5812 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.132, allocations: 280.6 kB / 0.5814 GB, free: 126.2 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008263/1.141, allocations: 3.422 MB / 0.5848 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.142, allocations: 342.9 kB / 0.5851 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.156, allocations: 7.051 MB / 0.592 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00929/1.165, allocations: 5.863 MB / 0.5977 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.46e-05/1.165, allocations: 15.94 kB / 0.5977 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.509e-05/1.165, allocations: 23.58 kB / 0.5978 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03374/1.199, allocations: 15.55 MB / 0.6129 GB, free: 98.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.758e-05/1.199, allocations: 12 kB / 0.6129 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/1.203, allocations: 0.7918 MB / 0.6137 GB, free: 97.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/1.206, allocations: 1.033 MB / 0.6147 GB, free: 96.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008875/1.207, allocations: 112 kB / 0.6148 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/1.22, allocations: 9.681 MB / 0.6243 GB, free: 86.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/1.22, allocations: 23.88 kB / 0.6243 GB, free: 86.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.239, allocations: 10.93 MB / 0.635 GB, free: 75.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/1.241, allocations: 0.9952 MB / 0.636 GB, free: 74.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/1.243, allocations: 99.98 kB / 0.6361 GB, free: 74.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.246, allocations: 271.8 kB / 0.6363 GB, free: 74.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/1.247, allocations: 351.2 kB / 0.6366 GB, free: 73.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006158/1.248, allocations: 144 kB / 0.6368 GB, free: 73.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004727/1.252, allocations: 2.121 MB / 0.6389 GB, free: 71.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.253, allocations: 0 / 0.6389 GB, free: 71.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01059/1.263, allocations: 2.227 MB / 0.641 GB, free: 69.42 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.001825/1.265, allocations: 298.3 kB / 0.6413 GB, free: 69.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01511/1.28, allocations: 7.587 MB / 0.6487 GB, free: 61.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.449e-05/1.28, allocations: 0 / 0.6487 GB, free: 61.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007882/1.288, allocations: 3.729 MB / 0.6524 GB, free: 57.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/1.295, allocations: 0.7666 MB / 0.6531 GB, free: 57.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/1.333, allocations: 19.96 MB / 0.6726 GB, free: 36.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/1.347, allocations: 5.942 MB / 0.6784 GB, free: 30.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007389/1.355, allocations: 2.154 MB / 0.6805 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.356, allocations: 319.4 kB / 0.6808 GB, free: 28.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/1.356, allocations: 0 / 0.6808 GB, free: 28.42 MB / 446.1 MB Notification: Performance of Templates: time 0.345/1.701, allocations: 59.52 MB / 0.7389 GB, free: 118.2 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../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