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.0008333/0.0008333, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003102/0.003102, allocations: 145.7 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8179/0.8179, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.323e-06/1.323e-06, allocations: 3.938 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.738e-05, allocations: 5.656 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.004899/0.004916, allocations: 6.416 MB / 326.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.007561, allocations: 2.106 MB / 328.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.007931, allocations: 71.56 kB / 328.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.008516, allocations: 456.8 kB / 328.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.009708, allocations: 0.9117 MB / 329.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.01009, allocations: 367.2 kB / 330 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.01201, allocations: 3.243 MB / 333.3 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.01337, allocations: 1.544 MB / 334.8 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.01457, allocations: 2.09 MB / 336.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.01562, allocations: 1.535 MB / 338.4 MB, free: 3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.01586, allocations: 367.9 kB / 338.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.01629, allocations: 467.8 kB / 339.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.01673, allocations: 0.9386 MB / 340.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008757/0.0176, allocations: 1.099 MB / 341.3 MB, free: 140 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.02012, allocations: 4.744 MB / 346 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02012, allocations: 0 / 346 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02012, allocations: 0 / 346 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.02015, allocations: 3.938 kB / 346 MB, free: 11.38 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004087/0.02423, allocations: 3.601 MB / 349.6 MB, free: 7.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.02426, allocations: 8.922 kB / 349.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.02593, allocations: 0.7055 MB / 350.3 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.02767, allocations: 1.747 MB / 352.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.02776, allocations: 197.7 kB / 352.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.028, allocations: 260.4 kB / 352.5 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.03161, allocations: 3.841 MB / 356.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.03165, allocations: 3.938 kB / 356.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.03181, allocations: 108 kB / 356.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.03187, allocations: 105.4 kB / 356.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.03489, allocations: 3.093 MB / 359.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008049/0.04294, allocations: 8.912 MB / 368.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.04527, allocations: 1.749 MB / 370.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.04608, allocations: 0.8698 MB / 371.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.04804, allocations: 1.957 MB / 373.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.04807, allocations: 51.55 kB / 373.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 1.994e-06/0.04807, allocations: 4 kB / 373.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003329/0.0514, allocations: 2.495 MB / 375.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.05144, allocations: 90.11 kB / 375.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.05269, allocations: 1.337 MB / 377.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.05274, allocations: 41.7 kB / 377.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.0532, allocations: 1.191 MB / 378.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.05337, allocations: 376.8 kB / 378.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.05356, allocations: 218.9 kB / 379 MB, free: 9.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.05365, allocations: 353.9 kB / 379.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.05421, allocations: 0.5686 MB / 379.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.05491, allocations: 0.849 MB / 380.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.05615, allocations: 1.456 MB / 382.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.05616, allocations: 4 kB / 382.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00207/0.05823, allocations: 1.946 MB / 384.1 MB, free: 4.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.05825, allocations: 8 kB / 384.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.05825, allocations: 15.94 kB / 384.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.05879, allocations: 389.4 kB / 384.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.0592, allocations: 223.6 kB / 384.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.06348, allocations: 6.182 MB / 390.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.06385, allocations: 139.1 kB / 391.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.0639, allocations: 48.05 kB / 391.1 MB, free: 13.18 MB / 362.7 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.0009239/0.06482, allocations: 0.8681 MB / 392 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.06495, allocations: 147 kB / 392.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.06658, allocations: 1.631 MB / 393.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.06658, allocations: 8 kB / 393.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.06659, allocations: 12 kB / 393.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.0666, allocations: 3.984 kB / 393.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.06972, allocations: 3.36 MB / 397.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.06972, allocations: 7.938 kB / 397.1 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.06999, allocations: 132 kB / 397.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/0.07048, allocations: 400.4 kB / 397.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.07052, allocations: 27.98 kB / 397.7 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00435/0.07487, allocations: 6.167 MB / 403.9 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.07488, allocations: 4 kB / 403.9 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.07733, allocations: 2.466 MB / 406.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.07748, allocations: 166.9 kB / 406.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.07756, allocations: 27.94 kB / 406.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.07792, allocations: 95.91 kB / 406.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.07806, allocations: 96.81 kB / 406.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.0781, allocations: 35.98 kB / 406.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007171/0.07881, allocations: 0.923 MB / 407.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07881, allocations: 0 / 407.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001007/0.07982, allocations: 0.6852 MB / 408.4 MB, free: 11.6 MB / 378.7 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.0002189/0.08004, allocations: 151.1 kB / 408.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.08168, allocations: 1.734 MB / 410.2 MB, free: 9.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.08168, allocations: 0 / 410.2 MB, free: 9.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.08262, allocations: 1.094 MB / 411.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.0834, allocations: 291.6 kB / 411.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.08756, allocations: 4.515 MB / 416.1 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/0.08851, allocations: 1.553 MB / 417.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.0887, allocations: 96.47 kB / 417.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0887, allocations: 0 / 417.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of Templates: time 0.1483/0.237, allocations: 53.54 MB / 471.3 MB, free: 109.5 MB / 410.7 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: 6.605182148516178]