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.001417/0.001417, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001063/0.001063, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8528/0.8528, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.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.1523/0.1523, allocations: 32.81 MB / 295.4 MB, free: 15.36 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.022e-06/1.022e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.804e-05, allocations: 6.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005436/0.005454, allocations: 7.963 MB / 385.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.008479, allocations: 2.445 MB / 387.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.008974, allocations: 35.69 kB / 387.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.009504, allocations: 242.3 kB / 387.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.0104, allocations: 0.6717 MB / 388.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.01192, allocations: 1.017 MB / 389.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.01356, allocations: 2.493 MB / 392.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.01417, allocations: 0.5927 MB / 392.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.01519, allocations: 1.146 MB / 393.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/0.01585, allocations: 0.7363 MB / 394.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01596, allocations: 88 kB / 394.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.01634, allocations: 215.7 kB / 394.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.01653, allocations: 394.9 kB / 395.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.01678, allocations: 387.2 kB / 395.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.01757, allocations: 1.024 MB / 396.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01758, allocations: 0 / 396.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01758, allocations: 0 / 396.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.01759, allocations: 0 / 396.7 MB, free: 6.082 MB / 314.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.001156/0.01875, allocations: 1.275 MB / 398 MB, free: 4.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.01878, allocations: 19.92 kB / 398 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.01911, allocations: 224 kB / 398.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.01961, allocations: 0.5318 MB / 398.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.01972, allocations: 411 kB / 399.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.0198, allocations: 84.38 kB / 399.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.02049, allocations: 1.395 MB / 400.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.02051, allocations: 12.08 kB / 400.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.02058, allocations: 47.92 kB / 400.7 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.02061, allocations: 37.31 kB / 400.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.02101, allocations: 393.5 kB / 401.1 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.02488, allocations: 7.244 MB / 408.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.02513, allocations: 173.1 kB / 408.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.02521, allocations: 72.3 kB / 408.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000763/0.02598, allocations: 0.7193 MB / 409.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.026, allocations: 41.84 kB / 409.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.026, allocations: 0 / 409.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001014/0.02702, allocations: 0.7063 MB / 410 MB, free: 7.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.02705, allocations: 55.41 kB / 410.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.02754, allocations: 0.7754 MB / 410.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.02757, allocations: 33.7 kB / 410.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.02784, allocations: 0.6607 MB / 411.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.02792, allocations: 146.9 kB / 411.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.0281, allocations: 260.3 kB / 412 MB, free: 5.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.02825, allocations: 0.5624 MB / 412.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.02836, allocations: 94.52 kB / 412.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.02889, allocations: 1.156 MB / 413.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.02996, allocations: 1.388 MB / 415.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.02997, allocations: 8 kB / 415.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008723/0.03084, allocations: 0.9578 MB / 416.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.03086, allocations: 16 kB / 416.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.03088, allocations: 24 kB / 416.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.03091, allocations: 36 kB / 416.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.03132, allocations: 276.2 kB / 416.5 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.03135, allocations: 51.84 kB / 416.5 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.03169, allocations: 52 kB / 416.6 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.03174, allocations: 64 kB / 416.6 MB, free: 288 kB / 330.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.0001965/0.03194, allocations: 264.9 kB / 416.9 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.03203, allocations: 95.42 kB / 417 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.03244, allocations: 366.8 kB / 417.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.03245, allocations: 4 kB / 417.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.03245, allocations: 4 kB / 417.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.03246, allocations: 3.984 kB / 417.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.03335, allocations: 0.786 MB / 418.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.03335, allocations: 192 / 418.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.03356, allocations: 79.89 kB / 418.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.03356, allocations: 0 / 418.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.03358, allocations: 8 kB / 418.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.03358, allocations: 4 kB / 418.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.03359, allocations: 7.984 kB / 418.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.03409, allocations: 0.5056 MB / 418.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.03424, allocations: 103.4 kB / 418.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.03431, allocations: 11.94 kB / 418.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.03455, allocations: 23.97 kB / 418.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.03459, allocations: 23.89 kB / 418.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.03462, allocations: 19.98 kB / 418.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003147/0.03494, allocations: 414.7 kB / 419.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03494, allocations: 0 / 419.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008521/0.03579, allocations: 239.9 kB / 419.6 MB, free: 13.23 MB / 346.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.0002618/0.03605, allocations: 175 kB / 419.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.03664, allocations: 472.8 kB / 420.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.03664, allocations: 4 kB / 420.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.03677, allocations: 91.5 kB / 420.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.03777, allocations: 311.3 kB / 420.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.03977, allocations: 1.274 MB / 421.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.03992, allocations: 199.5 kB / 422.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004263/0.04034, allocations: 158.7 kB / 422.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.04091, allocations: 365.9 kB / 422.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04091, allocations: 0 / 422.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Templates: time 0.02049/0.0614, allocations: 12.88 MB / 435.4 MB, free: 13.54 MB / 362.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 -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.3117857668548822]