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.0009695/0.0009695, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008711/0.0008711, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9123/0.9123, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.806e-05/4.154e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007355/0.007396, allocations: 6.958 MB / 331.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00484/0.01224, allocations: 2.386 MB / 333.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.01332, allocations: 71.56 kB / 333.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008697/0.01419, allocations: 460.7 kB / 334.4 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.01634, allocations: 0.8852 MB / 335.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.01721, allocations: 399.2 kB / 335.7 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.02045, allocations: 3.356 MB / 339 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.02222, allocations: 1.541 MB / 340.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.02472, allocations: 2.098 MB / 342.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.02655, allocations: 1.539 MB / 344.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005774/0.02713, allocations: 356 kB / 344.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.02811, allocations: 487.7 kB / 345 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.0287, allocations: 0.9387 MB / 345.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009764/0.02968, allocations: 1.107 MB / 347.1 MB, free: 9.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.03315, allocations: 4.772 MB / 351.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.03316, allocations: 0 / 351.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.03316, allocations: 0 / 351.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.03326, allocations: 4 kB / 351.8 MB, free: 4.426 MB / 314.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.005081/0.03834, allocations: 3.616 MB / 355.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.03839, allocations: 11.98 kB / 355.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004289/0.03882, allocations: 441 kB / 355.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.04079, allocations: 0.7445 MB / 356.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.04315, allocations: 1.79 MB / 358.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.04327, allocations: 197.7 kB / 358.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.04358, allocations: 268.3 kB / 358.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.04779, allocations: 3.853 MB / 362.7 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.04783, allocations: 4 kB / 362.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.048, allocations: 111.9 kB / 362.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/0.04807, allocations: 105.4 kB / 362.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.05161, allocations: 3.097 MB / 366 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009475/0.06109, allocations: 9.319 MB / 375.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.06327, allocations: 1.762 MB / 377.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/0.06411, allocations: 0.8649 MB / 378 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/0.06637, allocations: 1.997 MB / 380 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.0664, allocations: 51.55 kB / 380 MB, free: 7.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.776e-06/0.06641, allocations: 0 / 380 MB, free: 7.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003404/0.06981, allocations: 2.499 MB / 382.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.06985, allocations: 90.11 kB / 382.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.07106, allocations: 1.411 MB / 384 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.07111, allocations: 49.69 kB / 384.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.07162, allocations: 1.203 MB / 385.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.0718, allocations: 380.8 kB / 385.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.072, allocations: 218.8 kB / 385.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.0721, allocations: 357.9 kB / 386.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.07267, allocations: 0.5685 MB / 386.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.07336, allocations: 0.8457 MB / 387.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.07461, allocations: 1.46 MB / 389.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.07461, allocations: 0 / 389.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001939/0.07655, allocations: 1.962 MB / 391.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.07657, allocations: 8 kB / 391.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.07659, allocations: 8 kB / 391.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.07717, allocations: 394.2 kB / 391.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.07758, allocations: 215.7 kB / 391.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.0821, allocations: 6.24 MB / 397.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.08266, allocations: 139.1 kB / 398 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.08271, allocations: 55.92 kB / 398.1 MB, free: 4.992 MB / 362.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.001049/0.08376, allocations: 0.8732 MB / 399 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.08393, allocations: 147.1 kB / 399.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.08568, allocations: 1.639 MB / 400.8 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.08569, allocations: 12 kB / 400.8 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.0857, allocations: 4 kB / 400.8 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.08571, allocations: 7.984 kB / 400.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.08968, allocations: 3.742 MB / 404.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.08969, allocations: 4 kB / 404.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.08996, allocations: 132 kB / 404.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/0.09051, allocations: 396.9 kB / 405 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.09056, allocations: 35.97 kB / 405.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.09519, allocations: 6.234 MB / 411.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.0952, allocations: 7.938 kB / 411.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.09778, allocations: 2.471 MB / 413.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.0981, allocations: 170.9 kB / 414 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.0982, allocations: 28 kB / 414 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.0986, allocations: 87.91 kB / 414.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.09878, allocations: 104.7 kB / 414.2 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.09882, allocations: 31.98 kB / 414.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009853/0.0998, allocations: 0.9756 MB / 415.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.0998, allocations: 4 kB / 415.2 MB, free: 3.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00145/0.1013, allocations: 0.6891 MB / 415.9 MB, free: 2.84 MB / 378.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,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.002754/0.104, allocations: 3.072 MB / 418.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.1062, allocations: 1.737 MB / 420.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1062, allocations: 0 / 420.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1073, allocations: 1.095 MB / 421.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1083, allocations: 308.5 kB / 422.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.1242, allocations: 16.03 MB / 438.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.1253, allocations: 1.613 MB / 439.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.1259, allocations: 350.9 kB / 440.1 MB, free: 10 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.1266, allocations: 0.883 MB / 441 MB, free: 9.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1266, allocations: 0 / 441 MB, free: 9.113 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/0.302, allocations: 41.43 MB / 482.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.196, allocations: 7.891 kB / 482.4 MB, free: 90.31 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] 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: 10.292471186257899]