Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001574/0.001574, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001442/0.001442, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 46.96 MB / 361.6 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01979/0.3009, allocations: 16.3 MB / 0.5777 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009417/0.3103, allocations: 6.494 MB / 0.5841 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.3111, allocations: 31.75 kB / 0.5841 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3121, allocations: 373.6 kB / 0.5845 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.3138, allocations: 0.6956 MB / 0.5852 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.3174, allocations: 1.353 MB / 0.5865 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.3207, allocations: 2.556 MB / 0.589 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.3218, allocations: 0.5574 MB / 0.5895 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.3243, allocations: 1.082 MB / 0.5906 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.3258, allocations: 0.794 MB / 0.5913 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.326, allocations: 88 kB / 0.5914 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.3273, allocations: 491.2 kB / 0.5919 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.3277, allocations: 386.9 kB / 0.5923 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.3284, allocations: 446.2 kB / 0.5927 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.3308, allocations: 1.58 MB / 0.5942 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3308, allocations: 0 / 0.5942 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3308, allocations: 0 / 0.5942 GB, free: 2.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.3308, allocations: 0 / 0.5942 GB, free: 2.867 MB / 430.1 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.002812/0.3336, allocations: 1.241 MB / 0.5955 GB, free: 1.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3337, allocations: 8.031 kB / 0.5955 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005299/0.3342, allocations: 124.3 kB / 0.5956 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3354, allocations: 0.5493 MB / 0.5961 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.3358, allocations: 410.9 kB / 0.5965 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.3359, allocations: 84.33 kB / 0.5966 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.3383, allocations: 1.703 MB / 0.5982 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.3384, allocations: 11.94 kB / 0.5983 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.3385, allocations: 40 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.3385, allocations: 45.3 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.3402, allocations: 0.961 MB / 0.5993 GB, free: 13.34 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/0.3473, allocations: 5.824 MB / 0.605 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.3479, allocations: 296.6 kB / 0.6053 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3482, allocations: 153.4 kB / 0.6054 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.3498, allocations: 0.7822 MB / 0.6062 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.3499, allocations: 38.73 kB / 0.6062 GB, free: 5.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.3499, allocations: 0 / 0.6062 GB, free: 5.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002516/0.3524, allocations: 1.03 MB / 0.6072 GB, free: 4.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3524, allocations: 55.41 kB / 0.6073 GB, free: 4.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3535, allocations: 0.7966 MB / 0.608 GB, free: 4.051 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.3535, allocations: 29.7 kB / 0.6081 GB, free: 4.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.354, allocations: 0.5997 MB / 0.6086 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3541, allocations: 146.9 kB / 0.6088 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.3544, allocations: 242.7 kB / 0.609 GB, free: 3.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3546, allocations: 390.8 kB / 0.6094 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.3551, allocations: 238.5 kB / 0.6096 GB, free: 2.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3562, allocations: 0.9622 MB / 0.6106 GB, free: 1.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.3579, allocations: 1.323 MB / 0.6119 GB, free: 15.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.3579, allocations: 8 kB / 0.6119 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002062/0.3599, allocations: 1.208 MB / 0.613 GB, free: 14.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.36, allocations: 16 kB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/0.36, allocations: 28 kB / 0.6131 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/0.36, allocations: 35.98 kB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.3609, allocations: 275.5 kB / 0.6134 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.895e-05/0.361, allocations: 55.78 kB / 0.6134 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.3617, allocations: 48 kB / 0.6135 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3618, allocations: 72 kB / 0.6135 GB, free: 13.65 MB / 462.1 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.000477/0.3623, allocations: 337.7 kB / 0.6139 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3624, allocations: 83.48 kB / 0.6139 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009616/0.3634, allocations: 466.2 kB / 0.6144 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3634, allocations: 7.984 kB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3634, allocations: 3.938 kB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.3637, allocations: 111.4 kB / 0.6145 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.3638, allocations: 11.98 kB / 0.6145 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.3641, allocations: 8 kB / 0.6145 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.3641, allocations: 31.83 kB / 0.6146 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007614/0.3649, allocations: 400.6 kB / 0.6149 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009971/0.3659, allocations: 0.6776 MB / 0.6156 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002308/0.3661, allocations: 125.1 kB / 0.6157 GB, free: 11.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006986/0.3668, allocations: 499 kB / 0.6162 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Backend: time 5.41e-07/0.3668, allocations: 0 / 0.6162 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.3689, allocations: 0.8192 MB / 0.617 GB, free: 10.07 MB / 462.1 MB Notification: Performance of SimCode: time 0.003477/0.3724, allocations: 2.062 MB / 0.619 GB, free: 7.957 MB / 462.1 MB Notification: Performance of Templates: time 0.02772/0.4001, allocations: 15.71 MB / 0.6344 GB, free: 8.508 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36005663999822]