Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 167.2 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.865e-05, allocations: 9.312 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008751/0.008769, allocations: 6.946 MB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.01382, allocations: 2.388 MB / 334.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.01481, allocations: 69.78 kB / 334.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.01586, allocations: 478.3 kB / 334.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.01826, allocations: 0.8749 MB / 335.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.01918, allocations: 396.2 kB / 336.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.02384, allocations: 3.34 MB / 339.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.02596, allocations: 1.546 MB / 341.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.02859, allocations: 2.109 MB / 343.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.03073, allocations: 1.528 MB / 344.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.03123, allocations: 359.9 kB / 345.1 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.03222, allocations: 483.8 kB / 345.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008783/0.0331, allocations: 0.9426 MB / 346.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.03446, allocations: 1.099 MB / 347.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.03942, allocations: 4.775 MB / 352.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03943, allocations: 0 / 352.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03943, allocations: 0 / 352.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.385e-05/0.03949, allocations: 3.938 kB / 352.4 MB, free: 9.738 MB / 318.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.008939/0.04843, allocations: 3.616 MB / 356 MB, free: 6.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.04848, allocations: 8.031 kB / 356 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.05273, allocations: 0.7445 MB / 356.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.05641, allocations: 1.798 MB / 358.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.05658, allocations: 197.7 kB / 358.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/0.05702, allocations: 260.4 kB / 359 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006648/0.06367, allocations: 3.837 MB / 362.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.06372, allocations: 3.938 kB / 362.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.06401, allocations: 112 kB / 362.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.06413, allocations: 109.4 kB / 363 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005361/0.06949, allocations: 3.093 MB / 366.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.08447, allocations: 8.935 MB / 375.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.08856, allocations: 1.766 MB / 376.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.09, allocations: 0.8675 MB / 377.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.0938, allocations: 1.996 MB / 379.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.09384, allocations: 51.56 kB / 379.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.09384, allocations: 0 / 379.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006508/0.1004, allocations: 2.487 MB / 382.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1004, allocations: 90.11 kB / 382.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.1023, allocations: 1.37 MB / 383.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.1024, allocations: 41.7 kB / 383.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.1033, allocations: 1.203 MB / 384.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.1036, allocations: 368.8 kB / 385.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.104, allocations: 222.9 kB / 385.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1042, allocations: 357.9 kB / 385.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/0.1051, allocations: 0.5647 MB / 386.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.1063, allocations: 0.8494 MB / 387.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.1086, allocations: 1.46 MB / 388.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.1086, allocations: 4 kB / 388.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003645/0.1122, allocations: 1.95 MB / 390.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1122, allocations: 12.28 kB / 390.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.1122, allocations: 12 kB / 390.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.1133, allocations: 393.4 kB / 391.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.1141, allocations: 215.7 kB / 391.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/0.1221, allocations: 6.195 MB / 397.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.1232, allocations: 147.1 kB / 397.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.1233, allocations: 44 kB / 397.7 MB, free: 11.31 MB / 366.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.001572/0.1248, allocations: 0.8727 MB / 398.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.1251, allocations: 147 kB / 398.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.1282, allocations: 1.631 MB / 400.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1282, allocations: 12 kB / 400.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1282, allocations: 4 kB / 400.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1282, allocations: 3.984 kB / 400.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.1343, allocations: 3.373 MB / 403.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.1343, allocations: 3.938 kB / 403.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.1348, allocations: 131.8 kB / 403.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000947/0.1358, allocations: 393.5 kB / 404.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.1359, allocations: 31.98 kB / 404.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.1436, allocations: 6.177 MB / 410.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1436, allocations: 3.938 kB / 410.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.1478, allocations: 2.474 MB / 412.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.1481, allocations: 174.9 kB / 413.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.1483, allocations: 31.88 kB / 413.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.1491, allocations: 87.91 kB / 413.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.1493, allocations: 92.81 kB / 413.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.1494, allocations: 35.98 kB / 413.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.1507, allocations: 0.9474 MB / 414.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1507, allocations: 0 / 414.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001868/0.1526, allocations: 0.6813 MB / 415 MB, free: 9.68 MB / 382.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.0003228/0.1529, allocations: 165.5 kB / 415.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.1561, allocations: 1.737 MB / 416.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1561, allocations: 4 kB / 416.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.1579, allocations: 1.091 MB / 418 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.1594, allocations: 296.3 kB / 418.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.1667, allocations: 4.563 MB / 422.8 MB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.1684, allocations: 1.621 MB / 424.4 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008668/0.1693, allocations: 338.7 kB / 424.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.1696, allocations: 92.42 kB / 424.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1696, allocations: 0 / 424.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.03811/0.2077, allocations: 20.41 MB / 445.3 MB, free: 11.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.975974876433611]