Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 205.8 kB / 18.92 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 53.41 kB / 307.1 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2101/0.324, allocations: 16.32 MB / 374 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3354, allocations: 4.653 MB / 378.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004601/0.3401, allocations: 126.3 kB / 378.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.3562, allocations: 6.802 MB / 385.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009004/0.3652, allocations: 1.758 MB / 387.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.3702, allocations: 1.444 MB / 388.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.3835, allocations: 9.495 MB / 398.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04195/0.4255, allocations: 24.28 MB / 422.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.4359, allocations: 5.295 MB / 427.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.4469, allocations: 5.958 MB / 433.8 MB, free: 168 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004373/0.4514, allocations: 1.359 MB / 435.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/0.4584, allocations: 1.668 MB / 436.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00566/0.4641, allocations: 2.806 MB / 439.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0119/0.4761, allocations: 5.354 MB / 445 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.4956, allocations: 15.96 MB / 461 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4957, allocations: 0 / 461 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4957, allocations: 4 kB / 461 MB, free: 4.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005908/0.4963, allocations: 0 / 461 MB, free: 4.949 MB / 366.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.03964/0.5359, allocations: 12.22 MB / 473.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.536, allocations: 12.03 kB / 473.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03674/0.5728, allocations: 6.108 MB / 479.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.5855, allocations: 5.651 MB / 485 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007654/0.5863, allocations: 0.6704 MB / 485.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00379/0.5901, allocations: 0.8827 MB / 486.5 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03822/0.6283, allocations: 14.78 MB / 0.4895 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/0.6287, allocations: 11.91 kB / 0.4896 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002419/0.6311, allocations: 376 kB / 0.4899 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006282/0.6317, allocations: 499.3 kB / 0.4904 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/0.661, allocations: 13.6 MB / 0.5037 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5267/1.188, allocations: 45.12 MB / 0.5477 GB, free: 113.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.201, allocations: 11.74 MB / 0.5592 GB, free: 106.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004766/1.205, allocations: 3.24 MB / 0.5624 GB, free: 105.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/1.206, allocations: 291.9 kB / 0.5626 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.206, allocations: 74.41 kB / 0.5627 GB, free: 105.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.022e-06/1.206, allocations: 3.375 kB / 0.5627 GB, free: 105.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02087/1.227, allocations: 9.752 MB / 0.5722 GB, free: 102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/1.227, allocations: 124.3 kB / 0.5723 GB, free: 101.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.232, allocations: 3.153 MB / 0.5754 GB, free: 100.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008286/1.233, allocations: 88.89 kB / 0.5755 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002183/1.235, allocations: 3.689 MB / 0.5791 GB, free: 97.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.237, allocations: 1.428 MB / 0.5805 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/1.238, allocations: 1.149 MB / 0.5816 GB, free: 95.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/1.238, allocations: 305.1 kB / 0.5819 GB, free: 95.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.242, allocations: 2.923 MB / 0.5848 GB, free: 94.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005007/1.247, allocations: 4.978 MB / 0.5896 GB, free: 89.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/1.257, allocations: 8.421 MB / 0.5979 GB, free: 83.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.257, allocations: 23.53 kB / 0.5979 GB, free: 83.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01563/1.273, allocations: 9.27 MB / 0.6069 GB, free: 75.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/1.273, allocations: 35.94 kB / 0.607 GB, free: 75.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/1.273, allocations: 68 kB / 0.607 GB, free: 75.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/1.276, allocations: 1.122 MB / 0.6081 GB, free: 74.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.281, allocations: 1.302 MB / 0.6094 GB, free: 72.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.294, allocations: 10.73 MB / 0.6199 GB, free: 61.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.299, allocations: 0.7356 MB / 0.6206 GB, free: 61.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.301, allocations: 284 kB / 0.6209 GB, free: 60.86 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.007508/1.308, allocations: 3.427 MB / 0.6242 GB, free: 57.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.31, allocations: 351.6 kB / 0.6245 GB, free: 57.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.321, allocations: 7.046 MB / 0.6314 GB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00835/1.33, allocations: 5.909 MB / 0.6372 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.401e-05/1.33, allocations: 12 kB / 0.6372 GB, free: 43.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.991e-05/1.33, allocations: 19.92 kB / 0.6372 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/1.356, allocations: 15.59 MB / 0.6525 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.356, allocations: 12 kB / 0.6525 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.359, allocations: 0.7957 MB / 0.6532 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/1.362, allocations: 1.04 MB / 0.6543 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005946/1.363, allocations: 119.9 kB / 0.6544 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.375, allocations: 10.49 MB / 0.6646 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.375, allocations: 23.81 kB / 0.6646 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/1.391, allocations: 10.95 MB / 0.6753 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.394, allocations: 1.003 MB / 0.6763 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007691/1.394, allocations: 100 kB / 0.6764 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.397, allocations: 271.7 kB / 0.6767 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.397, allocations: 355.1 kB / 0.677 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.398, allocations: 148 kB / 0.6771 GB, free: 2.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002721/1.4, allocations: 2.125 MB / 0.6792 GB, free: 296 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.401, allocations: 0 / 0.6792 GB, free: 296 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.007705/1.408, allocations: 2.228 MB / 0.6814 GB, free: 14.05 MB / 462.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.001162/1.409, allocations: 300.8 kB / 0.6817 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02574/1.435, allocations: 11.67 MB / 0.6931 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/1.435, allocations: 4 kB / 0.6931 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007972/1.443, allocations: 3.728 MB / 0.6967 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005075/1.448, allocations: 0.8035 MB / 0.6975 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2732/1.722, allocations: 19.61 MB / 0.7167 GB, free: 143.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009649/1.731, allocations: 5.767 MB / 0.7223 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.733, allocations: 396.4 kB / 0.7227 GB, free: 142.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.733, allocations: 0.7812 kB / 0.7227 GB, free: 142.4 MB / 478.1 MB Notification: Performance of Templates: time 0.4898/2.223, allocations: 195.1 MB / 0.9132 GB, free: 138.9 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches