Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009108/0.0009108, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.0009652/0.0009653, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.2 MB / 241.1 MB, free: 5.477 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002383/0.0002384, allocations: 5.25 kB / 300.7 MB, free: 5.961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08841, allocations: 50.43 MB / 351.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01212/0.1005, allocations: 13.26 MB / 364.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007587/0.1082, allocations: 4.379 MB / 368.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.1095, allocations: 111.7 kB / 368.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.1113, allocations: 0.9055 MB / 369.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.1154, allocations: 1.623 MB / 371.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.1178, allocations: 1.201 MB / 372.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.1291, allocations: 9.13 MB / 381.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02898/0.1581, allocations: 17.18 MB / 399 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.1627, allocations: 3.575 MB / 402.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/0.1676, allocations: 3.926 MB / 406.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008966/0.1685, allocations: 0.5625 MB / 407 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.1703, allocations: 0.7926 MB / 407.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.1717, allocations: 1.709 MB / 409.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.1734, allocations: 1.771 MB / 411.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3336/0.507, allocations: 15.38 MB / 426.7 MB, free: 24.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5071, allocations: 0 / 426.7 MB, free: 24.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5071, allocations: 0 / 426.7 MB, free: 24.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005146/0.5076, allocations: 0 / 426.7 MB, free: 24.24 MB / 350.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.5358, allocations: 10.31 MB / 437 MB, free: 21.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5358, allocations: 8.25 kB / 437 MB, free: 21.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/0.5706, allocations: 6.267 MB / 443.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.5841, allocations: 5.578 MB / 448.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006665/0.5848, allocations: 0.6712 MB / 449.5 MB, free: 19.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.5882, allocations: 0.8741 MB / 450.4 MB, free: 19.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/0.6207, allocations: 14.61 MB / 465 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004108/0.6211, allocations: 7.906 kB / 465 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00269/0.6238, allocations: 375.4 kB / 465.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000444/0.6243, allocations: 0.4927 MB / 465.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.6478, allocations: 13.49 MB / 479.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07991/0.7278, allocations: 44.7 MB / 0.5118 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.7406, allocations: 11.69 MB / 0.5232 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005059/0.7411, allocations: 185.7 kB / 0.5233 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/0.7412, allocations: 86.22 kB / 0.5234 GB, free: 9.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 7.585e-06/0.7412, allocations: 0 / 0.5234 GB, free: 9.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02366/0.7649, allocations: 10.29 MB / 0.5335 GB, free: 15.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.765, allocations: 125.1 kB / 0.5336 GB, free: 14.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.7701, allocations: 3.124 MB / 0.5367 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006799/0.7708, allocations: 93.7 kB / 0.5367 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.7731, allocations: 3.68 MB / 0.5403 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/0.7748, allocations: 1.434 MB / 0.5417 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006784/0.7755, allocations: 116 kB / 0.5418 GB, free: 6.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004432/0.7759, allocations: 0.5498 MB / 0.5424 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/0.7808, allocations: 2.908 MB / 0.5452 GB, free: 2.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006093/0.7869, allocations: 4.951 MB / 0.5501 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/0.7928, allocations: 4.028 MB / 0.554 GB, free: 9.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/0.7929, allocations: 20 kB / 0.554 GB, free: 9.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01566/0.8086, allocations: 9.204 MB / 0.563 GB, free: 284 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.8087, allocations: 36.03 kB / 0.563 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.8088, allocations: 68 kB / 0.5631 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.8121, allocations: 1.097 MB / 0.5642 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/0.8173, allocations: 1.296 MB / 0.5654 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.8312, allocations: 10.08 MB / 0.5753 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/0.8357, allocations: 0.7394 MB / 0.576 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000985/0.8367, allocations: 280.2 kB / 0.5763 GB, free: 2.559 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006189/0.8429, allocations: 3.425 MB / 0.5796 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/0.8442, allocations: 351.5 kB / 0.5799 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.857, allocations: 7.053 MB / 0.5868 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009359/0.8664, allocations: 5.862 MB / 0.5926 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.382e-05/0.8664, allocations: 12 kB / 0.5926 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/0.8665, allocations: 19.92 kB / 0.5926 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2079/1.074, allocations: 15.11 MB / 0.6073 GB, free: 162.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.074, allocations: 7.844 kB / 0.6074 GB, free: 162.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/1.077, allocations: 0.7624 MB / 0.6081 GB, free: 162.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/1.08, allocations: 1.02 MB / 0.6091 GB, free: 162.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004403/1.081, allocations: 102.5 kB / 0.6092 GB, free: 162.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.093, allocations: 9.953 MB / 0.6189 GB, free: 156.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.093, allocations: 8.562 kB / 0.6189 GB, free: 156.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.107, allocations: 11.14 MB / 0.6298 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/1.109, allocations: 0.9891 MB / 0.6308 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/1.11, allocations: 88.22 kB / 0.6309 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.112, allocations: 268.2 kB / 0.6311 GB, free: 150.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.112, allocations: 312.2 kB / 0.6314 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.113, allocations: 127.8 kB / 0.6315 GB, free: 150.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002578/1.115, allocations: 2.098 MB / 0.6336 GB, free: 148.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 0.6336 GB, free: 148.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005694/1.121, allocations: 2.239 MB / 0.6358 GB, free: 146.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005677/1.122, allocations: 288.8 kB / 0.636 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009923/1.131, allocations: 7.538 MB / 0.6434 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.132, allocations: 4 kB / 0.6434 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00506/1.137, allocations: 3.664 MB / 0.647 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.14, allocations: 0.6828 MB / 0.6476 GB, free: 136.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.164, allocations: 18.91 MB / 0.6661 GB, free: 117.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004857/1.169, allocations: 6.059 MB / 0.672 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005059/1.174, allocations: 2.13 MB / 0.6741 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/1.175, allocations: 319.4 kB / 0.6744 GB, free: 108.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/1.175, allocations: 0 / 0.6744 GB, free: 108.6 MB / 478.1 MB Notification: Performance of Templates: time 0.08053/1.256, allocations: 56.87 MB / 0.73 GB, free: 52.05 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches