Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 105.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 177.5 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 243.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/2.943e-05, allocations: 2.281 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.4079/0.408, allocations: 64.91 MB / 0.5235 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03257/0.4406, allocations: 27.01 MB / 0.5499 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.4425, allocations: 20.66 kB / 0.5499 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.4444, allocations: 0.5558 MB / 0.5505 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0222/0.4666, allocations: 5.233 MB / 0.5556 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.4838, allocations: 3.632 MB / 0.5591 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005712/0.4895, allocations: 2.482 MB / 0.5615 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.4914, allocations: 0.6928 MB / 0.5622 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.5031, allocations: 4.426 MB / 0.5665 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.5053, allocations: 0.6847 MB / 0.5672 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005867/0.5059, allocations: 88 kB / 0.5673 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.5241, allocations: 6.462 MB / 0.5736 GB, free: 11.7 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003236/0.5274, allocations: 1.711 MB / 0.5753 GB, free: 9.973 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001556/0.5289, allocations: 1.075 MB / 0.5763 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.5297, allocations: 179.5 kB / 0.5765 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004227/0.5302, allocations: 39.86 kB / 0.5765 GB, free: 8.672 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 (174) * Number of variables: 190 (190) Notification: Performance of Bindings: time 0.00757/0.5378, allocations: 4.855 MB / 0.5813 GB, free: 3.637 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0008747/0.5386, allocations: 401.8 kB / 0.5816 GB, free: 3.242 MB / 414.1 MB Notification: Performance of Early Inline: time 0.007454/0.5461, allocations: 4.327 MB / 0.5859 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simplify1: time 0.0007464/0.5469, allocations: 287.6 kB / 0.5861 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Alias: time 0.006103/0.553, allocations: 3.804 MB / 0.5899 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplify2: time 0.0007139/0.5538, allocations: 271.6 kB / 0.5901 GB, free: 10.12 MB / 430.1 MB Notification: Performance of Detect States: time 0.001176/0.555, allocations: 0.7167 MB / 0.5908 GB, free: 9.387 MB / 430.1 MB Notification: Performance of Events: time 0.001671/0.5567, allocations: 0.8949 MB / 0.5917 GB, free: 8.523 MB / 430.1 MB Notification: Performance of Partitioning: time 0.00218/0.5589, allocations: 1.35 MB / 0.593 GB, free: 6.941 MB / 430.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Boolean is invalid. Error: Internal error NBSlice.resolveDependency failed for: massFlowRate2.ports[1].m_flow. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $SEV_18 = abs(sum({abs(massFlowRate2.ports[1].m_flow)}) - abs(massFlowRate2.ports[1].m_flow)) <= 1e-60 ($RES_EVT_246)