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.001297/0.001297, 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.001291/0.001291, 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.356/1.356, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001322/0.001322, allocations: 59.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09918, 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.01724/0.1165, allocations: 16.53 MB / 345.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.1276, allocations: 4.65 MB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.1318, allocations: 111.7 kB / 350 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01578/0.1476, allocations: 7.169 MB / 357.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006983/0.1546, allocations: 1.869 MB / 359.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004909/0.1595, allocations: 1.632 MB / 360.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01264/0.1722, allocations: 9.399 MB / 370.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2275/0.3998, allocations: 20.84 MB / 390.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008032/0.4079, allocations: 5.23 MB / 396.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.4183, allocations: 5.871 MB / 402 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003646/0.4219, allocations: 1.358 MB / 403.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005438/0.4274, allocations: 1.643 MB / 405 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004756/0.4322, allocations: 2.791 MB / 407.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007987/0.4402, allocations: 5.363 MB / 413.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.4567, allocations: 18.19 MB / 431.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4567, allocations: 4 kB / 431.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4567, allocations: 0 / 431.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005318/0.4573, allocations: 0 / 431.4 MB, free: 9.012 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.03718/0.4945, allocations: 12.12 MB / 443.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4945, allocations: 8.031 kB / 443.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03628/0.5308, allocations: 6.238 MB / 449.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.5436, allocations: 5.167 MB / 454.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006753/0.5443, allocations: 0.6732 MB / 455.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.5478, allocations: 0.872 MB / 456.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03875/0.5866, allocations: 14.71 MB / 471.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004123/0.587, allocations: 11.89 kB / 471.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/0.5903, allocations: 374.2 kB / 471.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.5909, allocations: 499.3 kB / 472.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02907/0.6199, allocations: 13.52 MB / 485.6 MB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08396/0.7039, allocations: 44.06 MB / 0.5172 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/0.7178, allocations: 11.64 MB / 0.5286 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005275/0.7231, allocations: 3.157 MB / 0.5317 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.7237, allocations: 171.8 kB / 0.5318 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.7239, allocations: 89.59 kB / 0.5319 GB, free: 6.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.224e-06/0.7239, allocations: 4 kB / 0.5319 GB, free: 6.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.3722/1.096, allocations: 9.58 MB / 0.5413 GB, free: 146.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/1.096, allocations: 121.2 kB / 0.5414 GB, free: 146.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005832/1.102, allocations: 3.153 MB / 0.5445 GB, free: 146.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006678/1.103, allocations: 88.3 kB / 0.5446 GB, free: 146.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.105, allocations: 3.704 MB / 0.5482 GB, free: 143.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/1.107, allocations: 1.386 MB / 0.5495 GB, free: 142.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/1.108, allocations: 1.132 MB / 0.5506 GB, free: 142.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/1.108, allocations: 309.9 kB / 0.5509 GB, free: 141.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/1.113, allocations: 2.835 MB / 0.5537 GB, free: 140.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005028/1.118, allocations: 4.9 MB / 0.5585 GB, free: 137.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009065/1.127, allocations: 8.254 MB / 0.5665 GB, free: 132 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-05/1.127, allocations: 15.88 kB / 0.5666 GB, free: 132 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01242/1.139, allocations: 9.108 MB / 0.5755 GB, free: 128.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/1.139, allocations: 37.66 kB / 0.5755 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.298e-05/1.139, allocations: 66.56 kB / 0.5755 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/1.142, allocations: 1.152 MB / 0.5767 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/1.146, allocations: 1.286 MB / 0.5779 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.158, allocations: 10.8 MB / 0.5885 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.162, allocations: 0.7379 MB / 0.5892 GB, free: 120.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/1.163, allocations: 275.5 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.004791/1.168, allocations: 3.429 MB / 0.5928 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007168/1.169, allocations: 345.8 kB / 0.5931 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009631/1.178, allocations: 6.91 MB / 0.5999 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006912/1.185, allocations: 5.737 MB / 0.6055 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.185, allocations: 14.06 kB / 0.6055 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/1.185, allocations: 19.92 kB / 0.6055 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/1.206, allocations: 15.22 MB / 0.6204 GB, free: 89.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.206, allocations: 12 kB / 0.6204 GB, free: 89.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/1.208, allocations: 0.7918 MB / 0.6212 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.211, allocations: 1.064 MB / 0.6222 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003228/1.211, allocations: 111.9 kB / 0.6223 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.222, allocations: 10.57 MB / 0.6326 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.223, allocations: 19.88 kB / 0.6327 GB, free: 76.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.235, allocations: 10.68 MB / 0.6431 GB, free: 65.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/1.238, allocations: 0.9874 MB / 0.6441 GB, free: 64.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/1.238, allocations: 95.98 kB / 0.6441 GB, free: 64.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.24, allocations: 275.8 kB / 0.6444 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/1.241, allocations: 350.4 kB / 0.6447 GB, free: 63.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.241, allocations: 136 kB / 0.6449 GB, free: 63.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002564/1.244, allocations: 2.129 MB / 0.647 GB, free: 61.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.244, allocations: 0 / 0.647 GB, free: 61.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005467/1.249, allocations: 2.229 MB / 0.6491 GB, free: 59.48 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.0006591/1.25, allocations: 299.5 kB / 0.6494 GB, free: 59.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00977/1.26, allocations: 7.45 MB / 0.6567 GB, free: 51.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.26, allocations: 5.297 kB / 0.6567 GB, free: 51.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004895/1.264, allocations: 3.65 MB / 0.6603 GB, free: 48.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.268, allocations: 0.8023 MB / 0.661 GB, free: 47.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.292, allocations: 15.96 MB / 0.6766 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007425/1.3, allocations: 5.93 MB / 0.6824 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005683/1.305, allocations: 2.154 MB / 0.6845 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.307, allocations: 323.4 kB / 0.6848 GB, free: 22.66 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/1.307, allocations: 0 / 0.6848 GB, free: 22.66 MB / 446.1 MB Notification: Performance of Templates: time 0.282/1.589, 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 cvode -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