Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.0008067/0.0008067, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001903, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000729/0.000729, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009538/0.001683, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09834/1.103, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2501/0.2501, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02345/0.2735, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] 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.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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.721e-05, allocations: 4.203 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01082/0.01084, allocations: 8.068 MB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00557/0.01641, allocations: 2.53 MB / 301.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.01716, allocations: 31.69 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.0179, allocations: 242.3 kB / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.01961, allocations: 0.6754 MB / 302.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.02234, allocations: 0.9875 MB / 303.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.02558, allocations: 2.548 MB / 305.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.02676, allocations: 0.6042 MB / 306.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.02902, allocations: 1.185 MB / 307.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.03026, allocations: 0.6856 MB / 308.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.03049, allocations: 88 kB / 308.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.03122, allocations: 227.6 kB / 308.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.0316, allocations: 319.1 kB / 308.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.03213, allocations: 299.5 kB / 309.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.0337, allocations: 0.8995 MB / 310 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.056e-05/0.03372, allocations: 4 kB / 310 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.03372, allocations: 0 / 310 MB, free: 4.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/0.03378, allocations: 0 / 310 MB, free: 4.871 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002639/0.03641, allocations: 1.354 MB / 311.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.03646, allocations: 8.625 kB / 311.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.03704, allocations: 269.6 kB / 311.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.03797, allocations: 486 kB / 312.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.03823, allocations: 407 kB / 312.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.03838, allocations: 88.33 kB / 312.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.03992, allocations: 1.304 MB / 313.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.03995, allocations: 12.11 kB / 313.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.04005, allocations: 39.94 kB / 313.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.04012, allocations: 49.23 kB / 314 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.04082, allocations: 376.5 kB / 314.3 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.04455, allocations: 5.084 MB / 319.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.04477, allocations: 199.4 kB / 319.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.04484, allocations: 67.73 kB / 319.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/0.04556, allocations: 0.6424 MB / 320.3 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.04558, allocations: 38.8 kB / 320.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.04558, allocations: 0 / 320.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001059/0.04664, allocations: 0.724 MB / 321.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.04668, allocations: 55.41 kB / 321.1 MB, free: 9.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.04716, allocations: 0.7075 MB / 321.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.04719, allocations: 33.7 kB / 321.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.04743, allocations: 0.5574 MB / 322.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.04753, allocations: 150.9 kB / 322.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.04769, allocations: 230.6 kB / 322.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.04781, allocations: 390.6 kB / 323.2 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.04793, allocations: 101.4 kB / 323.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.04841, allocations: 0.8176 MB / 324.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.04946, allocations: 1.082 MB / 325.2 MB, free: 4.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.04948, allocations: 4 kB / 325.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000877/0.05036, allocations: 0.8087 MB / 326 MB, free: 3.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.05038, allocations: 16 kB / 326 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.0504, allocations: 28 kB / 326 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.05043, allocations: 32 kB / 326.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.05093, allocations: 320 kB / 326.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.05095, allocations: 47.86 kB / 326.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.05131, allocations: 55.94 kB / 326.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.05137, allocations: 63.98 kB / 326.5 MB, free: 2.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.05161, allocations: 216 kB / 326.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.05169, allocations: 63.81 kB / 326.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.05212, allocations: 338.9 kB / 327.1 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.05213, allocations: 4 kB / 327.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.05214, allocations: 0 / 327.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.05214, allocations: 3.984 kB / 327.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.05284, allocations: 0.6368 MB / 327.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.05284, allocations: 4 kB / 327.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.05304, allocations: 84.08 kB / 327.9 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.05315, allocations: 83.45 kB / 328 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.05316, allocations: 4 kB / 328 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.05318, allocations: 15.98 kB / 328 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.05318, allocations: 4 kB / 328 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.05318, allocations: 0 / 328 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.05353, allocations: 431.8 kB / 328.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.05359, allocations: 8 kB / 328.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.05374, allocations: 24.02 kB / 328.4 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.05377, allocations: 23.91 kB / 328.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.0538, allocations: 23.91 kB / 328.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.05402, allocations: 299.3 kB / 328.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.05402, allocations: 0 / 328.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.05465, allocations: 239.9 kB / 329 MB, free: 288 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.05491, allocations: 148.2 kB / 329.1 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.05536, allocations: 457.5 kB / 329.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.385e-05/0.0554, allocations: 21.8 kB / 329.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.05549, allocations: 87.27 kB / 329.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.05622, allocations: 379.4 kB / 330.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.06393, allocations: 1.261 MB / 331.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.06409, allocations: 195.3 kB / 331.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.06458, allocations: 153 kB / 331.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.06508, allocations: 303 kB / 332 MB, free: 13.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.06508, allocations: 0 / 332 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01751/0.0826, allocations: 13.16 MB / 345.1 MB, free: 340 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.212875733152032]