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.001774/0.001774, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.002165/0.002165, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.001813/0.001813, allocations: 64.12 kB / 373.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 53.31 MB / 427.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0208/0.1399, allocations: 16.68 MB / 443.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2379/0.3778, allocations: 4.704 MB / 448.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.3808, allocations: 135.1 kB / 448.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01489/0.3957, allocations: 7.229 MB / 455.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007196/0.4029, allocations: 1.968 MB / 457.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.4072, allocations: 1.55 MB / 459.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.4207, allocations: 9.506 MB / 468.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03681/0.4575, allocations: 16.27 MB / 485.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009753/0.4673, allocations: 5.258 MB / 490.5 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.4783, allocations: 5.963 MB / 496.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003949/0.4822, allocations: 1.363 MB / 497.8 MB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.4883, allocations: 1.665 MB / 499.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004953/0.4933, allocations: 2.807 MB / 0.4905 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5042, allocations: 5.358 MB / 0.4957 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02678/0.5309, allocations: 18.4 MB / 0.5137 GB, free: 6.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.5309, allocations: 3.984 kB / 0.5137 GB, free: 6.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.531, allocations: 0 / 0.5137 GB, free: 6.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004733/0.5314, allocations: 0 / 0.5137 GB, free: 6.758 MB / 414.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.03925/0.5707, allocations: 12.33 MB / 0.5257 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5707, allocations: 8.031 kB / 0.5257 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03784/0.6086, allocations: 6.202 MB / 0.5318 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/0.6225, allocations: 5.84 MB / 0.5375 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000901/0.6234, allocations: 0.6705 MB / 0.5382 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/0.6273, allocations: 0.8809 MB / 0.539 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04239/0.6697, allocations: 14.75 MB / 0.5534 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003571/0.6701, allocations: 11.95 kB / 0.5534 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002916/0.673, allocations: 372.9 kB / 0.5538 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006481/0.6736, allocations: 495.3 kB / 0.5543 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02875/0.7024, allocations: 13.57 MB / 0.5675 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07949/0.7819, allocations: 44.7 MB / 0.6112 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.7958, allocations: 11.26 MB / 0.6222 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004995/0.8008, allocations: 2.87 MB / 0.625 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.8013, allocations: 289.2 kB / 0.6252 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.8014, allocations: 86.5 kB / 0.6253 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=409): time 5.37e-06/0.8014, allocations: 1.094 kB / 0.6253 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409): time 0.0224/0.8238, allocations: 9.58 MB / 0.6347 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8239, allocations: 121.1 kB / 0.6348 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004875/0.8288, allocations: 3.16 MB / 0.6379 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006074/0.8294, allocations: 97.64 kB / 0.638 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002828/0.8322, allocations: 3.83 MB / 0.6417 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.8338, allocations: 1.462 MB / 0.6431 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3969/1.231, allocations: 1.142 MB / 0.6443 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/1.231, allocations: 308.1 kB / 0.6446 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/1.235, allocations: 2.841 MB / 0.6473 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/1.241, allocations: 4.906 MB / 0.6521 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.252, allocations: 8.277 MB / 0.6602 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/1.252, allocations: 23.66 kB / 0.6602 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01943/1.272, allocations: 9.104 MB / 0.6691 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/1.272, allocations: 35.16 kB / 0.6691 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/1.272, allocations: 65.72 kB / 0.6692 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/1.275, allocations: 1.143 MB / 0.6703 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/1.28, allocations: 1.304 MB / 0.6716 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.293, allocations: 10.82 MB / 0.6822 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/1.297, allocations: 0.7484 MB / 0.6829 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009457/1.298, allocations: 284.5 kB / 0.6832 GB, free: 143 MB / 0.5294 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.005982/1.304, allocations: 3.415 MB / 0.6865 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008662/1.305, allocations: 375.2 kB / 0.6869 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.315, allocations: 6.865 MB / 0.6936 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007675/1.323, allocations: 5.732 MB / 0.6992 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/1.323, allocations: 11.78 kB / 0.6992 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/1.323, allocations: 22.5 kB / 0.6992 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.345, allocations: 15.24 MB / 0.7141 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.345, allocations: 12.94 kB / 0.7141 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/1.348, allocations: 0.8002 MB / 0.7149 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/1.35, allocations: 1.055 MB / 0.7159 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004702/1.351, allocations: 112 kB / 0.716 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.362, allocations: 10.58 MB / 0.7263 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.362, allocations: 27.88 kB / 0.7264 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.375, allocations: 10.69 MB / 0.7368 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.377, allocations: 1.013 MB / 0.7378 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005108/1.378, allocations: 95.98 kB / 0.7379 GB, free: 99.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.38, allocations: 268.6 kB / 0.7381 GB, free: 99.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005955/1.381, allocations: 347.2 kB / 0.7385 GB, free: 99.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.381, allocations: 152 kB / 0.7386 GB, free: 99.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002383/1.383, allocations: 2.121 MB / 0.7407 GB, free: 96.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.383, allocations: 0 / 0.7407 GB, free: 96.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006116/1.389, allocations: 2.255 MB / 0.7429 GB, free: 94.97 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.0006798/1.39, allocations: 299.1 kB / 0.7432 GB, free: 94.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.4, allocations: 7.164 MB / 0.7502 GB, free: 87.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.4, allocations: 5.219 kB / 0.7502 GB, free: 87.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.405, allocations: 3.415 MB / 0.7535 GB, free: 84.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/1.41, allocations: 0.8047 MB / 0.7543 GB, free: 83.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.433, allocations: 16.09 MB / 0.77 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006734/1.44, allocations: 5.93 MB / 0.7758 GB, free: 61.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004807/1.445, allocations: 2.161 MB / 0.7779 GB, free: 58.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009735/1.446, allocations: 339.3 kB / 0.7782 GB, free: 58.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.814e-06/1.446, allocations: 0 / 0.7782 GB, free: 58.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.09201/1.538, allocations: 59.94 MB / 0.8368 GB, free: 14.89 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.809610625728965]