Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.001376/0.001376, allocations: 114.4 kB / 19.69 MB, free: 2.188 MB / 14.72 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.001479/0.001479, allocations: 213.2 kB / 23 MB, free: 5.004 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.648/1.648, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2502/0.2502, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 72.3 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1431, allocations: 61.06 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005396/0.1485, allocations: 3.444 MB / 0.5195 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1505, allocations: 0.846 MB / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1507, allocations: 11.94 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1511, allocations: 79.22 kB / 0.5204 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1514, allocations: 126.8 kB / 0.5205 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1518, allocations: 127.8 kB / 0.5207 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.1524, allocations: 0.518 MB / 0.5212 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.1528, allocations: 190.3 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.1531, allocations: 211.3 kB / 0.5215 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.1534, allocations: 242.9 kB / 0.5218 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.1534, allocations: 48 kB / 0.5218 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1535, allocations: 52 kB / 0.5219 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1536, allocations: 107.6 kB / 0.522 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.1539, allocations: 246.8 kB / 0.5222 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1546, allocations: 0.5641 MB / 0.5228 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1546, allocations: 0 / 0.5228 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1546, allocations: 0 / 0.5228 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1546, allocations: 0 / 0.5228 GB, free: 0.5234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001445/0.156, allocations: 0.6962 MB / 0.5234 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1561, allocations: 11.97 kB / 0.5235 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.1562, allocations: 90.7 kB / 0.5235 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.1563, allocations: 52.66 kB / 0.5236 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.1568, allocations: 255.8 kB / 0.5238 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1568, allocations: 37.38 kB / 0.5239 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.1569, allocations: 44.38 kB / 0.5239 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.1578, allocations: 471.3 kB / 0.5244 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1578, allocations: 3.984 kB / 0.5244 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.1579, allocations: 20 kB / 0.5244 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1579, allocations: 12 kB / 0.5244 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.1586, allocations: 320.1 kB / 0.5247 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1614, allocations: 1.619 MB / 0.5263 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.1619, allocations: 229 kB / 0.5265 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1623, allocations: 125.6 kB / 0.5266 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1623, allocations: 4 kB / 0.5266 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1623, allocations: 38.56 kB / 0.5267 GB, free: 12.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.1623, allocations: 0 / 0.5267 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003098/0.1654, allocations: 1.12 MB / 0.5278 GB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.1655, allocations: 85.02 kB / 0.5278 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.1658, allocations: 265.8 kB / 0.5281 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1658, allocations: 33.7 kB / 0.5281 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.166, allocations: 264.1 kB / 0.5284 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1661, allocations: 130.9 kB / 0.5285 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1663, allocations: 78.09 kB / 0.5286 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1665, allocations: 342.7 kB / 0.5289 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1668, allocations: 112.8 kB / 0.529 GB, free: 9.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.1672, allocations: 208.3 kB / 0.5292 GB, free: 9.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.1678, allocations: 339.4 kB / 0.5295 GB, free: 9.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1679, allocations: 4 kB / 0.5295 GB, free: 9.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008889/0.1687, allocations: 421.9 kB / 0.5299 GB, free: 8.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1688, allocations: 11.94 kB / 0.5299 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1688, allocations: 0 / 0.5299 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.1689, allocations: 36.78 kB / 0.53 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.1694, allocations: 128 kB / 0.5301 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1708, allocations: 1.342 MB / 0.5314 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1711, allocations: 16 kB / 0.5314 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1711, allocations: 16 kB / 0.5314 GB, free: 7.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.1713, allocations: 165.7 kB / 0.5316 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.1714, allocations: 31.81 kB / 0.5316 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.1715, allocations: 38.11 kB / 0.5317 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1715, allocations: 4 kB / 0.5317 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1715, allocations: 8.062 kB / 0.5317 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1715, allocations: 0 / 0.5317 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1728, allocations: 0.6793 MB / 0.5323 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1728, allocations: 4 kB / 0.5324 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.1732, allocations: 95.94 kB / 0.5324 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.1733, allocations: 32.72 kB / 0.5325 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1734, allocations: 8 kB / 0.5325 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.1746, allocations: 1.319 MB / 0.5338 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1746, allocations: 4.031 kB / 0.5338 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.1757, allocations: 0.6049 MB / 0.5344 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1758, allocations: 47.83 kB / 0.5344 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1759, allocations: 8 kB / 0.5344 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.1761, allocations: 27.92 kB / 0.5344 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.1762, allocations: 23.95 kB / 0.5345 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1762, allocations: 12 kB / 0.5345 GB, free: 3.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1765, allocations: 185.2 kB / 0.5347 GB, free: 3.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1765, allocations: 0 / 0.5347 GB, free: 3.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000513/0.177, allocations: 92 kB / 0.5347 GB, free: 3.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.1785, allocations: 1.144 MB / 0.5359 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.1794, allocations: 387.5 kB / 0.5362 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1794, allocations: 4.188 kB / 0.5362 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.1798, allocations: 246.4 kB / 0.5365 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1803, allocations: 47.09 kB / 0.5365 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2454/0.4257, allocations: 3.492 MB / 0.5399 GB, free: 26.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.4261, allocations: 0.814 MB / 0.5407 GB, free: 25.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.4262, allocations: 31.05 kB / 0.5407 GB, free: 25.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4264, allocations: 140.2 kB / 0.5409 GB, free: 25.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.793e-06/0.4264, allocations: 0 / 0.5409 GB, free: 25.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.4691, allocations: 6.798 MB / 0.5475 GB, free: 25.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.58, allocations: 17.81 kB / 0.5475 GB, free: 25.11 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.014633327999036]