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.0007619/0.0007619, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009965/0.001758, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006988/0.0006988, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.00165, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9546/0.9546, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08529/1.04, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.443e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01112/0.01113, allocations: 15.64 MB / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008805/0.01994, allocations: 4.962 MB / 265.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.02243, allocations: 155.2 kB / 265.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00793/0.03036, allocations: 7.622 MB / 273.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1249/0.1552, allocations: 2.007 MB / 275.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.1583, allocations: 1.513 MB / 276.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009353/0.1676, allocations: 9.988 MB / 286.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01618/0.1838, allocations: 13.51 MB / 300.4 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009962/0.1938, allocations: 8.006 MB / 308.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006703/0.2005, allocations: 6.068 MB / 314.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002749/0.2032, allocations: 1.359 MB / 315.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.2072, allocations: 1.675 MB / 317.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.2095, allocations: 2.264 MB / 319.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00489/0.2144, allocations: 3.011 MB / 322.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009221/0.2236, allocations: 8.871 MB / 331.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.2236, allocations: 0.7812 kB / 331.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2236, allocations: 0 / 331.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003414/0.224, allocations: 0 / 331.7 MB, free: 12.24 MB / 314.7 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.0178/0.2418, allocations: 12.99 MB / 344.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2418, allocations: 8.625 kB / 344.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.2584, allocations: 6.188 MB / 350.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.2646, allocations: 3.105 MB / 354 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.265, allocations: 0.6687 MB / 354.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.2665, allocations: 0.8846 MB / 355.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.2773, allocations: 7.59 MB / 363.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.2774, allocations: 10.39 kB / 363.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006249/0.278, allocations: 373.9 kB / 363.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003311/0.2784, allocations: 499.3 kB / 364 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005743/0.2841, allocations: 3.901 MB / 367.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03352/0.3176, allocations: 26.83 MB / 394.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.3215, allocations: 3.267 MB / 398 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3226, allocations: 1.008 MB / 399 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.3229, allocations: 135 kB / 399.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.3229, allocations: 82.55 kB / 399.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 7.134e-06/0.3229, allocations: 0 / 399.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007305/0.3302, allocations: 4.058 MB / 403.2 MB, free: 6.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3303, allocations: 121.1 kB / 403.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.3322, allocations: 2.052 MB / 405.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.3324, allocations: 97.7 kB / 405.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.3339, allocations: 3.552 MB / 409.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008493/0.3348, allocations: 1.441 MB / 410.5 MB, free: 172 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.3358, allocations: 1.033 MB / 411.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.3358, allocations: 309.1 kB / 411.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3369, allocations: 0.8315 MB / 412.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.3386, allocations: 2.656 MB / 415.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.3418, allocations: 4.024 MB / 419.4 MB, free: 6.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-05/0.3418, allocations: 23.94 kB / 419.4 MB, free: 6.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.005032/0.3469, allocations: 3.919 MB / 423.3 MB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.3469, allocations: 35.94 kB / 423.3 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.91e-05/0.347, allocations: 68 kB / 423.4 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.349, allocations: 0.9597 MB / 424.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.3516, allocations: 1.322 MB / 425.7 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2413/0.5929, allocations: 5.781 MB / 431.5 MB, free: 90.03 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.5963, allocations: 0.5969 MB / 432.1 MB, free: 90.03 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004847/0.5968, allocations: 224.2 kB / 432.3 MB, free: 90.03 MB / 394.8 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.001947/0.5988, allocations: 493.9 kB / 432.8 MB, free: 89.91 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/0.5996, allocations: 339.7 kB / 433.1 MB, free: 89.91 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/0.6054, allocations: 2.923 MB / 436 MB, free: 89.71 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003115/0.6085, allocations: 1.908 MB / 437.9 MB, free: 89.55 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.6085, allocations: 12.22 kB / 437.9 MB, free: 89.55 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.6086, allocations: 24.56 kB / 438 MB, free: 89.54 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/0.6268, allocations: 8.209 MB / 446.2 MB, free: 88.43 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-05/0.6269, allocations: 15.38 kB / 446.2 MB, free: 88.43 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/0.6302, allocations: 0.7738 MB / 447 MB, free: 88.43 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/0.6328, allocations: 0.567 MB / 447.5 MB, free: 88.33 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.6357, allocations: 0.8855 MB / 448.4 MB, free: 88.28 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007283/0.6365, allocations: 103.9 kB / 448.5 MB, free: 88.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/0.6443, allocations: 5.621 MB / 454.1 MB, free: 85.59 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-05/0.6444, allocations: 19.12 kB / 454.1 MB, free: 85.59 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007706/0.6521, allocations: 4.116 MB / 458.3 MB, free: 84.43 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009643/0.653, allocations: 98.62 kB / 458.4 MB, free: 84.43 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.6549, allocations: 119.1 kB / 458.5 MB, free: 84.42 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005224/0.6554, allocations: 355.4 kB / 458.8 MB, free: 84.41 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.6556, allocations: 103.3 kB / 458.9 MB, free: 84.41 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0009563/0.6566, allocations: 0.9162 MB / 459.8 MB, free: 84.32 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6566, allocations: 0 / 459.8 MB, free: 84.32 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004678/0.6613, allocations: 2.258 MB / 462.1 MB, free: 84.02 MB / 394.8 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.0005414/0.6618, allocations: 282.1 kB / 462.4 MB, free: 83.95 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.6663, allocations: 3.462 MB / 465.8 MB, free: 83.41 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001867/0.6665, allocations: 110 kB / 465.9 MB, free: 83.36 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.6694, allocations: 1.922 MB / 467.9 MB, free: 82.99 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/0.6733, allocations: 1.102 MB / 469 MB, free: 82.88 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05236/0.7256, allocations: 14.02 MB / 483 MB, free: 73.12 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.7278, allocations: 1.867 MB / 484.9 MB, free: 71.81 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002098/0.7299, allocations: 0.6425 MB / 485.5 MB, free: 71.3 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.7314, allocations: 0.8218 MB / 486.3 MB, free: 70.56 MB / 394.8 MB Notification: Performance of SimCode: time 1.482e-06/0.7314, allocations: 0 / 486.3 MB, free: 70.56 MB / 394.8 MB Notification: Performance of Templates: time 0.08535/0.8167, allocations: 62.66 MB / 0.5361 GB, free: 9.461 MB / 394.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.544936693273485]