Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0008742/0.0008742, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009336/0.0009336, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9668/0.9668, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.893e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01095/0.01097, allocations: 14.33 MB / 338.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.01967, allocations: 4.56 MB / 343.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.02317, allocations: 163.2 kB / 343.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008562/0.03173, allocations: 7.067 MB / 350.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.03722, allocations: 2.038 MB / 352.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.04022, allocations: 1.517 MB / 354.3 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008992/0.04921, allocations: 9.926 MB / 364.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/0.06678, allocations: 13.5 MB / 377.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.07815, allocations: 7.742 MB / 385.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007413/0.08556, allocations: 5.263 MB / 390.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003505/0.08906, allocations: 1.359 MB / 392 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/0.09394, allocations: 1.663 MB / 393.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.09767, allocations: 2.848 MB / 396.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007203/0.1049, allocations: 3.61 MB / 400.2 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.1217, allocations: 18.65 MB / 418.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1217, allocations: 7.938 kB / 418.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1217, allocations: 0 / 418.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000536/0.1222, allocations: 0 / 418.8 MB, free: 1.301 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02836/0.1506, allocations: 12.16 MB / 431 MB, free: 5.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1506, allocations: 8.031 kB / 431 MB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00466/0.1553, allocations: 1.517 MB / 432.5 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.1743, allocations: 6.191 MB / 438.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.1857, allocations: 5.936 MB / 444.6 MB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/0.1864, allocations: 0.6704 MB / 445.3 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/0.1907, allocations: 0.871 MB / 446.2 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3655/0.5561, allocations: 14.98 MB / 461.2 MB, free: 96.44 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.5563, allocations: 13.36 kB / 461.2 MB, free: 96.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/0.5578, allocations: 370.4 kB / 461.5 MB, free: 96.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/0.558, allocations: 499.7 kB / 462 MB, free: 96.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.5776, allocations: 13.51 MB / 475.5 MB, free: 88.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0506/0.6282, allocations: 40.1 MB / 0.5035 GB, free: 48.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005868/0.6341, allocations: 5.973 MB / 0.5094 GB, free: 42.64 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.6368, allocations: 2.857 MB / 0.5122 GB, free: 39.78 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.637, allocations: 111.8 kB / 0.5123 GB, free: 39.67 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.6371, allocations: 85.72 kB / 0.5124 GB, free: 39.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 6.041e-06/0.6371, allocations: 1.094 kB / 0.5124 GB, free: 39.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01155/0.6486, allocations: 9.434 MB / 0.5216 GB, free: 30.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.6487, allocations: 121.1 kB / 0.5217 GB, free: 30.03 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/0.6517, allocations: 3.275 MB / 0.5249 GB, free: 26.83 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.6519, allocations: 93.7 kB / 0.525 GB, free: 26.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.653, allocations: 3.817 MB / 0.5287 GB, free: 23.33 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006174/0.6536, allocations: 1.45 MB / 0.5301 GB, free: 21.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009452/0.6546, allocations: 1.14 MB / 0.5312 GB, free: 20.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.6546, allocations: 309.1 kB / 0.5315 GB, free: 20.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.657, allocations: 2.841 MB / 0.5343 GB, free: 17.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.6599, allocations: 4.904 MB / 0.5391 GB, free: 11.75 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/0.6658, allocations: 8.271 MB / 0.5472 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.542e-05/0.6659, allocations: 20 kB / 0.5472 GB, free: 2.523 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01151/0.6774, allocations: 9.119 MB / 0.5561 GB, free: 9.391 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.6774, allocations: 32 kB / 0.5561 GB, free: 9.359 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.675e-05/0.6775, allocations: 68 kB / 0.5562 GB, free: 9.293 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.6796, allocations: 1.148 MB / 0.5573 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.6825, allocations: 1.299 MB / 0.5586 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.6925, allocations: 10.44 MB / 0.5688 GB, free: 12.17 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/0.6961, allocations: 0.7452 MB / 0.5695 GB, free: 11.42 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006417/0.6967, allocations: 284 kB / 0.5698 GB, free: 11.14 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005043/0.7018, allocations: 3.427 MB / 0.5731 GB, free: 7.699 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/0.7024, allocations: 365.6 kB / 0.5735 GB, free: 7.34 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.7104, allocations: 6.882 MB / 0.5802 GB, free: 444 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006064/0.7164, allocations: 5.729 MB / 0.5858 GB, free: 10.69 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-05/0.7165, allocations: 12 kB / 0.5858 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.7165, allocations: 19.92 kB / 0.5858 GB, free: 10.66 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.7348, allocations: 14.74 MB / 0.6002 GB, free: 11.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.7349, allocations: 16 kB / 0.6002 GB, free: 11.75 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.7365, allocations: 0.7957 MB / 0.601 GB, free: 10.96 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.7382, allocations: 1.063 MB / 0.602 GB, free: 9.887 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.7384, allocations: 112 kB / 0.6021 GB, free: 9.777 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009235/0.7477, allocations: 10.22 MB / 0.6121 GB, free: 15.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.7477, allocations: 19.88 kB / 0.6121 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.759, allocations: 10.67 MB / 0.6226 GB, free: 4.406 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/0.7608, allocations: 0.961 MB / 0.6235 GB, free: 3.441 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.7611, allocations: 104 kB / 0.6236 GB, free: 3.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7622, allocations: 267.7 kB / 0.6239 GB, free: 3.078 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.7628, allocations: 359 kB / 0.6242 GB, free: 2.727 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.763, allocations: 151.9 kB / 0.6243 GB, free: 2.578 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002525/0.7655, allocations: 2.129 MB / 0.6264 GB, free: 456 kB / 490.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7655, allocations: 0 / 0.6264 GB, free: 456 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.1987/0.9642, allocations: 2.251 MB / 0.6286 GB, free: 162.1 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/0.976, allocations: 11.4 MB / 0.6398 GB, free: 159 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008173/0.9842, allocations: 7.163 MB / 0.6468 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/0.9842, allocations: 0 / 0.6468 GB, free: 156.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003481/0.9877, allocations: 3.426 MB / 0.6501 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.9902, allocations: 0.7993 MB / 0.6509 GB, free: 154.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05047/1.041, allocations: 51.86 MB / 0.7015 GB, free: 106.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/1.044, allocations: 5.471 MB / 0.7069 GB, free: 101.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003311/1.047, allocations: 2.155 MB / 0.709 GB, free: 98.95 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/1.049, allocations: 3.027 MB / 0.7119 GB, free: 95.92 MB / 490.8 MB Notification: Performance of SimCode: time 1.693e-06/1.049, allocations: 0 / 0.7119 GB, free: 95.92 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3011/1.351, allocations: 116.9 MB / 0.8261 GB, free: 146.2 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.65, allocations: 2.125 kB / 0.8261 GB, free: 146.2 MB / 490.8 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.659451489336789]