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.001317/0.001317, allocations: 81.64 kB / 20.68 MB, free: 1.047 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.001326/0.001326, allocations: 144.7 kB / 23.94 MB, free: 4.195 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.411/1.411, allocations: 173.4 MB / 200.4 MB, free: 12.89 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 1.512e-06/1.512e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.208e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006889/0.006911, allocations: 6.427 MB / 325.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.01144, allocations: 2.095 MB / 327.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.01217, allocations: 68.66 kB / 327.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01319, allocations: 463 kB / 328 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.01582, allocations: 0.907 MB / 328.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.0167, allocations: 361.7 kB / 329.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004203/0.0209, allocations: 3.248 MB / 332.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.02309, allocations: 1.546 MB / 334 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003051/0.02614, allocations: 2.095 MB / 336.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.02885, allocations: 1.539 MB / 337.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006475/0.0295, allocations: 358.5 kB / 338 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.03064, allocations: 479.7 kB / 338.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009655/0.03161, allocations: 0.9269 MB / 339.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.03341, allocations: 1.103 MB / 340.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.03899, allocations: 4.748 MB / 345.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.039, allocations: 0 / 345.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.039, allocations: 0 / 345.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.03911, allocations: 0 / 345.2 MB, free: 1.27 MB / 302.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.009046/0.04815, allocations: 3.597 MB / 348.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.0482, allocations: 8.922 kB / 348.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/0.05262, allocations: 0.7094 MB / 349.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.05627, allocations: 1.747 MB / 351.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.05645, allocations: 201.7 kB / 351.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/0.05688, allocations: 256.4 kB / 351.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.06346, allocations: 3.848 MB / 355.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.0635, allocations: 3.984 kB / 355.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.06378, allocations: 112 kB / 355.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.0639, allocations: 97.41 kB / 355.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00545/0.06935, allocations: 3.097 MB / 358.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/0.08508, allocations: 8.9 MB / 367.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.08924, allocations: 1.768 MB / 369.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.0907, allocations: 0.8628 MB / 370.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.09458, allocations: 1.965 MB / 372.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.09462, allocations: 47.56 kB / 372.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.966e-06/0.09463, allocations: 4 kB / 372.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006665/0.1013, allocations: 2.479 MB / 374.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1014, allocations: 90.11 kB / 375 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.1034, allocations: 1.341 MB / 376.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-05/0.1035, allocations: 45.7 kB / 376.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/0.1044, allocations: 1.191 MB / 377.6 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.1047, allocations: 373 kB / 378 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.1051, allocations: 214.9 kB / 378.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1053, allocations: 365.6 kB / 378.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.1063, allocations: 0.5647 MB / 379.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.1075, allocations: 0.8451 MB / 379.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.1097, allocations: 1.452 MB / 381.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.1098, allocations: 4 kB / 381.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003622/0.1134, allocations: 1.942 MB / 383.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1134, allocations: 8 kB / 383.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.1134, allocations: 12.16 kB / 383.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.1145, allocations: 407.8 kB / 383.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.1154, allocations: 219.7 kB / 384 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008281/0.1237, allocations: 6.199 MB / 390.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.1248, allocations: 143.1 kB / 390.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.1249, allocations: 48.06 kB / 390.4 MB, free: 3.059 MB / 350.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.001598/0.1265, allocations: 0.8603 MB / 391.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.1268, allocations: 143 kB / 391.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.13, allocations: 1.639 MB / 393 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.13, allocations: 8 kB / 393 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.13, allocations: 8 kB / 393 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.13, allocations: 7.969 kB / 393 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.136, allocations: 3.357 MB / 396.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.136, allocations: 4 kB / 396.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.1366, allocations: 132 kB / 396.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.1376, allocations: 396.6 kB / 396.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.1377, allocations: 27.98 kB / 396.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008095/0.1458, allocations: 6.177 MB / 403.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1458, allocations: 0 / 403.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.15, allocations: 2.458 MB / 405.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.1504, allocations: 170.9 kB / 405.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.1506, allocations: 31.92 kB / 405.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008098/0.1514, allocations: 91.91 kB / 405.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.1517, allocations: 100.8 kB / 405.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.1517, allocations: 31.98 kB / 406 MB, free: 3.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.1531, allocations: 0.927 MB / 406.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1531, allocations: 0 / 406.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00186/0.155, allocations: 0.6852 MB / 407.6 MB, free: 1.48 MB / 366.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.0003162/0.1553, allocations: 147.1 kB / 407.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.1585, allocations: 1.734 MB / 409.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1585, allocations: 0 / 409.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.1605, allocations: 1.102 MB / 410.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.162, allocations: 294.9 kB / 410.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.1697, allocations: 4.549 MB / 415.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.1716, allocations: 1.612 MB / 417 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009255/0.1725, allocations: 338.6 kB / 417.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.1728, allocations: 84.48 kB / 417.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1728, allocations: 0 / 417.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of Templates: time 0.03724/0.21, allocations: 20.2 MB / 437.6 MB, free: 3.551 MB / 398.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: 4.849453836679459]