Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00184/0.00184, allocations: 104.8 kB / 21.18 MB, free: 0.6992 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.002082/0.002082, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 55.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2896, allocations: 49.16 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01722/0.3068, allocations: 16.62 MB / 413.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3206, allocations: 4.697 MB / 418.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005395/0.326, allocations: 131.8 kB / 418.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01873/0.3447, allocations: 7.251 MB / 425.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3555, allocations: 1.957 MB / 427.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.361, allocations: 1.657 MB / 429.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0165/0.3775, allocations: 9.535 MB / 438.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02719/0.4047, allocations: 12.83 MB / 451.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.4149, allocations: 5.389 MB / 456.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.4267, allocations: 5.938 MB / 462.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004121/0.4308, allocations: 1.359 MB / 464.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/0.4366, allocations: 1.644 MB / 465.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003172/0.4397, allocations: 2.802 MB / 468.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01145/0.4512, allocations: 5.358 MB / 474 MB, free: 5.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.4765, allocations: 18.24 MB / 492.2 MB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4765, allocations: 4 kB / 492.2 MB, free: 3.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4765, allocations: 0 / 492.2 MB, free: 3.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005508/0.4771, allocations: 0 / 492.2 MB, free: 3.625 MB / 398.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.04042/0.5175, allocations: 12.25 MB / 0.4927 GB, free: 7.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.5176, allocations: 11.98 kB / 0.4927 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.035/0.5526, allocations: 6.291 MB / 0.4988 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/0.5677, allocations: 5.242 MB / 0.5039 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009274/0.5687, allocations: 0.6703 MB / 0.5046 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004874/0.5735, allocations: 0.8749 MB / 0.5054 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/0.6207, allocations: 14.71 MB / 0.5198 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005683/0.6213, allocations: 15.7 kB / 0.5198 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003782/0.625, allocations: 372 kB / 0.5202 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007108/0.6257, allocations: 499.3 kB / 0.5207 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03714/0.6629, allocations: 13.53 MB / 0.5339 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5895/1.252, allocations: 43.2 MB / 0.5761 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.263, allocations: 5.981 MB / 0.5819 GB, free: 119.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004353/1.267, allocations: 2.862 MB / 0.5847 GB, free: 118.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/1.268, allocations: 102.6 kB / 0.5848 GB, free: 118.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/1.268, allocations: 77.88 kB / 0.5849 GB, free: 118.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 8.185e-06/1.268, allocations: 3.625 kB / 0.5849 GB, free: 118.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01788/1.286, allocations: 9.42 MB / 0.5941 GB, free: 115.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.286, allocations: 127.2 kB / 0.5942 GB, free: 115.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/1.29, allocations: 3.161 MB / 0.5973 GB, free: 114 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007767/1.291, allocations: 88.52 kB / 0.5974 GB, free: 113.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/1.293, allocations: 3.831 MB / 0.6011 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.295, allocations: 1.459 MB / 0.6025 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.297, allocations: 1.133 MB / 0.6036 GB, free: 109.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/1.297, allocations: 305.1 kB / 0.6039 GB, free: 109.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/1.301, allocations: 2.833 MB / 0.6067 GB, free: 107.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/1.306, allocations: 4.901 MB / 0.6115 GB, free: 103.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00845/1.314, allocations: 8.253 MB / 0.6195 GB, free: 96.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.284e-05/1.314, allocations: 24 kB / 0.6196 GB, free: 96.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01386/1.328, allocations: 9.084 MB / 0.6284 GB, free: 87.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/1.328, allocations: 32 kB / 0.6285 GB, free: 87.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.135e-05/1.328, allocations: 68 kB / 0.6285 GB, free: 86.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/1.331, allocations: 1.159 MB / 0.6296 GB, free: 85.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.335, allocations: 1.287 MB / 0.6309 GB, free: 84.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.347, allocations: 10.61 MB / 0.6413 GB, free: 73.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/1.352, allocations: 0.7572 MB / 0.642 GB, free: 72.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/1.353, allocations: 272 kB / 0.6423 GB, free: 72.7 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.005698/1.358, allocations: 3.423 MB / 0.6456 GB, free: 69.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.359, allocations: 373.6 kB / 0.646 GB, free: 68.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.37, allocations: 6.878 MB / 0.6527 GB, free: 61.99 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007864/1.378, allocations: 5.698 MB / 0.6582 GB, free: 56.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-05/1.378, allocations: 12 kB / 0.6583 GB, free: 56.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/1.378, allocations: 19.92 kB / 0.6583 GB, free: 56.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03095/1.409, allocations: 15.26 MB / 0.6732 GB, free: 40.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/1.409, allocations: 15.94 kB / 0.6732 GB, free: 40.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/1.412, allocations: 0.7918 MB / 0.674 GB, free: 40.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.415, allocations: 1.068 MB / 0.675 GB, free: 38.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007356/1.416, allocations: 104 kB / 0.6751 GB, free: 38.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/1.428, allocations: 10.37 MB / 0.6852 GB, free: 28.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.428, allocations: 16.19 kB / 0.6853 GB, free: 28.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.444, allocations: 10.66 MB / 0.6957 GB, free: 17.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/1.447, allocations: 0.9648 MB / 0.6966 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.448, allocations: 99.98 kB / 0.6967 GB, free: 16.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.451, allocations: 271.8 kB / 0.697 GB, free: 16.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007807/1.451, allocations: 363 kB / 0.6973 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003322/1.452, allocations: 140 kB / 0.6974 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004338/1.456, allocations: 2.129 MB / 0.6995 GB, free: 13.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.456, allocations: 3.938 kB / 0.6995 GB, free: 13.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009064/1.465, allocations: 2.255 MB / 0.7017 GB, free: 11.13 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.001044/1.466, allocations: 290 kB / 0.702 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01189/1.478, allocations: 7.136 MB / 0.709 GB, free: 3.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.83e-05/1.478, allocations: 8.125 kB / 0.709 GB, free: 3.672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006231/1.484, allocations: 3.396 MB / 0.7123 GB, free: 264 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/1.49, allocations: 0.8158 MB / 0.7131 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/1.531, allocations: 16.34 MB / 0.729 GB, free: 14.89 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/1.544, allocations: 5.93 MB / 0.7348 GB, free: 8.918 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007507/1.551, allocations: 2.154 MB / 0.7369 GB, free: 6.758 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.553, allocations: 323.4 kB / 0.7372 GB, free: 6.441 MB / 0.4982 GB Notification: Performance of SimCode: time 1.763e-06/1.553, allocations: 7.938 kB / 0.7373 GB, free: 6.434 MB / 0.4982 GB Notification: Performance of Templates: time 0.3932/1.946, allocations: 63.98 MB / 0.7997 GB, free: 145.9 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.102294722571969]