Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.00195/0.00195, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002323/0.002323, allocations: 178.8 kB / 23.7 MB, free: 4.414 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.428/1.428, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.94 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008823/0.2443, allocations: 6.432 MB / 429.5 MB, free: 8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.2487, allocations: 2.094 MB / 431.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.2495, allocations: 71.56 kB / 431.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009899/0.2504, allocations: 453 kB / 432.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.2529, allocations: 0.8859 MB / 433 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.2538, allocations: 359.4 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.2577, allocations: 3.156 MB / 436.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.2599, allocations: 1.537 MB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.2619, allocations: 1.453 MB / 439.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2645, allocations: 1.697 MB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005939/0.2651, allocations: 360 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.2662, allocations: 479.9 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.2671, allocations: 0.9075 MB / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.2686, allocations: 1.295 MB / 444.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005258/0.2739, allocations: 4.714 MB / 448.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2739, allocations: 4 kB / 448.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2739, allocations: 0 / 448.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.274, allocations: 0 / 448.9 MB, free: 4.453 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008965/0.283, allocations: 3.624 MB / 452.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.283, allocations: 8.031 kB / 452.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/0.2867, allocations: 0.7094 MB / 453.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.291, allocations: 1.752 MB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.2912, allocations: 197.7 kB / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.2916, allocations: 268.1 kB / 455.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00662/0.2983, allocations: 3.833 MB / 459.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.2983, allocations: 0 / 459.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.2986, allocations: 112 kB / 459.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.2987, allocations: 109.4 kB / 459.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005676/0.3044, allocations: 3.093 MB / 462.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.3214, allocations: 8.9 MB / 471.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.3255, allocations: 1.763 MB / 473.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.327, allocations: 0.8606 MB / 474.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/0.3312, allocations: 1.965 MB / 476.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3313, allocations: 47.44 kB / 476.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.286e-06/0.3313, allocations: 0 / 476.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006537/0.3378, allocations: 2.487 MB / 478.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.3379, allocations: 89.98 kB / 478.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.34, allocations: 1.341 MB / 480.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.313e-05/0.3401, allocations: 41.7 kB / 480.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/0.341, allocations: 1.195 MB / 481.3 MB, free: 3.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.3413, allocations: 376.8 kB / 481.7 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.3417, allocations: 218.9 kB / 481.9 MB, free: 2.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3418, allocations: 361.9 kB / 482.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009918/0.3428, allocations: 0.5608 MB / 482.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3441, allocations: 0.8488 MB / 483.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.3463, allocations: 1.459 MB / 485.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3463, allocations: 0 / 485.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003537/0.3499, allocations: 1.954 MB / 487.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3499, allocations: 8 kB / 487.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3499, allocations: 8 kB / 487.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.3509, allocations: 400.7 kB / 487.5 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.3518, allocations: 219.7 kB / 487.7 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.3599, allocations: 6.183 MB / 493.9 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.3609, allocations: 139.1 kB / 494 MB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.361, allocations: 47.98 kB / 494.1 MB, free: 6.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001488/0.3625, allocations: 0.8759 MB / 494.9 MB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.3627, allocations: 139.1 kB / 495.1 MB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/0.3658, allocations: 1.636 MB / 496.7 MB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.3658, allocations: 12 kB / 496.7 MB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3658, allocations: 4 kB / 496.7 MB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3658, allocations: 3.984 kB / 496.7 MB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/0.3721, allocations: 3.361 MB / 0.4884 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3721, allocations: 0 / 0.4884 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.3727, allocations: 131.9 kB / 0.4885 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/0.3737, allocations: 389.4 kB / 0.4889 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.3737, allocations: 43.91 kB / 0.4889 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/0.3819, allocations: 6.176 MB / 0.4949 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3819, allocations: 4.031 kB / 0.4949 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.3861, allocations: 2.462 MB / 0.4973 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.3865, allocations: 170.8 kB / 0.4975 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.3866, allocations: 28 kB / 0.4975 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.3874, allocations: 91.91 kB / 0.4976 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.3877, allocations: 96.67 kB / 0.4977 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.3877, allocations: 39.92 kB / 0.4977 GB, free: 6.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.3891, allocations: 0.923 MB / 0.4986 GB, free: 5.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3891, allocations: 0 / 0.4986 GB, free: 5.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001807/0.3909, allocations: 0.6775 MB / 0.4993 GB, free: 4.633 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002896/0.3912, allocations: 159 kB / 0.4995 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.3944, allocations: 1.732 MB / 0.5012 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3944, allocations: 1.188 kB / 0.5012 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.3962, allocations: 1.093 MB / 0.5022 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.3976, allocations: 284.4 kB / 0.5025 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.4052, allocations: 4.653 MB / 0.507 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.4071, allocations: 1.608 MB / 0.5086 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009712/0.4081, allocations: 334.6 kB / 0.5089 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.4084, allocations: 87.36 kB / 0.509 GB, free: 10.51 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4084, allocations: 4 kB / 0.509 GB, free: 10.51 MB / 430.1 MB Notification: Performance of Templates: time 0.04094/0.4493, allocations: 23.13 MB / 0.5316 GB, free: 3.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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: 5.350683119148016]