Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001833, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002217/0.002217, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 61.42 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.09055, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009196/0.09975, allocations: 6.941 MB / 385.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.1046, allocations: 2.382 MB / 388.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.1053, allocations: 71.56 kB / 388.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.1063, allocations: 464.8 kB / 388.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.1085, allocations: 0.8665 MB / 389.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009151/0.1094, allocations: 395 kB / 390 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003825/0.1132, allocations: 3.25 MB / 393.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1152, allocations: 1.537 MB / 394.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.1169, allocations: 1.457 MB / 396.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.1192, allocations: 1.712 MB / 398 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.1197, allocations: 360 kB / 398.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.1206, allocations: 483.9 kB / 398.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.1214, allocations: 0.9114 MB / 399.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.1229, allocations: 1.303 MB / 401 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.1276, allocations: 4.737 MB / 405.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1276, allocations: 4 kB / 405.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1276, allocations: 4 kB / 405.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.1276, allocations: 0 / 405.8 MB, free: 4.48 MB / 366.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.007922/0.1355, allocations: 3.64 MB / 409.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1356, allocations: 19.98 kB / 409.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.1398, allocations: 0.7406 MB / 410.2 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.1434, allocations: 1.799 MB / 412 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.1436, allocations: 201.7 kB / 412.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.144, allocations: 264.1 kB / 412.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007171/0.1512, allocations: 3.852 MB / 416.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.1512, allocations: 0 / 416.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.1515, allocations: 108 kB / 416.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.1516, allocations: 105.4 kB / 416.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00568/0.1573, allocations: 3.093 MB / 419.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.1734, allocations: 8.924 MB / 428.5 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.1775, allocations: 1.766 MB / 430.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.1789, allocations: 0.8687 MB / 431.1 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003672/0.1826, allocations: 1.985 MB / 433.1 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.1826, allocations: 47.56 kB / 433.2 MB, free: 8.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.1826, allocations: 4 kB / 433.2 MB, free: 8.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006401/0.189, allocations: 2.499 MB / 435.7 MB, free: 5.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.1891, allocations: 86.11 kB / 435.7 MB, free: 5.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.1911, allocations: 1.37 MB / 437.1 MB, free: 4.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.1912, allocations: 49.7 kB / 437.2 MB, free: 4.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000961/0.1922, allocations: 1.199 MB / 438.4 MB, free: 3.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.1925, allocations: 380.8 kB / 438.7 MB, free: 2.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.1928, allocations: 218.9 kB / 438.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.193, allocations: 349.9 kB / 439.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.1941, allocations: 0.5725 MB / 439.9 MB, free: 1.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.1953, allocations: 0.8412 MB / 440.7 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.1977, allocations: 1.464 MB / 442.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.1977, allocations: 4 kB / 442.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003671/0.2014, allocations: 1.954 MB / 444.1 MB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2014, allocations: 8 kB / 444.1 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.2014, allocations: 11.94 kB / 444.1 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.2025, allocations: 406.4 kB / 444.5 MB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.2033, allocations: 215.7 kB / 444.8 MB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.2116, allocations: 6.191 MB / 450.9 MB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.2125, allocations: 135.1 kB / 451.1 MB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.2126, allocations: 48.05 kB / 451.1 MB, free: 6.012 MB / 414.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.001501/0.2141, allocations: 0.8759 MB / 452 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.2144, allocations: 147 kB / 452.1 MB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.2176, allocations: 1.635 MB / 453.8 MB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.2176, allocations: 23.92 kB / 453.8 MB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2176, allocations: 4 kB / 453.8 MB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.2176, allocations: 3.984 kB / 453.8 MB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/0.2238, allocations: 3.372 MB / 457.2 MB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2238, allocations: 4 kB / 457.2 MB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.2244, allocations: 127.8 kB / 457.3 MB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/0.2254, allocations: 397.5 kB / 457.7 MB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.2254, allocations: 35.92 kB / 457.7 MB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00792/0.2334, allocations: 6.171 MB / 463.9 MB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2334, allocations: 0 / 463.9 MB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.2376, allocations: 2.478 MB / 466.4 MB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.238, allocations: 178.8 kB / 466.6 MB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.2381, allocations: 24 kB / 466.6 MB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/0.2389, allocations: 83.91 kB / 466.7 MB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.2391, allocations: 96.8 kB / 466.8 MB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.2392, allocations: 39.98 kB / 466.8 MB, free: 6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001396/0.2406, allocations: 0.9474 MB / 467.7 MB, free: 5.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2406, allocations: 0 / 467.7 MB, free: 5.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001884/0.2425, allocations: 0.689 MB / 468.4 MB, free: 4.355 MB / 430.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.0003054/0.2428, allocations: 155 kB / 468.6 MB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.2459, allocations: 1.738 MB / 470.3 MB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2459, allocations: 0 / 470.3 MB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.2478, allocations: 1.098 MB / 471.4 MB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.2492, allocations: 283.3 kB / 471.7 MB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1731/0.4223, allocations: 4.674 MB / 476.4 MB, free: 81.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.4241, allocations: 1.621 MB / 478 MB, free: 81.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.4252, allocations: 335.3 kB / 478.3 MB, free: 81.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.4254, allocations: 89.8 kB / 478.4 MB, free: 81.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4254, allocations: 4.078 kB / 478.4 MB, free: 81.52 MB / 430.1 MB Notification: Performance of Templates: time 0.03081/0.4562, allocations: 20.54 MB / 498.9 MB, free: 71.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.2251569899963215]