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.001722/0.001722, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.00191/0.00191, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.428/1.428, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.00205/0.00205, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.262, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01923/0.2812, allocations: 16.7 MB / 437.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2922, allocations: 4.661 MB / 442.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.2958, allocations: 131.6 kB / 442.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01695/0.3128, allocations: 7.219 MB / 449.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007561/0.3203, allocations: 1.989 MB / 451.6 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004641/0.325, allocations: 1.531 MB / 453.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.338, allocations: 9.45 MB / 462.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02704/0.365, allocations: 12.83 MB / 475.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.3753, allocations: 5.272 MB / 480.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3856, allocations: 5.934 MB / 486.6 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003879/0.3894, allocations: 1.359 MB / 488 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005527/0.395, allocations: 1.644 MB / 489.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.3999, allocations: 2.806 MB / 492.4 MB, free: 7.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.4101, allocations: 5.354 MB / 497.8 MB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0252/0.4353, allocations: 18.39 MB / 0.5041 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4353, allocations: 0 / 0.5041 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4353, allocations: 0 / 0.5041 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006693/0.436, allocations: 0 / 0.5041 GB, free: 15.43 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.03743/0.4734, allocations: 12.32 MB / 0.5161 GB, free: 3.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4734, allocations: 12.03 kB / 0.5161 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03544/0.5089, allocations: 6.28 MB / 0.5222 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.5238, allocations: 5.836 MB / 0.5279 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000803/0.5247, allocations: 0.6665 MB / 0.5286 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004245/0.5289, allocations: 0.8827 MB / 0.5295 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4428/0.9717, allocations: 14.71 MB / 0.5438 GB, free: 89.68 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.972, allocations: 6.172 kB / 0.5438 GB, free: 89.68 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/0.9737, allocations: 370.8 kB / 0.5442 GB, free: 89.39 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/0.974, allocations: 0.4887 MB / 0.5447 GB, free: 89.35 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.9962, allocations: 13.52 MB / 0.5579 GB, free: 83.44 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06015/1.056, allocations: 44.19 MB / 0.601 GB, free: 40.06 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008653/1.065, allocations: 11.25 MB / 0.612 GB, free: 27.73 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/1.068, allocations: 2.869 MB / 0.6148 GB, free: 24.86 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/1.069, allocations: 172.6 kB / 0.615 GB, free: 24.69 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.069, allocations: 78.55 kB / 0.615 GB, free: 24.6 MB / 446.2 MB Notification: Performance of pre-optimization done (n=409): time 9.197e-06/1.069, allocations: 0 / 0.615 GB, free: 24.6 MB / 446.2 MB Notification: Performance of matching and sorting (n=409): time 0.01698/1.086, allocations: 9.552 MB / 0.6244 GB, free: 15.02 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.086, allocations: 125.1 kB / 0.6245 GB, free: 14.88 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/1.089, allocations: 3.161 MB / 0.6276 GB, free: 11.75 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/1.09, allocations: 93.7 kB / 0.6277 GB, free: 11.65 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.091, allocations: 3.827 MB / 0.6314 GB, free: 8.277 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009447/1.092, allocations: 1.459 MB / 0.6328 GB, free: 6.836 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/1.093, allocations: 1.132 MB / 0.6339 GB, free: 5.691 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.43e-05/1.093, allocations: 309.1 kB / 0.6342 GB, free: 5.387 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.097, allocations: 2.838 MB / 0.637 GB, free: 2.543 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005064/1.102, allocations: 4.893 MB / 0.6418 GB, free: 12.7 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.113, allocations: 8.259 MB / 0.6498 GB, free: 3.512 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.399e-05/1.113, allocations: 23.98 kB / 0.6499 GB, free: 3.488 MB / 462.2 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01661/1.13, allocations: 9.085 MB / 0.6587 GB, free: 10.39 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/1.13, allocations: 40.59 kB / 0.6588 GB, free: 10.35 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/1.13, allocations: 68 kB / 0.6588 GB, free: 10.28 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/1.133, allocations: 1.142 MB / 0.66 GB, free: 9.133 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/1.139, allocations: 1.295 MB / 0.6612 GB, free: 7.836 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.155, allocations: 10.8 MB / 0.6718 GB, free: 12.76 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.16, allocations: 0.7533 MB / 0.6725 GB, free: 12 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.161, allocations: 280 kB / 0.6728 GB, free: 11.73 MB / 494.2 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.006504/1.167, allocations: 3.423 MB / 0.6761 GB, free: 8.293 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.168, allocations: 361.7 kB / 0.6765 GB, free: 7.938 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.181, allocations: 6.878 MB / 0.6832 GB, free: 1.031 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00991/1.191, allocations: 5.709 MB / 0.6888 GB, free: 11.31 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/1.191, allocations: 12 kB / 0.6888 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/1.191, allocations: 19.92 kB / 0.6888 GB, free: 11.28 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02745/1.218, allocations: 15.19 MB / 0.7036 GB, free: 11.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.218, allocations: 16 kB / 0.7036 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/1.221, allocations: 0.7956 MB / 0.7044 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.225, allocations: 1.056 MB / 0.7054 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005542/1.225, allocations: 115.9 kB / 0.7056 GB, free: 9.918 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.241, allocations: 10.58 MB / 0.7159 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/1.241, allocations: 16.19 kB / 0.7159 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/1.258, allocations: 10.66 MB / 0.7263 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.26, allocations: 1.001 MB / 0.7273 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/1.261, allocations: 99.98 kB / 0.7274 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.263, allocations: 279.8 kB / 0.7277 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000734/1.264, allocations: 339.2 kB / 0.728 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/1.264, allocations: 140 kB / 0.7281 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003214/1.267, allocations: 2.125 MB / 0.7302 GB, free: 152 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/1.267, allocations: 0 / 0.7302 GB, free: 152 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005962/1.273, allocations: 2.262 MB / 0.7324 GB, free: 13.88 MB / 0.5451 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.0007218/1.274, allocations: 302.1 kB / 0.7327 GB, free: 13.58 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.286, allocations: 7.15 MB / 0.7397 GB, free: 6.402 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.286, allocations: 4.938 kB / 0.7397 GB, free: 6.398 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.292, allocations: 3.4 MB / 0.743 GB, free: 2.98 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/1.296, allocations: 0.8014 MB / 0.7438 GB, free: 2.191 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2291/1.525, allocations: 16.34 MB / 0.7597 GB, free: 184.3 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005342/1.531, allocations: 5.932 MB / 0.7655 GB, free: 182.9 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.004745/1.536, allocations: 2.156 MB / 0.7676 GB, free: 182.8 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/1.536, allocations: 319.2 kB / 0.7679 GB, free: 182.8 MB / 0.5451 GB Notification: Performance of SimCode: time 1.833e-06/1.536, allocations: 4 kB / 0.7679 GB, free: 182.8 MB / 0.5451 GB Notification: Performance of Templates: time 0.09008/1.626, allocations: 61.22 MB / 0.8277 GB, free: 129.8 MB / 0.5451 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.6758462358266115]