Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 168.8 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.35e-05, allocations: 6.969 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01238/0.0124, allocations: 15.48 MB / 289.7 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.02106, allocations: 4.636 MB / 294.3 MB, free: 232 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.02384, allocations: 159.2 kB / 294.5 MB, free: 72 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008254/0.03209, allocations: 7.463 MB / 301.9 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.03675, allocations: 2.024 MB / 304 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.03897, allocations: 1.512 MB / 305.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008512/0.04748, allocations: 9.933 MB / 315.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.06552, allocations: 13.51 MB / 328.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.07915, allocations: 7.809 MB / 336.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1615/0.2406, allocations: 5.964 MB / 342.7 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004974/0.2456, allocations: 1.359 MB / 344.1 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.2519, allocations: 1.665 MB / 345.7 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005079/0.257, allocations: 2.902 MB / 348.6 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009155/0.2662, allocations: 3.647 MB / 352.3 MB, free: 32.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.2805, allocations: 9.425 MB / 361.7 MB, free: 30.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2805, allocations: 0 / 361.7 MB, free: 30.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2805, allocations: 1.281 kB / 361.7 MB, free: 30.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004951/0.281, allocations: 0 / 361.7 MB, free: 30.16 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.0233/0.3043, allocations: 11.96 MB / 373.7 MB, free: 24.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3044, allocations: 7.594 kB / 373.7 MB, free: 24.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/0.3237, allocations: 5.797 MB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00866/0.3324, allocations: 5.051 MB / 384.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.3328, allocations: 0.6678 MB / 385.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.3357, allocations: 0.8822 MB / 386.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/0.3533, allocations: 7.413 MB / 393.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/0.3535, allocations: 11.94 kB / 393.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/0.3547, allocations: 377 kB / 393.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.355, allocations: 499.3 kB / 394.3 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008938/0.364, allocations: 3.408 MB / 397.8 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.4136, allocations: 34.69 MB / 432.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.418, allocations: 3.563 MB / 436 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4196, allocations: 1.166 MB / 437.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.4198, allocations: 135.9 kB / 437.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.4199, allocations: 85.38 kB / 437.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=409): time 6.472e-06/0.4199, allocations: 0 / 437.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=409): time 0.008633/0.4285, allocations: 4.847 MB / 442.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4286, allocations: 121.1 kB / 442.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.432, allocations: 3.039 MB / 445.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.4322, allocations: 93.7 kB / 445.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.4343, allocations: 4.079 MB / 449.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.4354, allocations: 1.517 MB / 451.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.4369, allocations: 1.315 MB / 452.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.437, allocations: 476.8 kB / 452.9 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4381, allocations: 0.6904 MB / 453.6 MB, free: 260 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.4404, allocations: 3.821 MB / 457.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.4449, allocations: 5.086 MB / 462.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/0.4449, allocations: 16 kB / 462.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006728/0.4516, allocations: 4.796 MB / 467.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.4517, allocations: 40.02 kB / 467.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.897e-05/0.4518, allocations: 68 kB / 467.4 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.4539, allocations: 1.02 MB / 468.4 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.4564, allocations: 1.169 MB / 469.6 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/0.4638, allocations: 7.569 MB / 477.1 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.4671, allocations: 0.5894 MB / 477.7 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005524/0.4676, allocations: 244 kB / 478 MB, free: 6.355 MB / 394.7 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.002444/0.4701, allocations: 0.5249 MB / 478.5 MB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007696/0.4708, allocations: 0.4899 MB / 479 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.4759, allocations: 3.517 MB / 482.5 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003187/0.4791, allocations: 2.492 MB / 485 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/0.4791, allocations: 16 kB / 485 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.4792, allocations: 19.92 kB / 485 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.4948, allocations: 10.82 MB / 495.9 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.4948, allocations: 20.03 kB / 495.9 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.4964, allocations: 0.6775 MB / 496.6 MB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/0.4984, allocations: 0.9329 MB / 497.5 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/0.4987, allocations: 119.6 kB / 497.6 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1461/0.6448, allocations: 7.436 MB / 0.4932 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.6448, allocations: 20.84 kB / 0.4932 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/0.652, allocations: 5.018 MB / 0.4981 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.6534, allocations: 0.7694 MB / 0.4989 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.6537, allocations: 96.45 kB / 0.499 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6548, allocations: 124.5 kB / 0.4991 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/0.6553, allocations: 364.8 kB / 0.4994 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.6554, allocations: 118.5 kB / 0.4995 GB, free: 103.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001275/0.6567, allocations: 1.252 MB / 0.5008 GB, free: 103.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6567, allocations: 0 / 0.5008 GB, free: 103.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004559/0.6613, allocations: 2.256 MB / 0.503 GB, free: 103.1 MB / 410.7 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.0005137/0.6618, allocations: 291.8 kB / 0.5032 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/0.6674, allocations: 4.069 MB / 0.5072 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.6674, allocations: 3.156 kB / 0.5072 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.6699, allocations: 2.259 MB / 0.5094 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.6723, allocations: 0.8025 MB / 0.5102 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.6873, allocations: 13.25 MB / 0.5232 GB, free: 96.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.6894, allocations: 2.495 MB / 0.5256 GB, free: 96.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002045/0.6914, allocations: 0.6475 MB / 0.5262 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.6928, allocations: 0.9129 MB / 0.5271 GB, free: 96.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6928, allocations: 0 / 0.5271 GB, free: 96.13 MB / 410.7 MB Notification: Performance of Templates: time 0.07305/0.7659, allocations: 61.35 MB / 0.587 GB, free: 40.89 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.0232463530264795]