Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001347/0.001347, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009427/0.0009427, allocations: 169.9 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.822/0.822, allocations: 158.6 MB / 187.2 MB, free: 2.562 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.65e-05, allocations: 2.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005743/0.00576, allocations: 7.071 MB / 258.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.00903, allocations: 2.212 MB / 260.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.00959, allocations: 59.62 kB / 260.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.01034, allocations: 464.7 kB / 260.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.01191, allocations: 0.8542 MB / 261.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.01246, allocations: 381.9 kB / 262.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.01563, allocations: 3.245 MB / 265.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.01732, allocations: 1.524 MB / 266.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.02011, allocations: 2.371 MB / 269.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.02224, allocations: 1.805 MB / 271 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.02274, allocations: 360 kB / 271.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000725/0.02346, allocations: 467.8 kB / 271.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006386/0.0241, allocations: 0.9425 MB / 272.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.02511, allocations: 1.107 MB / 273.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.02776, allocations: 2.753 MB / 276.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.02776, allocations: 0 / 276.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.02776, allocations: 0 / 276.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.02778, allocations: 0 / 276.6 MB, free: 9.871 MB / 266.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.005107/0.03289, allocations: 3.729 MB / 280.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.03293, allocations: 19.92 kB / 280.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.03546, allocations: 0.9161 MB / 281.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.03747, allocations: 1.405 MB / 282.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.0376, allocations: 201.7 kB / 282.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.03792, allocations: 268.3 kB / 283.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.04144, allocations: 2.279 MB / 285.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.04149, allocations: 3.938 kB / 285.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.04169, allocations: 104 kB / 285.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.627e-05/0.04179, allocations: 105.4 kB / 285.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.04399, allocations: 0.9606 MB / 286.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.05405, allocations: 8.302 MB / 294.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.05691, allocations: 1.426 MB / 296.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.05794, allocations: 449.1 kB / 296.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.06043, allocations: 1.773 MB / 298.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.06046, allocations: 50.39 kB / 298.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.06047, allocations: 0 / 298.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.003682/0.06415, allocations: 1.591 MB / 300.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.06419, allocations: 90.11 kB / 300.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.06541, allocations: 1.131 MB / 301.4 MB, free: 460 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.06546, allocations: 45.7 kB / 301.4 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1103/0.1758, allocations: 1.275 MB / 302.7 MB, free: 44.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.1761, allocations: 398.4 kB / 303.1 MB, free: 44.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.1764, allocations: 234.7 kB / 303.3 MB, free: 44.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1765, allocations: 0.5507 MB / 303.9 MB, free: 44.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.1769, allocations: 170.9 kB / 304 MB, free: 44.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.1774, allocations: 0.5722 MB / 304.6 MB, free: 43.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.1782, allocations: 0.8417 MB / 305.5 MB, free: 43.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.1782, allocations: 2.188 kB / 305.5 MB, free: 43.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001866/0.1801, allocations: 1.141 MB / 306.6 MB, free: 43.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1801, allocations: 9.094 kB / 306.6 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.1801, allocations: 7.969 kB / 306.6 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009386/0.1811, allocations: 391.3 kB / 307 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.1816, allocations: 217.2 kB / 307.2 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.1855, allocations: 5.828 MB / 313 MB, free: 39.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.1861, allocations: 137.8 kB / 313.2 MB, free: 39.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.1862, allocations: 46.89 kB / 313.2 MB, free: 39.06 MB / 282.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.000609/0.1868, allocations: 226.5 kB / 313.4 MB, free: 38.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.1871, allocations: 175.7 kB / 313.6 MB, free: 38.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.1885, allocations: 0.9492 MB / 314.6 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1885, allocations: 11 kB / 314.6 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1885, allocations: 6.875 kB / 314.6 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.1885, allocations: 10.31 kB / 314.6 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.1921, allocations: 2.908 MB / 317.5 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1921, allocations: 2 kB / 317.5 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1924, allocations: 133.7 kB / 317.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/0.1931, allocations: 400.4 kB / 318 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.1931, allocations: 36.5 kB / 318.1 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.1964, allocations: 5.828 MB / 323.9 MB, free: 33.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1964, allocations: 0 / 323.9 MB, free: 33.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.198, allocations: 1.442 MB / 325.3 MB, free: 32.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1982, allocations: 157.9 kB / 325.5 MB, free: 32.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1983, allocations: 37.27 kB / 325.5 MB, free: 32.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.1986, allocations: 80.88 kB / 325.6 MB, free: 32.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.1988, allocations: 113.1 kB / 325.7 MB, free: 32.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1989, allocations: 34.77 kB / 325.7 MB, free: 32.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005659/0.1994, allocations: 0.6513 MB / 326.4 MB, free: 32.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1994, allocations: 4 kB / 326.4 MB, free: 32.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00148/0.2009, allocations: 0.6861 MB / 327.1 MB, free: 32.05 MB / 282.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002597/0.2012, allocations: 143.4 kB / 327.2 MB, free: 31.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2027, allocations: 1.227 MB / 328.5 MB, free: 31.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2027, allocations: 3.969 kB / 328.5 MB, free: 31.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007388/0.2035, allocations: 0.9146 MB / 329.4 MB, free: 30.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.2043, allocations: 293.8 kB / 329.7 MB, free: 30.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.2086, allocations: 3.994 MB / 333.7 MB, free: 27.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.2091, allocations: 0.7628 MB / 334.4 MB, free: 27.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005161/0.2096, allocations: 272.9 kB / 334.7 MB, free: 27.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.2098, allocations: 88.16 kB / 334.8 MB, free: 26.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2098, allocations: 0 / 334.8 MB, free: 26.94 MB / 282.7 MB Notification: Performance of Templates: time 0.02392/0.2337, allocations: 21.58 MB / 356.3 MB, free: 5.648 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0794605258852243]