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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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=4000,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=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 378.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2502, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01828/0.2685, allocations: 14.32 MB / 446 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2787, allocations: 4.552 MB / 450.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.2809, allocations: 159.2 kB / 450.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01637/0.2972, allocations: 6.684 MB / 457.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00681/0.304, allocations: 1.993 MB / 459.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.3077, allocations: 1.514 MB / 460.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.3189, allocations: 9.609 MB / 470.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01946/0.3383, allocations: 13.47 MB / 483.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.3451, allocations: 5.37 MB / 489.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009348/0.3544, allocations: 5.836 MB / 495.1 MB, free: 6.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003161/0.3576, allocations: 1.359 MB / 496.5 MB, free: 5.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.3617, allocations: 1.656 MB / 498.2 MB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.3645, allocations: 2.798 MB / 0.4892 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006402/0.3709, allocations: 4.191 MB / 0.4933 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01979/0.3907, allocations: 18.49 MB / 0.5114 GB, free: 10.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3907, allocations: 0 / 0.5114 GB, free: 10.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3907, allocations: 0 / 0.5114 GB, free: 10.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003844/0.3911, allocations: 0 / 0.5114 GB, free: 10.11 MB / 430.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.03121/0.4223, allocations: 12.25 MB / 0.5233 GB, free: 13.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4223, allocations: 15.97 kB / 0.5234 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0355/0.4578, allocations: 6.191 MB / 0.5294 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.4729, allocations: 5.925 MB / 0.5352 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007738/0.4736, allocations: 0.6781 MB / 0.5358 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.4765, allocations: 0.8827 MB / 0.5367 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3904/0.8669, allocations: 14.96 MB / 0.5513 GB, free: 84.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.8672, allocations: 7.172 kB / 0.5513 GB, free: 84.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001425/0.8686, allocations: 376.7 kB / 0.5517 GB, free: 83.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003444/0.8689, allocations: 499.6 kB / 0.5522 GB, free: 83.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.8881, allocations: 13.51 MB / 0.5654 GB, free: 71.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05324/0.9413, allocations: 38.55 MB / 0.603 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.9496, allocations: 5.968 MB / 0.6088 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.9528, allocations: 2.859 MB / 0.6116 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.9531, allocations: 119.9 kB / 0.6117 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.9531, allocations: 74.56 kB / 0.6118 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.384e-06/0.9531, allocations: 0 / 0.6118 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01761/0.9708, allocations: 9.438 MB / 0.621 GB, free: 14.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.9708, allocations: 121.1 kB / 0.6211 GB, free: 14.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/0.9757, allocations: 3.226 MB / 0.6243 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.9761, allocations: 93.7 kB / 0.6244 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.9778, allocations: 3.824 MB / 0.6281 GB, free: 8.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.9789, allocations: 1.457 MB / 0.6295 GB, free: 6.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/0.9806, allocations: 1.152 MB / 0.6307 GB, free: 5.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.9807, allocations: 305.1 kB / 0.631 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/0.9842, allocations: 2.841 MB / 0.6337 GB, free: 2.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00579/0.99, allocations: 4.912 MB / 0.6385 GB, free: 12.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.002, allocations: 8.271 MB / 0.6466 GB, free: 3.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.201e-05/1.002, allocations: 20 kB / 0.6466 GB, free: 3.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01728/1.019, allocations: 9.101 MB / 0.6555 GB, free: 10.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/1.02, allocations: 36 kB / 0.6555 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.02, allocations: 67.94 kB / 0.6556 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.023, allocations: 1.146 MB / 0.6567 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004912/1.028, allocations: 1.302 MB / 0.658 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.045, allocations: 10.4 MB / 0.6681 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/1.051, allocations: 0.7491 MB / 0.6689 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.052, allocations: 280 kB / 0.6691 GB, free: 11.96 MB / 494.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.006593/1.059, allocations: 3.423 MB / 0.6725 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.06, allocations: 361.7 kB / 0.6728 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/1.073, allocations: 6.874 MB / 0.6795 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01037/1.084, allocations: 5.729 MB / 0.6851 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.084, allocations: 8 kB / 0.6851 GB, free: 11.52 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/1.084, allocations: 27.86 kB / 0.6852 GB, free: 11.5 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/1.111, allocations: 13.45 MB / 0.6983 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/1.111, allocations: 12 kB / 0.6983 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/1.114, allocations: 0.7918 MB / 0.6991 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/1.118, allocations: 1.068 MB / 0.7001 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/1.118, allocations: 112 kB / 0.7002 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/1.135, allocations: 10.14 MB / 0.7102 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.862e-05/1.135, allocations: 19.88 kB / 0.7102 GB, free: 1.52 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/1.153, allocations: 10.69 MB / 0.7206 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/1.156, allocations: 0.9609 MB / 0.7216 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007768/1.156, allocations: 95.98 kB / 0.7216 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/1.159, allocations: 275.8 kB / 0.7219 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007657/1.16, allocations: 363 kB / 0.7223 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/1.16, allocations: 148 kB / 0.7224 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004197/1.164, allocations: 2.089 MB / 0.7244 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/1.164, allocations: 0 / 0.7244 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006948/1.171, allocations: 2.251 MB / 0.7266 GB, free: 412 kB / 0.5294 GB 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.0007935/1.172, allocations: 302.1 kB / 0.7269 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01427/1.186, allocations: 7.165 MB / 0.7339 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.954e-05/1.186, allocations: 7.938 kB / 0.7339 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00788/1.194, allocations: 3.413 MB / 0.7373 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/1.199, allocations: 0.79 MB / 0.738 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2537/1.453, allocations: 16.23 MB / 0.7539 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005545/1.458, allocations: 5.47 MB / 0.7592 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004602/1.463, allocations: 2.155 MB / 0.7613 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008685/1.464, allocations: 344.8 kB / 0.7617 GB, free: 178.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.464, allocations: 0 / 0.7617 GB, free: 178.1 MB / 0.545 GB Notification: Performance of Templates: time 0.09594/1.56, allocations: 63.86 MB / 0.824 GB, free: 122.6 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.815548054873943]