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.0007299/0.0007299, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.001887, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001021/0.001021, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002491, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9496/0.9496, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08675/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.382e-06/1.382e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.082e-05, allocations: 10.31 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01114/0.01116, allocations: 7.602 MB / 252.3 MB, free: 6.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.02641, allocations: 2.576 MB / 254.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.02793, allocations: 71.56 kB / 255 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.02923, allocations: 476.7 kB / 255.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.03478, allocations: 0.889 MB / 256.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.03574, allocations: 405.5 kB / 256.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008341/0.04408, allocations: 3.381 MB / 260.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.04611, allocations: 1.584 MB / 261.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.0494, allocations: 2.605 MB / 264.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.05157, allocations: 1.816 MB / 266.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.05234, allocations: 356 kB / 266.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.05333, allocations: 479.7 kB / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.0539, allocations: 0.748 MB / 267.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.05495, allocations: 0.9046 MB / 268.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.05756, allocations: 2.601 MB / 271.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.05757, allocations: 4 kB / 271.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.05758, allocations: 0 / 271.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.256e-05/0.05763, allocations: 3.938 kB / 271.2 MB, free: 3.59 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.1115/0.1691, allocations: 4.01 MB / 275.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1692, allocations: 10.31 kB / 275.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.1715, allocations: 0.8554 MB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.1733, allocations: 1.074 MB / 277.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.1734, allocations: 200.9 kB / 277.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.1737, allocations: 269 kB / 277.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.1765, allocations: 2.164 MB / 279.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.1766, allocations: 0 / 279.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.1767, allocations: 112.5 kB / 279.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.687e-05/0.1768, allocations: 105.8 kB / 280 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.178, allocations: 0.6206 MB / 280.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007492/0.1855, allocations: 6.363 MB / 286.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.187, allocations: 1.08 MB / 288 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.1873, allocations: 347.8 kB / 288.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.1874, allocations: 53.56 kB / 288.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1875, allocations: 51.88 kB / 288.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=132): time 3.847e-06/0.1875, allocations: 0 / 288.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002305/0.1898, allocations: 1.387 MB / 289.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1898, allocations: 92.08 kB / 289.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.1904, allocations: 0.8617 MB / 290.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.1905, allocations: 52.27 kB / 290.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.1907, allocations: 0.9829 MB / 291.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.1909, allocations: 469.7 kB / 292.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.1911, allocations: 225.4 kB / 292.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.1911, allocations: 367.3 kB / 292.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1913, allocations: 131 kB / 293 MB, free: 8.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1916, allocations: 413.9 kB / 293.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.1921, allocations: 0.6762 MB / 294.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1921, allocations: 3.5 kB / 294.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0009003/0.193, allocations: 0.8738 MB / 295 MB, free: 7.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.193, allocations: 12.66 kB / 295 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.193, allocations: 7.312 kB / 295 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.1936, allocations: 370.9 kB / 295.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.1941, allocations: 277.8 kB / 295.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.1965, allocations: 4.413 MB / 300 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.197, allocations: 120.7 kB / 300.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.1971, allocations: 39.98 kB / 300.2 MB, free: 2.672 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (131): * Single equations (assignments): 129 * 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 prepare postOptimizeDAE: time 0.0004838/0.1975, allocations: 190.5 kB / 300.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1977, allocations: 135.4 kB / 300.5 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.1985, allocations: 0.8463 MB / 301.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1985, allocations: 12 kB / 301.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1985, allocations: 8 kB / 301.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1985, allocations: 7.969 kB / 301.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.2012, allocations: 2.427 MB / 303.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2012, allocations: 4 kB / 303.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.2015, allocations: 195 kB / 304 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2017, allocations: 158.7 kB / 304.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006178/0.2023, allocations: 358.1 kB / 304.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.2024, allocations: 43.97 kB / 304.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.2056, allocations: 4.377 MB / 308.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.2056, allocations: 4 kB / 308.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.2069, allocations: 1.333 MB / 310.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.207, allocations: 31.98 kB / 310.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.2074, allocations: 63.97 kB / 310.3 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.2076, allocations: 116.2 kB / 310.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.2076, allocations: 27.98 kB / 310.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003646/0.208, allocations: 435.5 kB / 310.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.208, allocations: 0 / 310.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001347/0.2093, allocations: 0.7048 MB / 311.6 MB, free: 7.492 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (loss_m.Phi.re,loss_m.Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.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 (92): * Single equations (assignments): 90 * 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 Backend phase and start with SimCode phase: time 0.0002586/0.2096, allocations: 150.1 kB / 311.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2108, allocations: 1.07 MB / 312.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-05/0.2109, allocations: 30.66 kB / 312.9 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.212, allocations: 0.8466 MB / 313.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.2135, allocations: 2.781 MB / 316.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.2273, allocations: 4.217 MB / 320.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.2279, allocations: 0.6523 MB / 321.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000635/0.2285, allocations: 183.6 kB / 321.5 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.2291, allocations: 344.2 kB / 321.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.412e-06/0.2291, allocations: 0 / 321.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.03155/0.2606, allocations: 23.53 MB / 345.4 MB, free: 5.527 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9713903293013573]