Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 207.6 MB / 231.8 MB, free: 4.191 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 51.92 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09413, allocations: 49.12 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01982/0.1139, allocations: 16.61 MB / 408 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1242, allocations: 4.677 MB / 412.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.1276, allocations: 111.7 kB / 412.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01705/0.1447, allocations: 7.227 MB / 420 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006663/0.1513, allocations: 1.885 MB / 421.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.1559, allocations: 1.644 MB / 423.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.169, allocations: 9.407 MB / 432.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03011/0.1991, allocations: 16.22 MB / 449.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008542/0.2076, allocations: 5.253 MB / 454.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.2183, allocations: 5.926 MB / 460.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004255/0.2225, allocations: 1.359 MB / 461.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006062/0.2286, allocations: 1.64 MB / 463.3 MB, free: 460 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1975/0.4262, allocations: 2.791 MB / 466.1 MB, free: 27.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01274/0.4389, allocations: 5.361 MB / 471.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.4629, allocations: 18.24 MB / 489.7 MB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4629, allocations: 2.562 kB / 489.7 MB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.463, allocations: 1.5 kB / 489.7 MB, free: 20.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006388/0.4636, allocations: 0.5 kB / 489.7 MB, free: 20.55 MB / 382.1 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.03942/0.503, allocations: 12.33 MB / 0.4903 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5031, allocations: 11.06 kB / 0.4903 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005699/0.5088, allocations: 1.517 MB / 0.4918 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/0.5428, allocations: 6.282 MB / 0.4979 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.5569, allocations: 5.174 MB / 0.503 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/0.5575, allocations: 0.6737 MB / 0.5036 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003935/0.5614, allocations: 0.8822 MB / 0.5045 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/0.602, allocations: 14.71 MB / 0.5189 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004154/0.6024, allocations: 7.953 kB / 0.5189 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003175/0.6056, allocations: 373.9 kB / 0.5192 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005837/0.6062, allocations: 0.495 MB / 0.5197 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02992/0.6361, allocations: 13.52 MB / 0.5329 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08694/0.7231, allocations: 44.22 MB / 0.5761 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.7376, allocations: 11.26 MB / 0.5871 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/0.7425, allocations: 2.862 MB / 0.5899 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/0.7428, allocations: 176.1 kB / 0.59 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/0.7429, allocations: 86.2 kB / 0.5901 GB, free: 12.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.241e-06/0.7429, allocations: 0 / 0.5901 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02088/0.7638, allocations: 9.554 MB / 0.5995 GB, free: 2.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7639, allocations: 136.5 kB / 0.5996 GB, free: 2.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005522/0.7694, allocations: 3.157 MB / 0.6027 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004565/0.7699, allocations: 93.7 kB / 0.6028 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.7727, allocations: 3.831 MB / 0.6065 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/0.7743, allocations: 1.458 MB / 0.6079 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/0.7761, allocations: 1.132 MB / 0.609 GB, free: 8.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7763, allocations: 301.1 kB / 0.6093 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/0.7808, allocations: 2.834 MB / 0.6121 GB, free: 5.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/0.7871, allocations: 4.903 MB / 0.6169 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.7986, allocations: 8.253 MB / 0.6249 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.828e-05/0.7986, allocations: 20 kB / 0.6249 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01609/0.8147, allocations: 9.09 MB / 0.6338 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.8148, allocations: 36 kB / 0.6339 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.8149, allocations: 64 kB / 0.6339 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.8181, allocations: 1.148 MB / 0.635 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/0.8226, allocations: 1.287 MB / 0.6363 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.8383, allocations: 10.83 MB / 0.6469 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2362/1.074, allocations: 0.7567 MB / 0.6476 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/1.076, allocations: 272.3 kB / 0.6479 GB, free: 174.5 MB / 0.5137 GB 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.008359/1.085, allocations: 3.423 MB / 0.6512 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.086, allocations: 371.4 kB / 0.6516 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.097, allocations: 6.872 MB / 0.6583 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007287/1.104, allocations: 5.7 MB / 0.6638 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/1.104, allocations: 11.56 kB / 0.6639 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.502e-05/1.104, allocations: 21.66 kB / 0.6639 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.129, allocations: 15.2 MB / 0.6787 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.129, allocations: 15.44 kB / 0.6787 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/1.131, allocations: 0.7886 MB / 0.6795 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.134, allocations: 1.055 MB / 0.6805 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004119/1.135, allocations: 107.7 kB / 0.6806 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.146, allocations: 10.59 MB / 0.691 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.146, allocations: 22.45 kB / 0.691 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.159, allocations: 10.65 MB / 0.7014 GB, free: 147 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/1.162, allocations: 1.006 MB / 0.7024 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005448/1.162, allocations: 95.47 kB / 0.7025 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.164, allocations: 274.4 kB / 0.7027 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/1.165, allocations: 349.7 kB / 0.7031 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/1.165, allocations: 135.3 kB / 0.7032 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002588/1.168, allocations: 2.127 MB / 0.7053 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.168, allocations: 0 / 0.7053 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005805/1.173, allocations: 2.258 MB / 0.7075 GB, free: 141 MB / 0.5137 GB 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.01227/1.186, allocations: 11.42 MB / 0.7186 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009695/1.195, allocations: 7.143 MB / 0.7256 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.195, allocations: 4 kB / 0.7256 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004332/1.2, allocations: 3.413 MB / 0.7289 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.203, allocations: 0.7975 MB / 0.7297 GB, free: 118 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0683/1.272, allocations: 51.81 MB / 0.7803 GB, free: 63.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/1.277, allocations: 5.938 MB / 0.7861 GB, free: 57.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004419/1.281, allocations: 2.154 MB / 0.7882 GB, free: 55.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/1.284, allocations: 3.002 MB / 0.7912 GB, free: 52.38 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/1.284, allocations: 1.859 kB / 0.7912 GB, free: 52.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3716/1.655, allocations: 114.8 MB / 0.9033 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.96/20.61, allocations: 7.938 kB / 0.9033 GB, free: 134.4 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 25.259280741680413]