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.001835/0.001835, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002226/0.002226, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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 0.001718/0.001718, allocations: 51.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1085, allocations: 53.32 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2162/0.3248, allocations: 16.68 MB / 443.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3362, allocations: 4.707 MB / 448.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.3394, allocations: 158.4 kB / 448.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.3574, allocations: 7.232 MB / 455.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007425/0.3649, allocations: 1.971 MB / 457.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.369, allocations: 1.551 MB / 459.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.381, allocations: 9.489 MB / 468.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02327/0.4043, allocations: 16.25 MB / 484.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009492/0.4138, allocations: 5.339 MB / 490.2 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.4243, allocations: 5.962 MB / 496.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003619/0.4279, allocations: 1.363 MB / 497.5 MB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/0.4334, allocations: 1.668 MB / 499.2 MB, free: 8.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003538/0.4369, allocations: 2.802 MB / 0.4902 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008897/0.4458, allocations: 5.358 MB / 0.4954 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02283/0.4686, allocations: 18.4 MB / 0.5134 GB, free: 13.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4686, allocations: 4 kB / 0.5134 GB, free: 13.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4686, allocations: 3.938 kB / 0.5134 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005216/0.4692, allocations: 0 / 0.5134 GB, free: 13.5 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.03871/0.5079, allocations: 12.34 MB / 0.5255 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5079, allocations: 8.031 kB / 0.5255 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03942/0.5473, allocations: 6.195 MB / 0.5315 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.5613, allocations: 5.856 MB / 0.5372 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008112/0.5621, allocations: 0.6726 MB / 0.5379 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003745/0.5658, allocations: 0.8827 MB / 0.5388 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/0.6017, allocations: 14.74 MB / 0.5532 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002875/0.602, allocations: 11.89 kB / 0.5532 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00233/0.6044, allocations: 376 kB / 0.5535 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005695/0.6049, allocations: 0.4915 MB / 0.554 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.6343, allocations: 13.56 MB / 0.5672 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08211/0.7164, allocations: 44.7 MB / 0.6109 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4407/1.157, allocations: 11.25 MB / 0.6219 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005144/1.162, allocations: 2.872 MB / 0.6247 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/1.163, allocations: 290 kB / 0.625 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/1.163, allocations: 83.06 kB / 0.625 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.202e-06/1.163, allocations: 0 / 0.625 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02291/1.186, allocations: 9.588 MB / 0.6344 GB, free: 144 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/1.186, allocations: 120.4 kB / 0.6345 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/1.191, allocations: 3.158 MB / 0.6376 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006686/1.192, allocations: 91.7 kB / 0.6377 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.194, allocations: 3.832 MB / 0.6414 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.195, allocations: 1.462 MB / 0.6429 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/1.197, allocations: 1.148 MB / 0.644 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.328e-05/1.197, allocations: 301.1 kB / 0.6443 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/1.201, allocations: 2.842 MB / 0.647 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/1.206, allocations: 4.902 MB / 0.6518 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009105/1.215, allocations: 8.282 MB / 0.6599 GB, free: 129 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-05/1.215, allocations: 16.25 kB / 0.6599 GB, free: 129 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01403/1.229, allocations: 9.106 MB / 0.6688 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/1.229, allocations: 35.91 kB / 0.6689 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.452e-05/1.229, allocations: 66.19 kB / 0.6689 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/1.233, allocations: 1.151 MB / 0.6701 GB, free: 125.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/1.237, allocations: 1.3 MB / 0.6713 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.25, allocations: 10.83 MB / 0.6819 GB, free: 116.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.255, allocations: 0.7413 MB / 0.6826 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.257, allocations: 284 kB / 0.6829 GB, free: 115.9 MB / 0.5138 GB 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.006302/1.263, allocations: 3.424 MB / 0.6862 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/1.264, allocations: 365.7 kB / 0.6866 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.275, allocations: 6.873 MB / 0.6933 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008066/1.283, allocations: 5.729 MB / 0.6989 GB, free: 99.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-05/1.283, allocations: 12.88 kB / 0.6989 GB, free: 99.49 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.679e-05/1.283, allocations: 19.92 kB / 0.6989 GB, free: 99.47 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/1.31, allocations: 15.24 MB / 0.7138 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.316e-05/1.31, allocations: 12 kB / 0.7138 GB, free: 84.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/1.313, allocations: 0.7957 MB / 0.7146 GB, free: 83.27 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.316, allocations: 1.056 MB / 0.7156 GB, free: 82.21 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005326/1.316, allocations: 117.2 kB / 0.7157 GB, free: 82.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/1.329, allocations: 10.57 MB / 0.7261 GB, free: 71.25 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.329, allocations: 27.72 kB / 0.7261 GB, free: 71.23 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.345, allocations: 10.7 MB / 0.7365 GB, free: 60.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.347, allocations: 1.013 MB / 0.7375 GB, free: 59.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008346/1.348, allocations: 95.98 kB / 0.7376 GB, free: 59.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.35, allocations: 279.6 kB / 0.7379 GB, free: 58.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/1.351, allocations: 347.2 kB / 0.7382 GB, free: 58.56 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/1.351, allocations: 148 kB / 0.7384 GB, free: 58.41 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003233/1.354, allocations: 2.125 MB / 0.7404 GB, free: 56.29 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.354, allocations: 0 / 0.7404 GB, free: 56.29 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006269/1.361, allocations: 2.258 MB / 0.7426 GB, free: 54.02 MB / 0.5138 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.0006943/1.361, allocations: 293.7 kB / 0.7429 GB, free: 53.73 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.372, allocations: 7.165 MB / 0.7499 GB, free: 46.55 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/1.373, allocations: 4 kB / 0.7499 GB, free: 46.54 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005632/1.378, allocations: 3.409 MB / 0.7533 GB, free: 43.12 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/1.383, allocations: 0.7974 MB / 0.754 GB, free: 42.35 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.411, allocations: 16.08 MB / 0.7697 GB, free: 26.05 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007025/1.418, allocations: 5.939 MB / 0.7755 GB, free: 20.08 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005411/1.423, allocations: 2.158 MB / 0.7776 GB, free: 17.91 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.425, allocations: 347.3 kB / 0.778 GB, free: 17.57 MB / 0.5138 GB Notification: Performance of SimCode: time 9.92e-07/1.425, allocations: 0 / 0.778 GB, free: 17.57 MB / 0.5138 GB Notification: Performance of Templates: time 0.3402/1.765, allocations: 59.95 MB / 0.8365 GB, free: 163.2 MB / 0.545 GB " [Timeout remaining time 658] 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: 8.096549108624458]