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.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.0009047/0.0009047, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.003635/0.003635, allocations: 166 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.8479/0.8479, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.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_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: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 4 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.991e-05, allocations: 2.281 kB / 298.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1228/0.1228, allocations: 14.26 MB / 312.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.1296, allocations: 4.522 MB / 317.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.1307, allocations: 136.2 kB / 317.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00603/0.1368, allocations: 7.086 MB / 324.4 MB, free: 432 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.1395, allocations: 1.914 MB / 326.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1414, allocations: 1.609 MB / 328 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006409/0.1478, allocations: 9.824 MB / 337.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01211/0.1599, allocations: 13.49 MB / 351.3 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007067/0.167, allocations: 7.738 MB / 359 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.1713, allocations: 5.255 MB / 364.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.1725, allocations: 1.359 MB / 365.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.1743, allocations: 1.656 MB / 367.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.1757, allocations: 2.848 MB / 370.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.1781, allocations: 3.602 MB / 373.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.1892, allocations: 18.47 MB / 392.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1892, allocations: 0 / 392.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1892, allocations: 0 / 392.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003154/0.1895, allocations: 0 / 392.2 MB, free: 0.7773 MB / 346.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.0168/0.2063, allocations: 12.16 MB / 404.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2064, allocations: 11.98 kB / 404.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001619/0.208, allocations: 1.52 MB / 405.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.2244, allocations: 6.284 MB / 412.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/0.2315, allocations: 5.246 MB / 417.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.2318, allocations: 0.6704 MB / 418.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.2328, allocations: 0.8788 MB / 419 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.2497, allocations: 14.95 MB / 433.9 MB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.2498, allocations: 7.953 kB / 433.9 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/0.2504, allocations: 372 kB / 434.3 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.2507, allocations: 499.3 kB / 434.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.267, allocations: 13.47 MB / 448.3 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.274/0.541, allocations: 40.04 MB / 488.3 MB, free: 92.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/0.5463, allocations: 5.939 MB / 494.2 MB, free: 89.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.5485, allocations: 2.868 MB / 497.1 MB, free: 88.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.5487, allocations: 84.22 kB / 497.2 MB, free: 88.35 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.5488, allocations: 77.62 kB / 497.3 MB, free: 88.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.471e-06/0.5488, allocations: 0 / 497.3 MB, free: 88.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01016/0.5589, allocations: 9.423 MB / 0.4948 GB, free: 83.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.559, allocations: 123 kB / 0.4949 GB, free: 83.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00677/0.5657, allocations: 3.274 MB / 0.4981 GB, free: 80.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006497/0.5664, allocations: 89.7 kB / 0.4982 GB, free: 80.66 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.5681, allocations: 3.818 MB / 0.5019 GB, free: 77.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.5694, allocations: 1.443 MB / 0.5034 GB, free: 76.19 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/0.5712, allocations: 1.121 MB / 0.5044 GB, free: 75.05 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.719e-05/0.5712, allocations: 309.1 kB / 0.5047 GB, free: 74.75 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/0.5743, allocations: 2.838 MB / 0.5075 GB, free: 71.91 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.5771, allocations: 4.9 MB / 0.5123 GB, free: 66.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005088/0.5822, allocations: 8.251 MB / 0.5204 GB, free: 56.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-05/0.5822, allocations: 20 kB / 0.5204 GB, free: 56.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007996/0.5902, allocations: 9.087 MB / 0.5292 GB, free: 47.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.5903, allocations: 35.94 kB / 0.5293 GB, free: 47.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/0.5903, allocations: 68 kB / 0.5293 GB, free: 47.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.5921, allocations: 1.15 MB / 0.5305 GB, free: 46.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5942, allocations: 1.287 MB / 0.5317 GB, free: 45.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.6019, allocations: 10.46 MB / 0.5419 GB, free: 34.52 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.604, allocations: 0.7492 MB / 0.5427 GB, free: 33.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.6043, allocations: 272 kB / 0.5429 GB, free: 33.5 MB / 410.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.003342/0.6076, allocations: 3.419 MB / 0.5463 GB, free: 30.07 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.6079, allocations: 365.7 kB / 0.5466 GB, free: 29.71 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/0.614, allocations: 6.882 MB / 0.5533 GB, free: 22.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004584/0.6186, allocations: 5.698 MB / 0.5589 GB, free: 17.09 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.6186, allocations: 12 kB / 0.5589 GB, free: 17.08 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.6186, allocations: 23.92 kB / 0.5589 GB, free: 17.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6318, allocations: 14.7 MB / 0.5733 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.6318, allocations: 12.19 kB / 0.5733 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.6332, allocations: 0.7996 MB / 0.5741 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.6348, allocations: 1.056 MB / 0.5751 GB, free: 336 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.635, allocations: 111.9 kB / 0.5752 GB, free: 224 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008827/0.6438, allocations: 10.21 MB / 0.5852 GB, free: 5.789 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.6438, allocations: 23.81 kB / 0.5852 GB, free: 5.766 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009509/0.6533, allocations: 10.65 MB / 0.5956 GB, free: 10.89 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.6546, allocations: 0.9688 MB / 0.5966 GB, free: 9.914 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.6549, allocations: 92 kB / 0.5967 GB, free: 9.824 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.656, allocations: 275.7 kB / 0.5969 GB, free: 9.555 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/0.6564, allocations: 359 kB / 0.5973 GB, free: 9.203 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.6566, allocations: 140 kB / 0.5974 GB, free: 9.066 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001992/0.6585, allocations: 2.121 MB / 0.5995 GB, free: 6.941 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6585, allocations: 4 kB / 0.5995 GB, free: 6.938 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003841/0.6624, allocations: 2.243 MB / 0.6017 GB, free: 4.684 MB / 442.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.009917/0.6723, allocations: 11.37 MB / 0.6128 GB, free: 9.074 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007453/0.6798, allocations: 7.143 MB / 0.6197 GB, free: 1.91 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.6798, allocations: 4 kB / 0.6197 GB, free: 1.906 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1272/0.8069, allocations: 3.4 MB / 0.6231 GB, free: 154 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.8103, allocations: 0.8108 MB / 0.6239 GB, free: 153.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04886/0.8591, allocations: 51.89 MB / 0.6745 GB, free: 121.7 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/0.8625, allocations: 5.469 MB / 0.6799 GB, free: 116.3 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003115/0.8656, allocations: 2.158 MB / 0.682 GB, free: 114.1 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/0.8676, allocations: 3.004 MB / 0.6849 GB, free: 111.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.944e-06/0.8676, allocations: 1.422 kB / 0.6849 GB, free: 111.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2542/1.122, allocations: 116 MB / 0.7982 GB, free: 122.9 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.5, allocations: 9.422 kB / 0.7982 GB, free: 122.9 MB / 458.8 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 14.291573570109904]