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.001929/0.001929, allocations: 85.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00229/0.00229, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.18 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 1.373e-06/1.373e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.106e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009375/0.009396, allocations: 6.949 MB / 332 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.01477, allocations: 2.384 MB / 334.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.01596, allocations: 75.5 kB / 334.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.0172, allocations: 461.1 kB / 334.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.02002, allocations: 0.8746 MB / 335.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.02113, allocations: 418.1 kB / 336.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004649/0.02577, allocations: 3.338 MB / 339.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.02836, allocations: 1.548 MB / 341 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.03195, allocations: 2.101 MB / 343.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.03469, allocations: 1.535 MB / 344.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000611/0.03531, allocations: 360 kB / 345 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.03639, allocations: 487.7 kB / 345.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.03732, allocations: 0.9347 MB / 346.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.03891, allocations: 1.103 MB / 347.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005368/0.04428, allocations: 4.772 MB / 352.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.04429, allocations: 4 kB / 352.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04429, allocations: 0 / 352.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.019e-05/0.04436, allocations: 3.938 kB / 352.3 MB, free: 9.656 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.008593/0.05295, allocations: 3.612 MB / 355.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.05299, allocations: 11.98 kB / 355.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.05728, allocations: 0.7484 MB / 356.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/0.06074, allocations: 1.786 MB / 358.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.06092, allocations: 209.7 kB / 358.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/0.06138, allocations: 260.4 kB / 358.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006889/0.06827, allocations: 3.841 MB / 362.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.06832, allocations: 3.938 kB / 362.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.06862, allocations: 112 kB / 362.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.06877, allocations: 105.4 kB / 363 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/0.0744, allocations: 3.097 MB / 366.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.09054, allocations: 8.928 MB / 375 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.09479, allocations: 1.761 MB / 376.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.09631, allocations: 0.8688 MB / 377.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003871/0.1002, allocations: 1.996 MB / 379.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.1002, allocations: 47.55 kB / 379.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.946e-06/0.1002, allocations: 0 / 379.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006837/0.1071, allocations: 2.495 MB / 382.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.1071, allocations: 90.11 kB / 382.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.1091, allocations: 1.37 MB / 383.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.1092, allocations: 45.7 kB / 383.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/0.1101, allocations: 1.199 MB / 384.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.1105, allocations: 376.8 kB / 385.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.1108, allocations: 214.9 kB / 385.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.111, allocations: 357.9 kB / 385.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.1121, allocations: 0.5725 MB / 386.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.1133, allocations: 0.8416 MB / 387.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.1157, allocations: 1.467 MB / 388.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1157, allocations: 0 / 388.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003747/0.1195, allocations: 1.946 MB / 390.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1195, allocations: 12 kB / 390.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1195, allocations: 11.94 kB / 390.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.1206, allocations: 403.1 kB / 391.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.1214, allocations: 211.6 kB / 391.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.1297, allocations: 6.187 MB / 397.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/0.1306, allocations: 143.1 kB / 397.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.1307, allocations: 48 kB / 397.6 MB, free: 11.23 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.001513/0.1322, allocations: 0.8682 MB / 398.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.1325, allocations: 147 kB / 398.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.1358, allocations: 1.631 MB / 400.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.1358, allocations: 12 kB / 400.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.1359, allocations: 11.98 kB / 400.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.1359, allocations: 7.984 kB / 400.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/0.1423, allocations: 3.361 MB / 403.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.1423, allocations: 12.12 kB / 403.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.1429, allocations: 135.8 kB / 403.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.1439, allocations: 394.6 kB / 404.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.144, allocations: 23.98 kB / 404.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008272/0.1523, allocations: 6.174 MB / 410.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1523, allocations: 15.98 kB / 410.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.1568, allocations: 2.467 MB / 412.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.1571, allocations: 166.8 kB / 413 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.1573, allocations: 31.94 kB / 413.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/0.1581, allocations: 83.91 kB / 413.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.1583, allocations: 104.8 kB / 413.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.1584, allocations: 27.98 kB / 413.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001457/0.1599, allocations: 0.9474 MB / 414.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1599, allocations: 4 kB / 414.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001893/0.1618, allocations: 0.6891 MB / 414.9 MB, free: 9.59 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.0003293/0.1621, allocations: 159.1 kB / 415.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.1653, allocations: 1.734 MB / 416.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1653, allocations: 8.125 kB / 416.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.1673, allocations: 1.09 MB / 417.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.1687, allocations: 284.3 kB / 418.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.1761, allocations: 4.577 MB / 422.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.178, allocations: 1.617 MB / 424.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000826/0.1788, allocations: 330.7 kB / 424.7 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.179, allocations: 92.48 kB / 424.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.179, allocations: 4 kB / 424.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of Templates: time 0.03861/0.2177, allocations: 20.42 MB / 445.2 MB, free: 11.39 MB / 414.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 -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/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_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.217241935431957]