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.001818/0.001818, allocations: 112 kB / 18.45 MB, free: 4.602 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.002168/0.002168, allocations: 189.2 kB / 21.4 MB, free: 1.664 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.432/1.432, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.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.001429/0.001429, allocations: 40.06 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1013, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00916/0.1104, allocations: 7.292 MB / 426.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.1146, allocations: 2.18 MB / 428.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1151, allocations: 55.75 kB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009413/0.116, allocations: 461 kB / 428.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1181, allocations: 0.9053 MB / 429.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.1188, allocations: 360.5 kB / 430.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.1225, allocations: 3.155 MB / 433.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.125, allocations: 2.13 MB / 435.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.1266, allocations: 1.421 MB / 436.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.1288, allocations: 1.712 MB / 438.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.1293, allocations: 360 kB / 439 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.1302, allocations: 483.8 kB / 439.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008658/0.1311, allocations: 0.9076 MB / 440.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.1329, allocations: 1.614 MB / 442 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.1382, allocations: 4.683 MB / 446.6 MB, free: 264 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1382, allocations: 0 / 446.6 MB, free: 264 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1382, allocations: 0 / 446.6 MB, free: 264 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.29e-05/0.1383, allocations: 0 / 446.6 MB, free: 264 kB / 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.2192/0.3575, allocations: 3.7 MB / 450.3 MB, free: 28.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3576, allocations: 10.69 kB / 450.3 MB, free: 28.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005629/0.3632, allocations: 0.7015 MB / 451 MB, free: 28.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/0.3678, allocations: 1.803 MB / 452.8 MB, free: 27.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.368, allocations: 197.9 kB / 453 MB, free: 27.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006278/0.3686, allocations: 265.6 kB / 453.3 MB, free: 27.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009018/0.3776, allocations: 3.613 MB / 456.9 MB, free: 26.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.3777, allocations: 0 / 456.9 MB, free: 26.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/0.378, allocations: 111.5 kB / 457 MB, free: 26.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.3782, allocations: 102.7 kB / 457.1 MB, free: 26.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006569/0.3848, allocations: 3.098 MB / 460.2 MB, free: 25.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.4015, allocations: 10.27 MB / 470.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.4056, allocations: 4.48 MB / 475 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.4069, allocations: 0.8641 MB / 475.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/0.4105, allocations: 2.395 MB / 478.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4105, allocations: 48.06 kB / 478.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.4106, allocations: 0 / 478.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.005929/0.4165, allocations: 2.652 MB / 480.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.4165, allocations: 89.86 kB / 481 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.4181, allocations: 1.365 MB / 482.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.4182, allocations: 45.67 kB / 482.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.4187, allocations: 1.192 MB / 483.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.4189, allocations: 387.5 kB / 484 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.4192, allocations: 213.8 kB / 484.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.4193, allocations: 360.4 kB / 484.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.4201, allocations: 0.5679 MB / 485.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/0.421, allocations: 0.8464 MB / 486 MB, free: 7.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.4226, allocations: 1.453 MB / 487.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4226, allocations: 4 kB / 487.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002774/0.4254, allocations: 1.961 MB / 489.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4254, allocations: 8 kB / 489.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4254, allocations: 8 kB / 489.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009162/0.4264, allocations: 397.1 kB / 489.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.4271, allocations: 219.6 kB / 490 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.4343, allocations: 6.526 MB / 496.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4355, allocations: 151 kB / 496.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4356, allocations: 55.88 kB / 496.7 MB, free: 12.32 MB / 382.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.001701/0.4373, allocations: 0.8642 MB / 497.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.4376, allocations: 143.1 kB / 497.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.4409, allocations: 1.634 MB / 499.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4409, allocations: 12 kB / 499.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4409, allocations: 5.125 kB / 499.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4409, allocations: 7.984 kB / 499.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006906/0.4478, allocations: 3.901 MB / 0.4915 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4478, allocations: 4 kB / 0.4915 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.4484, allocations: 132 kB / 0.4916 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009798/0.4494, allocations: 397.9 kB / 0.492 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.756e-05/0.4495, allocations: 31.98 kB / 0.492 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008328/0.4578, allocations: 6.516 MB / 0.4984 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4578, allocations: 4.031 kB / 0.4984 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.4621, allocations: 2.471 MB / 0.5008 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.4625, allocations: 252 kB / 0.5011 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4626, allocations: 24 kB / 0.5011 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.4634, allocations: 91.84 kB / 0.5012 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.4637, allocations: 100.6 kB / 0.5013 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.4637, allocations: 31.98 kB / 0.5013 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.4652, allocations: 0.963 MB / 0.5022 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4652, allocations: 0 / 0.5022 GB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001985/0.4672, allocations: 0.6813 MB / 0.5029 GB, free: 9.652 MB / 398.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.000336/0.4675, allocations: 164.8 kB / 0.5031 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.4708, allocations: 1.726 MB / 0.5047 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4708, allocations: 0 / 0.5047 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.4727, allocations: 1.09 MB / 0.5058 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.4742, allocations: 301.6 kB / 0.5061 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.482, allocations: 4.591 MB / 0.5106 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.4841, allocations: 2.128 MB / 0.5127 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.4845, allocations: 95.36 kB / 0.5127 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4845, allocations: 0 / 0.5127 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Templates: time 0.06969/0.5542, allocations: 52.92 MB / 0.5644 GB, free: 10.57 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.244787744944915]