Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 82.7 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 169.2 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.123e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0173/0.01732, allocations: 14.33 MB / 339.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02801, allocations: 4.562 MB / 344 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.03091, allocations: 159.2 kB / 344.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01717/0.04809, allocations: 7.085 MB / 351.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007162/0.05525, allocations: 2.035 MB / 353.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.05888, allocations: 1.521 MB / 354.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.07051, allocations: 9.913 MB / 364.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01986/0.09037, allocations: 13.5 MB / 378.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.1017, allocations: 7.742 MB / 385.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008925/0.1107, allocations: 5.259 MB / 391.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.114, allocations: 1.359 MB / 392.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.1183, allocations: 1.667 MB / 394.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002964/0.1213, allocations: 2.852 MB / 397.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006528/0.1278, allocations: 3.598 MB / 400.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01985/0.1477, allocations: 18.65 MB / 419.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1477, allocations: 0 / 419.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1477, allocations: 0 / 419.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002967/0.148, allocations: 4 kB / 419.3 MB, free: 6.562 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.03356/0.1815, allocations: 12.17 MB / 431.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1816, allocations: 12.03 kB / 431.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/0.2184, allocations: 6.199 MB / 437.7 MB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.2316, allocations: 5.924 MB / 443.6 MB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005909/0.2322, allocations: 0.6703 MB / 444.3 MB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.2345, allocations: 0.8749 MB / 445.2 MB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.2659, allocations: 14.97 MB / 460.1 MB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/0.2661, allocations: 7.953 kB / 460.1 MB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.2674, allocations: 372 kB / 460.5 MB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005468/0.2679, allocations: 0.4954 MB / 461 MB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3274/0.5953, allocations: 13.5 MB / 474.5 MB, free: 111.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06014/0.6554, allocations: 38.56 MB / 0.501 GB, free: 89.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008782/0.6642, allocations: 5.969 MB / 0.5069 GB, free: 87.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/0.6676, allocations: 2.863 MB / 0.5097 GB, free: 84.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.6679, allocations: 111.1 kB / 0.5098 GB, free: 84.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.6679, allocations: 82.5 kB / 0.5099 GB, free: 84.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=409): time 7.133e-06/0.6679, allocations: 0 / 0.5099 GB, free: 84.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=409): time 0.01805/0.686, allocations: 9.425 MB / 0.5191 GB, free: 74.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.686, allocations: 125.1 kB / 0.5192 GB, free: 74.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.6896, allocations: 3.234 MB / 0.5223 GB, free: 71.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/0.6898, allocations: 89.7 kB / 0.5224 GB, free: 71.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.6911, allocations: 3.814 MB / 0.5261 GB, free: 68.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007109/0.6918, allocations: 1.444 MB / 0.5276 GB, free: 66.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.6931, allocations: 1.132 MB / 0.5287 GB, free: 65.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.6931, allocations: 309 kB / 0.529 GB, free: 65.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.6962, allocations: 2.838 MB / 0.5317 GB, free: 62.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/0.7001, allocations: 4.912 MB / 0.5365 GB, free: 56.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/0.7076, allocations: 8.271 MB / 0.5446 GB, free: 47.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.7076, allocations: 23.98 kB / 0.5446 GB, free: 47.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01186/0.7194, allocations: 9.101 MB / 0.5535 GB, free: 38.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.7195, allocations: 39.94 kB / 0.5535 GB, free: 38.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.56e-05/0.7196, allocations: 71.92 kB / 0.5536 GB, free: 37.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.7226, allocations: 1.152 MB / 0.5547 GB, free: 36.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.7267, allocations: 1.299 MB / 0.556 GB, free: 35.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.7385, allocations: 10.38 MB / 0.5661 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004108/0.7426, allocations: 0.7414 MB / 0.5669 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/0.7431, allocations: 284 kB / 0.5671 GB, free: 23.92 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.004399/0.7475, allocations: 3.416 MB / 0.5705 GB, free: 20.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.7481, allocations: 365.6 kB / 0.5708 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.7582, allocations: 6.87 MB / 0.5775 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00754/0.7657, allocations: 5.741 MB / 0.5831 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.7657, allocations: 8 kB / 0.5831 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/0.7657, allocations: 23.92 kB / 0.5832 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/0.7877, allocations: 13.46 MB / 0.5963 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.7877, allocations: 15.94 kB / 0.5963 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/0.7911, allocations: 0.7957 MB / 0.5971 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/0.7946, allocations: 1.052 MB / 0.5981 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/0.7952, allocations: 116 kB / 0.5982 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.8112, allocations: 10.15 MB / 0.6082 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/0.8112, allocations: 19.88 kB / 0.6082 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.829, allocations: 10.67 MB / 0.6186 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/0.8313, allocations: 0.9609 MB / 0.6195 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/0.8318, allocations: 99.92 kB / 0.6196 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/0.8342, allocations: 271.7 kB / 0.6199 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007637/0.835, allocations: 359.1 kB / 0.6202 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/0.8353, allocations: 152 kB / 0.6204 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003255/0.8385, allocations: 2.085 MB / 0.6224 GB, free: 14.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8385, allocations: 3.938 kB / 0.6224 GB, free: 14.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006165/0.8447, allocations: 2.258 MB / 0.6246 GB, free: 12.42 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.0007161/0.8454, allocations: 291.2 kB / 0.6249 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01297/0.8584, allocations: 7.17 MB / 0.6319 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/0.8584, allocations: 128 / 0.6319 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006538/0.8649, allocations: 3.424 MB / 0.6352 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/0.8693, allocations: 0.7847 MB / 0.636 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/1.06, allocations: 16.14 MB / 0.6518 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005692/1.066, allocations: 5.464 MB / 0.6571 GB, free: 144.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00424/1.07, allocations: 2.154 MB / 0.6592 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009091/1.071, allocations: 346.7 kB / 0.6595 GB, free: 144 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/1.071, allocations: 0 / 0.6595 GB, free: 144 MB / 478.1 MB Notification: Performance of Templates: time 0.106/1.177, allocations: 55.22 MB / 0.7135 GB, free: 95.99 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.4870731718838215]