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.001327/0.001327, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001106/0.001106, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9707/0.9707, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.495e-05, allocations: 5.125 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01341/0.01344, allocations: 16.13 MB / 289.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1555/0.169, allocations: 4.652 MB / 293.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.1725, allocations: 156.4 kB / 293.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.1837, allocations: 7.691 MB / 301.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.1908, allocations: 2.038 MB / 303.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.194, allocations: 1.532 MB / 305.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008811/0.2028, allocations: 9.921 MB / 315.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.2194, allocations: 13.52 MB / 328.6 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.2325, allocations: 7.788 MB / 336.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008775/0.2413, allocations: 5.82 MB / 342.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004746/0.246, allocations: 1.359 MB / 343.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006292/0.2523, allocations: 1.667 MB / 345.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005269/0.2576, allocations: 2.895 MB / 348.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00947/0.2671, allocations: 3.653 MB / 351.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.2829, allocations: 9.423 MB / 361.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2829, allocations: 0 / 361.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.2829, allocations: 4 kB / 361.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004566/0.2833, allocations: 0 / 361.2 MB, free: 9.824 MB / 314.7 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.0234/0.3067, allocations: 13.09 MB / 374.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.3068, allocations: 11.98 kB / 374.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/0.3272, allocations: 7.627 MB / 381.9 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.3376, allocations: 5.486 MB / 387.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/0.3382, allocations: 0.6743 MB / 388.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003109/0.3413, allocations: 0.8827 MB / 389 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.3633, allocations: 8.071 MB / 397 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/0.3636, allocations: 8 kB / 397 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.3647, allocations: 368 kB / 397.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007406/0.3654, allocations: 499.3 kB / 397.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.3799, allocations: 4.364 MB / 402.2 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/0.7132, allocations: 35.41 MB / 437.7 MB, free: 80.33 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007101/0.7203, allocations: 4.141 MB / 441.8 MB, free: 80.14 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.7225, allocations: 1.359 MB / 443.2 MB, free: 80.09 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.7227, allocations: 135 kB / 443.3 MB, free: 80.08 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.7228, allocations: 84.66 kB / 443.4 MB, free: 80.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.973e-06/0.7228, allocations: 0 / 443.4 MB, free: 80.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01203/0.7348, allocations: 5.431 MB / 448.8 MB, free: 79.77 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.7348, allocations: 125.2 kB / 448.9 MB, free: 79.67 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.7388, allocations: 3.084 MB / 452 MB, free: 79.35 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.7391, allocations: 94.39 kB / 452.1 MB, free: 79.32 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.7411, allocations: 4.065 MB / 456.2 MB, free: 77.65 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009838/0.742, allocations: 1.506 MB / 457.7 MB, free: 76.89 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.7435, allocations: 1.283 MB / 459 MB, free: 76.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.7436, allocations: 478.1 kB / 459.4 MB, free: 76.31 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.7454, allocations: 0.906 MB / 460.3 MB, free: 76.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.7483, allocations: 4.003 MB / 464.3 MB, free: 72.66 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.7536, allocations: 5.435 MB / 469.8 MB, free: 68.95 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.593e-05/0.7536, allocations: 17.09 kB / 469.8 MB, free: 68.95 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.009073/0.7627, allocations: 5.319 MB / 475.1 MB, free: 68.51 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.7628, allocations: 35.7 kB / 475.1 MB, free: 68.51 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.331e-05/0.7628, allocations: 68.47 kB / 475.2 MB, free: 68.51 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/0.7657, allocations: 1.075 MB / 476.3 MB, free: 68.44 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/0.7691, allocations: 1.298 MB / 477.6 MB, free: 68.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.7763, allocations: 7.933 MB / 485.5 MB, free: 63.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.7796, allocations: 0.7439 MB / 486.3 MB, free: 63.52 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/0.7802, allocations: 282.3 kB / 486.5 MB, free: 63.3 MB / 378.8 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.002341/0.7826, allocations: 0.5284 MB / 487.1 MB, free: 63.01 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.7832, allocations: 497.7 kB / 487.5 MB, free: 62.57 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.7882, allocations: 3.901 MB / 491.4 MB, free: 60.31 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003551/0.7918, allocations: 2.874 MB / 494.3 MB, free: 58.34 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/0.7918, allocations: 12 kB / 494.3 MB, free: 58.33 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/0.7918, allocations: 21.73 kB / 494.3 MB, free: 58.31 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.8086, allocations: 11.37 MB / 0.4939 GB, free: 47.57 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.8086, allocations: 16 kB / 0.4939 GB, free: 47.55 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.8107, allocations: 0.7978 MB / 0.4947 GB, free: 46.79 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.8135, allocations: 1.001 MB / 0.4956 GB, free: 45.79 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003364/0.8138, allocations: 112 kB / 0.4957 GB, free: 45.68 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/0.8217, allocations: 7.805 MB / 0.5034 GB, free: 37.68 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.8218, allocations: 26.69 kB / 0.5034 GB, free: 37.66 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.8307, allocations: 5.579 MB / 0.5088 GB, free: 31.82 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/0.8324, allocations: 0.8555 MB / 0.5097 GB, free: 30.96 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.8328, allocations: 100 kB / 0.5098 GB, free: 30.87 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.8343, allocations: 267.7 kB / 0.51 GB, free: 30.61 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.8349, allocations: 371.2 kB / 0.5104 GB, free: 30.25 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/0.8351, allocations: 140 kB / 0.5105 GB, free: 30.12 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001907/0.837, allocations: 1.347 MB / 0.5118 GB, free: 28.77 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.837, allocations: 0 / 0.5118 GB, free: 28.77 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005711/0.8428, allocations: 2.258 MB / 0.514 GB, free: 26.5 MB / 378.8 MB 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.0006113/0.8434, allocations: 287.2 kB / 0.5143 GB, free: 26.26 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.008279/0.8516, allocations: 4.467 MB / 0.5187 GB, free: 21.98 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.8517, allocations: 4 kB / 0.5187 GB, free: 21.97 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004262/0.8559, allocations: 2.447 MB / 0.5211 GB, free: 19.6 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/0.8599, allocations: 0.8 MB / 0.5218 GB, free: 18.83 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/0.8797, allocations: 13.4 MB / 0.5349 GB, free: 5.125 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.882, allocations: 2.497 MB / 0.5374 GB, free: 2.598 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003056/0.8851, allocations: 1.818 MB / 0.5391 GB, free: 0.7734 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.8857, allocations: 340.4 kB / 0.5395 GB, free: 452 kB / 378.8 MB Notification: Performance of SimCode: time 2.104e-06/0.8857, allocations: 0 / 0.5395 GB, free: 452 kB / 378.8 MB Notification: Performance of Templates: time 0.2163/1.102, allocations: 55.32 MB / 0.5935 GB, free: 110.7 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.111222983337939]