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.001679/0.001679, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002014/0.002014, allocations: 183.7 kB / 23.71 MB, free: 4.695 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.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 13 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.001646/0.001646, allocations: 55.91 kB / 371 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2625, allocations: 52.18 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01901/0.2816, allocations: 16.7 MB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2917, allocations: 4.661 MB / 444.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.2946, allocations: 163.2 kB / 444.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01759/0.3122, allocations: 7.25 MB / 451.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.3191, allocations: 2.063 MB / 454 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.3235, allocations: 1.568 MB / 455.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.3374, allocations: 9.532 MB / 465.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02576/0.3631, allocations: 12.84 MB / 477.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007887/0.371, allocations: 5.386 MB / 483.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00946/0.3805, allocations: 5.942 MB / 489.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003641/0.3841, allocations: 1.359 MB / 490.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.3895, allocations: 1.652 MB / 492.2 MB, free: 9.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004568/0.3941, allocations: 2.802 MB / 495.1 MB, free: 6.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.4048, allocations: 5.354 MB / 0.4887 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.4294, allocations: 18.39 MB / 0.5066 GB, free: 14.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4294, allocations: 0 / 0.5066 GB, free: 14.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4294, allocations: 0 / 0.5066 GB, free: 14.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004766/0.4299, allocations: 3.938 kB / 0.5066 GB, free: 14.56 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.03635/0.4662, allocations: 12.25 MB / 0.5186 GB, free: 2.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4662, allocations: 8.031 kB / 0.5186 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/0.5037, allocations: 6.284 MB / 0.5247 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.5191, allocations: 5.909 MB / 0.5305 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/0.5199, allocations: 0.6781 MB / 0.5312 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003829/0.5237, allocations: 0.871 MB / 0.532 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.429/0.9527, allocations: 14.72 MB / 0.5464 GB, free: 89.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.9529, allocations: 9.359 kB / 0.5464 GB, free: 89.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.9546, allocations: 375.8 kB / 0.5468 GB, free: 88.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003729/0.955, allocations: 0.4898 MB / 0.5472 GB, free: 88.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.9783, allocations: 13.53 MB / 0.5605 GB, free: 82.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/1.039, allocations: 43.2 MB / 0.6026 GB, free: 39.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009024/1.048, allocations: 5.992 MB / 0.6085 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/1.051, allocations: 2.859 MB / 0.6113 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/1.052, allocations: 97.94 kB / 0.6114 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.052, allocations: 86.48 kB / 0.6115 GB, free: 31.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.921e-06/1.052, allocations: 0 / 0.6115 GB, free: 31.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01787/1.069, allocations: 9.4 MB / 0.6206 GB, free: 21.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.07, allocations: 117.1 kB / 0.6208 GB, free: 21.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/1.073, allocations: 3.159 MB / 0.6238 GB, free: 18.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004344/1.074, allocations: 93.7 kB / 0.6239 GB, free: 18.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/1.075, allocations: 3.828 MB / 0.6277 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.076, allocations: 1.461 MB / 0.6291 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.078, allocations: 1.132 MB / 0.6302 GB, free: 12.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/1.078, allocations: 313 kB / 0.6305 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/1.081, allocations: 2.834 MB / 0.6333 GB, free: 9.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.085, allocations: 4.904 MB / 0.6381 GB, free: 3.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.095, allocations: 8.259 MB / 0.6461 GB, free: 10.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.684e-05/1.095, allocations: 16 kB / 0.6461 GB, free: 10.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0185/1.114, allocations: 9.073 MB / 0.655 GB, free: 1.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.114, allocations: 39.94 kB / 0.655 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.114, allocations: 64 kB / 0.6551 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.118, allocations: 1.155 MB / 0.6562 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/1.123, allocations: 1.295 MB / 0.6575 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.14, allocations: 10.6 MB / 0.6678 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.144, allocations: 0.7533 MB / 0.6686 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008042/1.145, allocations: 272 kB / 0.6688 GB, free: 2.672 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.006809/1.152, allocations: 3.43 MB / 0.6722 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008555/1.153, allocations: 369.6 kB / 0.6725 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.166, allocations: 6.878 MB / 0.6793 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/1.176, allocations: 5.694 MB / 0.6848 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/1.176, allocations: 12 kB / 0.6848 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.515e-05/1.177, allocations: 19.92 kB / 0.6848 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0309/1.207, allocations: 15.26 MB / 0.6997 GB, free: 2.773 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.207, allocations: 16 kB / 0.6998 GB, free: 2.758 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.211, allocations: 0.7918 MB / 0.7005 GB, free: 1.965 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003432/1.214, allocations: 1.057 MB / 0.7016 GB, free: 0.9023 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/1.215, allocations: 111.9 kB / 0.7017 GB, free: 0.793 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.231, allocations: 10.37 MB / 0.7118 GB, free: 6.191 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-05/1.231, allocations: 24.12 kB / 0.7118 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.25, allocations: 10.67 MB / 0.7222 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/1.253, allocations: 0.9648 MB / 0.7232 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007163/1.254, allocations: 99.98 kB / 0.7233 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.256, allocations: 275.8 kB / 0.7235 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007522/1.257, allocations: 355 kB / 0.7239 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.257, allocations: 140 kB / 0.724 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003518/1.261, allocations: 2.129 MB / 0.7261 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/1.261, allocations: 3.938 kB / 0.7261 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007064/1.268, allocations: 2.251 MB / 0.7283 GB, free: 5.051 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.0009119/1.269, allocations: 302.3 kB / 0.7286 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01448/1.283, allocations: 7.154 MB / 0.7356 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.36e-05/1.283, allocations: 0 / 0.7356 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007124/1.29, allocations: 3.408 MB / 0.7389 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.295, allocations: 0.8126 MB / 0.7397 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2473/1.543, allocations: 16.32 MB / 0.7556 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006474/1.549, allocations: 5.926 MB / 0.7614 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004377/1.553, allocations: 2.159 MB / 0.7635 GB, free: 181.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/1.554, allocations: 319.1 kB / 0.7638 GB, free: 181.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.554, allocations: 3.828 kB / 0.7638 GB, free: 181.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1005/1.655, allocations: 64 MB / 0.8263 GB, free: 131.3 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.766679705120623]