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.001333/0.001333, allocations: 108.6 kB / 21.18 MB, free: 0.7812 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.001369/0.001369, allocations: 186 kB / 24.47 MB, free: 4.207 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.406/1.406, allocations: 225.6 MB / 253.3 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.001581/0.001581, allocations: 43.92 kB / 371.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3116, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02107/0.3327, allocations: 16.71 MB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3444, allocations: 4.665 MB / 445.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.3487, allocations: 155.2 kB / 445.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01792/0.3666, allocations: 7.25 MB / 452.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007615/0.3742, allocations: 2.064 MB / 454.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.3788, allocations: 1.562 MB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.3926, allocations: 9.532 MB / 465.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0301/0.4227, allocations: 13.59 MB / 479.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.4328, allocations: 5.389 MB / 484.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.4442, allocations: 5.942 MB / 490.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004289/0.4485, allocations: 1.363 MB / 492.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.4547, allocations: 1.648 MB / 493.8 MB, free: 8.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005322/0.46, allocations: 2.798 MB / 496.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.4707, allocations: 5.354 MB / 0.4901 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02559/0.4963, allocations: 18.4 MB / 0.5081 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4963, allocations: 0 / 0.5081 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4963, allocations: 0 / 0.5081 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004981/0.4968, allocations: 0 / 0.5081 GB, free: 13.82 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.03835/0.5351, allocations: 12.25 MB / 0.5201 GB, free: 1.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5352, allocations: 8.031 kB / 0.5201 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03767/0.5728, allocations: 6.288 MB / 0.5262 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.5884, allocations: 5.905 MB / 0.532 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007114/0.5891, allocations: 0.6742 MB / 0.5326 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003386/0.5925, allocations: 0.8827 MB / 0.5335 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2255/0.818, allocations: 14.71 MB / 0.5479 GB, free: 91.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/0.8182, allocations: 9.625 kB / 0.5479 GB, free: 91.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.8194, allocations: 377 kB / 0.5482 GB, free: 91.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/0.8197, allocations: 499.9 kB / 0.5487 GB, free: 91.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.8404, allocations: 13.53 MB / 0.5619 GB, free: 84.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05937/0.8998, allocations: 43.21 MB / 0.6041 GB, free: 41.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.9083, allocations: 5.979 MB / 0.61 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.9118, allocations: 2.863 MB / 0.6128 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.9121, allocations: 102.5 kB / 0.6129 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.9122, allocations: 82.5 kB / 0.6129 GB, free: 32.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.171e-06/0.9122, allocations: 0 / 0.6129 GB, free: 32.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.0172/0.9294, allocations: 9.392 MB / 0.6221 GB, free: 22.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.9294, allocations: 125.1 kB / 0.6222 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.9332, allocations: 3.161 MB / 0.6253 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004228/0.9336, allocations: 89.7 kB / 0.6254 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.9351, allocations: 3.827 MB / 0.6291 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.9361, allocations: 1.462 MB / 0.6306 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.9374, allocations: 1.136 MB / 0.6317 GB, free: 13.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.9375, allocations: 305.1 kB / 0.632 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/0.9409, allocations: 2.841 MB / 0.6347 GB, free: 9.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/0.945, allocations: 4.9 MB / 0.6395 GB, free: 4.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009971/0.955, allocations: 8.255 MB / 0.6476 GB, free: 10.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.587e-05/0.955, allocations: 20 kB / 0.6476 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01634/0.9714, allocations: 9.081 MB / 0.6565 GB, free: 1.719 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.9714, allocations: 35.94 kB / 0.6565 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.9715, allocations: 68 kB / 0.6566 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/0.9749, allocations: 1.159 MB / 0.6577 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00497/0.9798, allocations: 1.287 MB / 0.659 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.9963, allocations: 10.61 MB / 0.6693 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.001, allocations: 0.7492 MB / 0.67 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/1.002, allocations: 276 kB / 0.6703 GB, free: 3.316 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.006794/1.009, allocations: 3.427 MB / 0.6737 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008722/1.01, allocations: 361.7 kB / 0.674 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.023, allocations: 6.882 MB / 0.6807 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01007/1.033, allocations: 5.698 MB / 0.6863 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/1.033, allocations: 12.25 kB / 0.6863 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-05/1.033, allocations: 19.92 kB / 0.6863 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/1.061, allocations: 15.26 MB / 0.7012 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/1.061, allocations: 12 kB / 0.7012 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003201/1.064, allocations: 0.7879 MB / 0.702 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/1.067, allocations: 1.064 MB / 0.703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/1.068, allocations: 107.9 kB / 0.7031 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.083, allocations: 10.38 MB / 0.7133 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/1.083, allocations: 19.88 kB / 0.7133 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.1, allocations: 10.67 MB / 0.7237 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.103, allocations: 0.961 MB / 0.7247 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/1.104, allocations: 95.98 kB / 0.7247 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.106, allocations: 275.8 kB / 0.725 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006688/1.107, allocations: 359 kB / 0.7253 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.107, allocations: 144.2 kB / 0.7255 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003292/1.11, allocations: 2.125 MB / 0.7276 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.11, allocations: 0 / 0.7276 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005774/1.116, allocations: 2.254 MB / 0.7298 GB, free: 5.754 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.0006364/1.116, allocations: 309.6 kB / 0.7301 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2403/1.357, allocations: 7.143 MB / 0.737 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.319e-05/1.357, allocations: 6.422 kB / 0.737 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006688/1.364, allocations: 3.41 MB / 0.7404 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.368, allocations: 0.7962 MB / 0.7411 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/1.393, allocations: 16.08 MB / 0.7569 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00494/1.398, allocations: 5.755 MB / 0.7625 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.4, allocations: 366.7 kB / 0.7628 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.504e-06/1.4, allocations: 2.25 kB / 0.7628 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.448/1.848, allocations: 195.4 MB / 0.9537 GB, free: 179.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 16.342657840112224]