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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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=4000,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=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 47.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2397, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01738/0.2571, allocations: 14.3 MB / 437.4 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.2663, allocations: 4.502 MB / 441.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.2683, allocations: 159.2 kB / 442 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01636/0.2846, allocations: 6.684 MB / 448.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008953/0.2936, allocations: 2.013 MB / 450.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.2987, allocations: 1.488 MB / 452.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0153/0.314, allocations: 9.55 MB / 461.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02937/0.3434, allocations: 13.45 MB / 475.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008473/0.3519, allocations: 5.386 MB / 480.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009829/0.3617, allocations: 5.797 MB / 486.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003358/0.3651, allocations: 1.359 MB / 487.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.3688, allocations: 1.633 MB / 489.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.3713, allocations: 2.802 MB / 492.2 MB, free: 8.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005402/0.3767, allocations: 4.183 MB / 496.4 MB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.3949, allocations: 18.48 MB / 0.5028 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3949, allocations: 0 / 0.5028 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3949, allocations: 7.938 kB / 0.5028 GB, free: 2.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003026/0.3952, allocations: 0 / 0.5028 GB, free: 2.25 MB / 414.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.02974/0.425, allocations: 12.24 MB / 0.5148 GB, free: 5.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.425, allocations: 12.03 kB / 0.5148 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.4582, allocations: 6.284 MB / 0.5209 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.4718, allocations: 5.909 MB / 0.5267 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000626/0.4724, allocations: 0.6743 MB / 0.5273 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.4744, allocations: 0.8749 MB / 0.5282 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.436/0.9104, allocations: 14.94 MB / 0.5428 GB, free: 91.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.9106, allocations: 9.656 kB / 0.5428 GB, free: 91.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008625/0.9115, allocations: 372.8 kB / 0.5432 GB, free: 91.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004148/0.9119, allocations: 0.489 MB / 0.5436 GB, free: 91.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.9319, allocations: 13.47 MB / 0.5568 GB, free: 85.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.9847, allocations: 38.48 MB / 0.5944 GB, free: 47.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/0.993, allocations: 5.949 MB / 0.6002 GB, free: 42.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/0.9962, allocations: 2.863 MB / 0.603 GB, free: 39.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.9965, allocations: 91.16 kB / 0.6031 GB, free: 39.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.9965, allocations: 78.56 kB / 0.6031 GB, free: 39.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.885e-06/0.9965, allocations: 0 / 0.6031 GB, free: 39.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01707/1.014, allocations: 9.398 MB / 0.6123 GB, free: 29.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.014, allocations: 117.1 kB / 0.6124 GB, free: 29.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.017, allocations: 3.23 MB / 0.6156 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.017, allocations: 93.7 kB / 0.6157 GB, free: 26.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.019, allocations: 3.825 MB / 0.6194 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/1.02, allocations: 1.461 MB / 0.6208 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/1.021, allocations: 1.128 MB / 0.6219 GB, free: 20.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/1.021, allocations: 309 kB / 0.6222 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.024, allocations: 2.834 MB / 0.625 GB, free: 17.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/1.028, allocations: 4.904 MB / 0.6298 GB, free: 11.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/1.035, allocations: 8.255 MB / 0.6378 GB, free: 2.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.862e-05/1.035, allocations: 20 kB / 0.6379 GB, free: 2.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01522/1.051, allocations: 9.077 MB / 0.6467 GB, free: 8.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/1.051, allocations: 36 kB / 0.6468 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/1.051, allocations: 67.94 kB / 0.6468 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/1.054, allocations: 1.152 MB / 0.6479 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/1.059, allocations: 1.291 MB / 0.6492 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.075, allocations: 10.38 MB / 0.6593 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.079, allocations: 0.7571 MB / 0.6601 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006896/1.08, allocations: 272 kB / 0.6603 GB, free: 10.8 MB / 478.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.005616/1.085, allocations: 3.431 MB / 0.6637 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/1.086, allocations: 357.7 kB / 0.664 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.098, allocations: 6.874 MB / 0.6707 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00951/1.108, allocations: 5.705 MB / 0.6763 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.108, allocations: 12 kB / 0.6763 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/1.108, allocations: 27.84 kB / 0.6764 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02387/1.132, allocations: 13.41 MB / 0.6895 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.132, allocations: 12 kB / 0.6895 GB, free: 12.77 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.135, allocations: 0.7879 MB / 0.6902 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/1.138, allocations: 1.06 MB / 0.6913 GB, free: 10.92 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/1.138, allocations: 104 kB / 0.6914 GB, free: 10.82 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.154, allocations: 10.15 MB / 0.7013 GB, free: 468 kB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/1.154, allocations: 20.19 kB / 0.7013 GB, free: 448 kB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.171, allocations: 10.67 MB / 0.7117 GB, free: 5.531 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/1.174, allocations: 0.957 MB / 0.7127 GB, free: 4.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.174, allocations: 104 kB / 0.7128 GB, free: 4.469 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/1.176, allocations: 267.7 kB / 0.713 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007646/1.177, allocations: 367 kB / 0.7134 GB, free: 3.848 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.177, allocations: 140 kB / 0.7135 GB, free: 3.711 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00349/1.181, allocations: 2.089 MB / 0.7155 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.181, allocations: 0 / 0.7155 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007047/1.188, allocations: 2.255 MB / 0.7177 GB, free: 15.35 MB / 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.000885/1.189, allocations: 302.2 kB / 0.718 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.202, allocations: 7.147 MB / 0.725 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.707e-05/1.202, allocations: 4 kB / 0.725 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/1.209, allocations: 3.408 MB / 0.7283 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/1.214, allocations: 0.7794 MB / 0.7291 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/1.246, allocations: 16.33 MB / 0.745 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2418/1.488, allocations: 5.463 MB / 0.7504 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005344/1.493, allocations: 2.16 MB / 0.7525 GB, free: 184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/1.494, allocations: 320.1 kB / 0.7528 GB, free: 184 MB / 0.545 GB Notification: Performance of SimCode: time 1.542e-06/1.494, allocations: 0 / 0.7528 GB, free: 184 MB / 0.545 GB Notification: Performance of Templates: time 0.08988/1.584, allocations: 63.16 MB / 0.8145 GB, free: 139.4 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.753358379006386]