Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 216.2 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.83 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2318, allocations: 53.31 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01896/0.2508, allocations: 16.71 MB / 446.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009989/0.2608, allocations: 4.719 MB / 451.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.2633, allocations: 135.6 kB / 451.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01652/0.2799, allocations: 7.224 MB / 458.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.2865, allocations: 1.973 MB / 460.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.291, allocations: 1.542 MB / 462.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01282/0.3038, allocations: 9.531 MB / 471.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02554/0.3294, allocations: 12.83 MB / 484.5 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00795/0.3373, allocations: 5.272 MB / 489.7 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009655/0.347, allocations: 5.981 MB / 495.7 MB, free: 5.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003759/0.3507, allocations: 1.363 MB / 497.1 MB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005212/0.3559, allocations: 1.668 MB / 498.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004716/0.3607, allocations: 2.794 MB / 0.4898 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.3713, allocations: 5.362 MB / 0.495 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02345/0.3947, allocations: 18.4 MB / 0.513 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3947, allocations: 0 / 0.513 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3947, allocations: 0 / 0.513 GB, free: 7.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000471/0.3952, allocations: 4 kB / 0.513 GB, free: 7.617 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.03674/0.4319, allocations: 12.32 MB / 0.525 GB, free: 11.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.432, allocations: 19.86 kB / 0.5251 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03712/0.4691, allocations: 6.198 MB / 0.5311 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4063/0.8754, allocations: 5.839 MB / 0.5368 GB, free: 86.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/0.876, allocations: 0.6692 MB / 0.5375 GB, free: 86.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/0.8789, allocations: 0.8744 MB / 0.5383 GB, free: 86.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.9066, allocations: 14.75 MB / 0.5527 GB, free: 81.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/0.9068, allocations: 9.031 kB / 0.5527 GB, free: 81.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.9082, allocations: 378.4 kB / 0.5531 GB, free: 80.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/0.9086, allocations: 0.4893 MB / 0.5536 GB, free: 80.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.9327, allocations: 13.57 MB / 0.5668 GB, free: 70.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05979/0.9925, allocations: 44.69 MB / 0.6105 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.003, allocations: 11.26 MB / 0.6215 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/1.007, allocations: 2.875 MB / 0.6243 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/1.007, allocations: 289.4 kB / 0.6246 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.007, allocations: 74.56 kB / 0.6246 GB, free: 9.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.48e-06/1.007, allocations: 4 kB / 0.6246 GB, free: 9.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01806/1.025, allocations: 9.58 MB / 0.634 GB, free: 16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/1.025, allocations: 121.1 kB / 0.6341 GB, free: 15.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/1.031, allocations: 3.156 MB / 0.6372 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006034/1.031, allocations: 93.7 kB / 0.6373 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003171/1.035, allocations: 3.835 MB / 0.641 GB, free: 9.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/1.036, allocations: 1.456 MB / 0.6424 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/1.039, allocations: 1.148 MB / 0.6436 GB, free: 6.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/1.039, allocations: 303.6 kB / 0.6438 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.044, allocations: 2.841 MB / 0.6466 GB, free: 3.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008121/1.052, allocations: 4.908 MB / 0.6514 GB, free: 13.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.066, allocations: 8.275 MB / 0.6595 GB, free: 4.449 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/1.066, allocations: 20 kB / 0.6595 GB, free: 4.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01976/1.086, allocations: 9.117 MB / 0.6684 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/1.086, allocations: 36.66 kB / 0.6685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.086, allocations: 68 kB / 0.6685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003546/1.09, allocations: 1.138 MB / 0.6696 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/1.095, allocations: 1.31 MB / 0.6709 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/1.112, allocations: 10.81 MB / 0.6815 GB, free: 13.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.116, allocations: 0.7491 MB / 0.6822 GB, free: 12.91 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.117, allocations: 280 kB / 0.6825 GB, free: 12.63 MB / 0.4982 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.00702/1.124, allocations: 3.427 MB / 0.6858 GB, free: 9.191 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.126, allocations: 365.7 kB / 0.6862 GB, free: 8.832 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.14, allocations: 6.866 MB / 0.6929 GB, free: 1.938 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0109/1.151, allocations: 5.731 MB / 0.6985 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.719e-05/1.151, allocations: 12 kB / 0.6985 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-05/1.151, allocations: 19.92 kB / 0.6985 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/1.183, allocations: 15.24 MB / 0.7134 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/1.183, allocations: 12 kB / 0.7134 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003636/1.187, allocations: 0.792 MB / 0.7142 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/1.19, allocations: 1.06 MB / 0.7152 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006827/1.191, allocations: 127.9 kB / 0.7153 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.207, allocations: 10.57 MB / 0.7256 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/1.207, allocations: 19.94 kB / 0.7257 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/1.228, allocations: 10.7 MB / 0.7361 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.23, allocations: 1.009 MB / 0.7371 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000968/1.231, allocations: 99.98 kB / 0.7372 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/1.234, allocations: 267.8 kB / 0.7374 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009317/1.235, allocations: 347.2 kB / 0.7378 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00047/1.235, allocations: 152 kB / 0.7379 GB, free: 3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004111/1.239, allocations: 2.125 MB / 0.74 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.239, allocations: 0 / 0.74 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.242/1.481, allocations: 2.248 MB / 0.7422 GB, free: 178.2 MB / 0.545 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.001167/1.482, allocations: 293.3 kB / 0.7425 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.494, allocations: 7.161 MB / 0.7495 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/1.494, allocations: 0 / 0.7495 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006429/1.501, allocations: 3.42 MB / 0.7528 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.506, allocations: 0.7939 MB / 0.7536 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.53, allocations: 16.26 MB / 0.7695 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/1.535, allocations: 5.927 MB / 0.7752 GB, free: 166.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004607/1.539, allocations: 2.157 MB / 0.7774 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.54, allocations: 340.9 kB / 0.7777 GB, free: 166 MB / 0.545 GB Notification: Performance of SimCode: time 1.754e-06/1.54, allocations: 0 / 0.7777 GB, free: 166 MB / 0.545 GB Notification: Performance of Templates: time 0.08884/1.629, allocations: 61.58 MB / 0.8378 GB, free: 107.7 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.94334649015218]