Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001397/0.001397, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001491/0.001491, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009932/0.2617, allocations: 6.937 MB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.267, allocations: 2.378 MB / 441.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.2682, allocations: 75.56 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.2696, allocations: 456.9 kB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.2725, allocations: 0.8743 MB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2737, allocations: 395.2 kB / 443.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.2783, allocations: 3.25 MB / 446.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.2808, allocations: 1.537 MB / 448.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.2829, allocations: 1.46 MB / 449.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.2857, allocations: 1.701 MB / 451.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007554/0.2865, allocations: 356 kB / 451.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.2877, allocations: 487.9 kB / 452.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009122/0.2886, allocations: 0.9153 MB / 453.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.2906, allocations: 1.307 MB / 454.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.2961, allocations: 4.74 MB / 459.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2962, allocations: 0 / 459.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2962, allocations: 0 / 459.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.9e-05/0.2963, allocations: 0 / 459.2 MB, free: 11.55 MB / 366.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.008907/0.3052, allocations: 3.648 MB / 462.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3052, allocations: 15.98 kB / 462.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.3093, allocations: 0.7445 MB / 463.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.3129, allocations: 1.803 MB / 465.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.313, allocations: 193.7 kB / 465.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.3135, allocations: 264.1 kB / 465.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/0.3199, allocations: 3.844 MB / 469.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.217e-05/0.3199, allocations: 4 kB / 469.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.3202, allocations: 104 kB / 469.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.3203, allocations: 113.3 kB / 469.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005433/0.3257, allocations: 3.089 MB / 473 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.3421, allocations: 8.916 MB / 482 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.3464, allocations: 1.758 MB / 483.7 MB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.348, allocations: 0.8609 MB / 484.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004464/0.3524, allocations: 2.012 MB / 486.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.3525, allocations: 43.44 kB / 486.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.3525, allocations: 0 / 486.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006287/0.3588, allocations: 2.491 MB / 489.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.3588, allocations: 93.97 kB / 489.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.3609, allocations: 1.359 MB / 490.6 MB, free: 11.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.361, allocations: 45.7 kB / 490.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.3619, allocations: 1.206 MB / 491.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.3623, allocations: 380.8 kB / 492.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.3626, allocations: 218.9 kB / 492.4 MB, free: 9.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3628, allocations: 361.8 kB / 492.8 MB, free: 9.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.3638, allocations: 0.5608 MB / 493.3 MB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.365, allocations: 0.849 MB / 494.2 MB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.3672, allocations: 1.463 MB / 495.6 MB, free: 6.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.3672, allocations: 7.938 kB / 495.6 MB, free: 6.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003537/0.3707, allocations: 1.954 MB / 497.6 MB, free: 4.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3708, allocations: 10.34 kB / 497.6 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3708, allocations: 12 kB / 497.6 MB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.3718, allocations: 400.3 kB / 498 MB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.3726, allocations: 211.7 kB / 498.2 MB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.3804, allocations: 6.191 MB / 0.4926 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3814, allocations: 135.1 kB / 0.4927 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.3816, allocations: 47.98 kB / 0.4928 GB, free: 13.1 MB / 414.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.001441/0.383, allocations: 0.8758 MB / 0.4936 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.3833, allocations: 143.1 kB / 0.4937 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.3864, allocations: 1.636 MB / 0.4953 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3864, allocations: 8 kB / 0.4954 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.3864, allocations: 8 kB / 0.4954 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3864, allocations: 3.984 kB / 0.4954 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/0.3927, allocations: 3.381 MB / 0.4987 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3927, allocations: 0 / 0.4987 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.3933, allocations: 135.8 kB / 0.4988 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009841/0.3943, allocations: 393.6 kB / 0.4992 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/0.3944, allocations: 35.92 kB / 0.4992 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.4024, allocations: 6.161 MB / 0.5052 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4024, allocations: 4.031 kB / 0.5052 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/0.4068, allocations: 2.482 MB / 0.5077 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.4074, allocations: 174.9 kB / 0.5078 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.4077, allocations: 27.98 kB / 0.5078 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/0.4086, allocations: 79.92 kB / 0.5079 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.4088, allocations: 104.6 kB / 0.508 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.4089, allocations: 35.98 kB / 0.5081 GB, free: 13.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.4106, allocations: 0.9474 MB / 0.509 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4106, allocations: 0 / 0.509 GB, free: 12.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002109/0.4127, allocations: 0.6852 MB / 0.5096 GB, free: 11.46 MB / 430.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.000355/0.4131, allocations: 163.1 kB / 0.5098 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.4164, allocations: 1.736 MB / 0.5115 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4164, allocations: 0 / 0.5115 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4184, allocations: 1.086 MB / 0.5126 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.4201, allocations: 280.4 kB / 0.5128 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008541/0.4286, allocations: 4.662 MB / 0.5174 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.4307, allocations: 1.553 MB / 0.5189 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.4311, allocations: 103.4 kB / 0.519 GB, free: 1.703 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4311, allocations: 3.938 kB / 0.519 GB, free: 1.699 MB / 430.1 MB Notification: Performance of Templates: time 0.2641/0.6952, allocations: 54.34 MB / 0.5721 GB, free: 73.25 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.484622885938734]