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.001707/0.001707, allocations: 84.25 kB / 20.68 MB, free: 1.039 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.001399/0.001399, allocations: 158.4 kB / 23.95 MB, free: 4.168 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.467/1.467, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.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 1.633e-06/1.633e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.346e-05, allocations: 4.953 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01865/0.01867, allocations: 14.32 MB / 339.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.02975, allocations: 4.564 MB / 343.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.03309, allocations: 163.2 kB / 344.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01814/0.05122, allocations: 7.067 MB / 351.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007765/0.05899, allocations: 2.034 MB / 353.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.06351, allocations: 1.518 MB / 354.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01407/0.07758, allocations: 9.925 MB / 364.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02621/0.1038, allocations: 13.49 MB / 378.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.1177, allocations: 7.734 MB / 385.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.128, allocations: 5.259 MB / 391.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004087/0.132, allocations: 1.359 MB / 392.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/0.1377, allocations: 1.667 MB / 394.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004198/0.1419, allocations: 2.852 MB / 397 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00792/0.1498, allocations: 3.598 MB / 400.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.1734, allocations: 18.66 MB / 419.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1734, allocations: 3.938 kB / 419.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1734, allocations: 0 / 419.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004554/0.1739, allocations: 0 / 419.2 MB, free: 6.477 MB / 382.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.03673/0.2106, allocations: 12.16 MB / 431.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2107, allocations: 11.98 kB / 431.4 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03864/0.2493, allocations: 6.195 MB / 437.6 MB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.2628, allocations: 5.921 MB / 443.5 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/0.2634, allocations: 0.6781 MB / 444.2 MB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002791/0.2662, allocations: 0.8749 MB / 445.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.2978, allocations: 14.98 MB / 460.1 MB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/0.2979, allocations: 7.953 kB / 460.1 MB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.2992, allocations: 372 kB / 460.4 MB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005355/0.2997, allocations: 0.4914 MB / 460.9 MB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3287/0.6284, allocations: 13.5 MB / 474.4 MB, free: 111.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05513/0.6835, allocations: 38.57 MB / 0.501 GB, free: 89.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00841/0.6919, allocations: 5.965 MB / 0.5068 GB, free: 86.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.6952, allocations: 2.858 MB / 0.5096 GB, free: 84.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.6955, allocations: 111.6 kB / 0.5097 GB, free: 84.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.6956, allocations: 82.55 kB / 0.5098 GB, free: 84.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=409): time 7.584e-06/0.6956, allocations: 0 / 0.5098 GB, free: 84.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=409): time 0.01778/0.7133, allocations: 9.427 MB / 0.519 GB, free: 74.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.7134, allocations: 125 kB / 0.5191 GB, free: 74.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.7169, allocations: 3.229 MB / 0.5223 GB, free: 71.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.7171, allocations: 89.7 kB / 0.5223 GB, free: 71.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.7185, allocations: 3.817 MB / 0.5261 GB, free: 67.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007635/0.7193, allocations: 1.447 MB / 0.5275 GB, free: 66.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.7206, allocations: 1.132 MB / 0.5286 GB, free: 65.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.7207, allocations: 301.1 kB / 0.5289 GB, free: 64.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/0.7239, allocations: 2.849 MB / 0.5317 GB, free: 62.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.7279, allocations: 4.904 MB / 0.5365 GB, free: 56.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/0.7355, allocations: 8.271 MB / 0.5445 GB, free: 47.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.582e-05/0.7356, allocations: 20 kB / 0.5445 GB, free: 47.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01256/0.7482, allocations: 9.109 MB / 0.5534 GB, free: 37.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.7482, allocations: 36 kB / 0.5535 GB, free: 37.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.191e-05/0.7483, allocations: 64 kB / 0.5535 GB, free: 37.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.7513, allocations: 1.156 MB / 0.5547 GB, free: 36.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/0.7556, allocations: 1.299 MB / 0.5559 GB, free: 35.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.7674, allocations: 10.37 MB / 0.5661 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.7716, allocations: 0.7414 MB / 0.5668 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006447/0.7722, allocations: 280 kB / 0.5671 GB, free: 23.75 MB / 430.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.004702/0.7769, allocations: 3.423 MB / 0.5704 GB, free: 20.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/0.7776, allocations: 369.5 kB / 0.5708 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/0.7875, allocations: 6.878 MB / 0.5775 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007628/0.7951, allocations: 5.725 MB / 0.5831 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.7952, allocations: 8 kB / 0.5831 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.7952, allocations: 27.91 kB / 0.5831 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/0.8176, allocations: 13.45 MB / 0.5962 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.8176, allocations: 15.94 kB / 0.5962 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/0.8211, allocations: 0.7995 MB / 0.597 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003432/0.8246, allocations: 1.06 MB / 0.5981 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/0.8249, allocations: 116.2 kB / 0.5982 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.8413, allocations: 10.15 MB / 0.6081 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/0.8413, allocations: 19.92 kB / 0.6081 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.86, allocations: 10.66 MB / 0.6185 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/0.8624, allocations: 0.9609 MB / 0.6195 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/0.863, allocations: 96 kB / 0.6195 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/0.8653, allocations: 275.7 kB / 0.6198 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008286/0.8661, allocations: 359 kB / 0.6202 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003204/0.8664, allocations: 148 kB / 0.6203 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00349/0.8699, allocations: 2.089 MB / 0.6223 GB, free: 14.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8699, allocations: 0 / 0.6223 GB, free: 14.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006386/0.8763, allocations: 2.258 MB / 0.6245 GB, free: 12.24 MB / 478.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.0007506/0.8771, allocations: 291.1 kB / 0.6248 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01336/0.8904, allocations: 7.162 MB / 0.6318 GB, free: 4.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/0.8904, allocations: 4 kB / 0.6318 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006644/0.8971, allocations: 3.421 MB / 0.6352 GB, free: 1.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/0.9015, allocations: 0.7914 MB / 0.6359 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1918/1.093, allocations: 16.13 MB / 0.6517 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004853/1.098, allocations: 5.467 MB / 0.657 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004106/1.102, allocations: 2.162 MB / 0.6591 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/1.103, allocations: 344.1 kB / 0.6595 GB, free: 143.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/1.103, allocations: 0 / 0.6595 GB, free: 143.8 MB / 478.1 MB Notification: Performance of Templates: time 0.08066/1.184, allocations: 55.2 MB / 0.7134 GB, free: 95.61 MB / 478.1 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=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.533944521099329]