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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 192 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2122/0.2122, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 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.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.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 0.001931/0.001931, allocations: 71.88 kB / 495.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3378, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.03103/0.3688, allocations: 17.91 MB / 0.5639 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3832, allocations: 7.089 MB / 0.5708 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3844, allocations: 27.81 kB / 0.5708 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.3858, allocations: 381.6 kB / 0.5712 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.388, allocations: 0.6879 MB / 0.5718 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.3921, allocations: 1.33 MB / 0.5731 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.3957, allocations: 2.518 MB / 0.5756 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.397, allocations: 0.5725 MB / 0.5762 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.3995, allocations: 1.047 MB / 0.5772 GB, free: 216 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.4012, allocations: 0.8096 MB / 0.578 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.4015, allocations: 88 kB / 0.5781 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.4031, allocations: 0.5499 MB / 0.5786 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.4037, allocations: 382.8 kB / 0.579 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.4048, allocations: 0.5134 MB / 0.5795 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.4081, allocations: 1.541 MB / 0.581 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4081, allocations: 0 / 0.581 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4081, allocations: 4 kB / 0.581 GB, free: 12.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.4081, allocations: 0 / 0.581 GB, free: 12.32 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.002756/0.4109, allocations: 1.309 MB / 0.5823 GB, free: 10.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4109, allocations: 12.02 kB / 0.5823 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.4114, allocations: 120.3 kB / 0.5824 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.4125, allocations: 0.6266 MB / 0.583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.4128, allocations: 248.8 kB / 0.5832 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.4129, allocations: 80.36 kB / 0.5833 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.415, allocations: 1.309 MB / 0.5846 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.4151, allocations: 7.938 kB / 0.5846 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.4152, allocations: 40 kB / 0.5846 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.4152, allocations: 37.3 kB / 0.5847 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.4169, allocations: 0.9688 MB / 0.5856 GB, free: 7.309 MB / 430.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.009639/0.4265, allocations: 7.098 MB / 0.5925 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.4271, allocations: 292.2 kB / 0.5928 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4274, allocations: 161 kB / 0.593 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/0.4304, allocations: 2.83 MB / 0.5957 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.4304, allocations: 46.73 kB / 0.5958 GB, free: 11.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.4304, allocations: 0 / 0.5958 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002403/0.4328, allocations: 1.125 MB / 0.5969 GB, free: 10.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4329, allocations: 51.41 kB / 0.5969 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.434, allocations: 0.876 MB / 0.5978 GB, free: 9.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.434, allocations: 29.7 kB / 0.5978 GB, free: 9.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.4345, allocations: 0.5921 MB / 0.5984 GB, free: 9.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4346, allocations: 146.9 kB / 0.5985 GB, free: 9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.4349, allocations: 238.7 kB / 0.5988 GB, free: 8.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.4352, allocations: 394.7 kB / 0.5991 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.4356, allocations: 250.5 kB / 0.5994 GB, free: 8.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4366, allocations: 0.966 MB / 0.6003 GB, free: 6.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.4382, allocations: 1.323 MB / 0.6016 GB, free: 5.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4382, allocations: 8 kB / 0.6016 GB, free: 5.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001968/0.4402, allocations: 1.207 MB / 0.6028 GB, free: 3.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.4402, allocations: 17 kB / 0.6028 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.4403, allocations: 28 kB / 0.6028 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.942e-05/0.4403, allocations: 36 kB / 0.6029 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.4411, allocations: 287.4 kB / 0.6031 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/0.4412, allocations: 47.86 kB / 0.6032 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.4419, allocations: 51.94 kB / 0.6032 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.442, allocations: 76 kB / 0.6033 GB, free: 3.359 MB / 446.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.0005246/0.4425, allocations: 334 kB / 0.6036 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4427, allocations: 91.44 kB / 0.6037 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.4437, allocations: 479 kB / 0.6042 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.4437, allocations: 4 kB / 0.6042 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4437, allocations: 0 / 0.6042 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4437, allocations: 3.984 kB / 0.6042 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.4457, allocations: 1.243 MB / 0.6054 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4457, allocations: 0 / 0.6054 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4459, allocations: 71.84 kB / 0.6055 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.446, allocations: 0 / 0.6055 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.446, allocations: 20.12 kB / 0.6055 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.446, allocations: 3.984 kB / 0.6055 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.446, allocations: 7.984 kB / 0.6055 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009767/0.447, allocations: 0.6532 MB / 0.6061 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.4473, allocations: 200.4 kB / 0.6063 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4474, allocations: 15.94 kB / 0.6063 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.4478, allocations: 16 kB / 0.6064 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.4478, allocations: 23.97 kB / 0.6064 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.4479, allocations: 23.97 kB / 0.6064 GB, free: 12 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009455/0.4488, allocations: 0.601 MB / 0.607 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4488, allocations: 3.938 kB / 0.607 GB, free: 15.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001246/0.4501, allocations: 299.6 kB / 0.6073 GB, free: 15.1 MB / 462.1 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.0007907/0.4508, allocations: 328.6 kB / 0.6076 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.452, allocations: 0.6208 MB / 0.6082 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.452, allocations: 1.875 kB / 0.6082 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.4522, allocations: 132.8 kB / 0.6083 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.454, allocations: 425.6 kB / 0.6087 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4565, allocations: 1.508 MB / 0.6102 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.4572, allocations: 1.005 MB / 0.6112 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009159/0.4581, allocations: 311.6 kB / 0.6115 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4582, allocations: 75.42 kB / 0.6116 GB, free: 10.66 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4582, allocations: 4 kB / 0.6116 GB, free: 10.66 MB / 462.1 MB Notification: Performance of Templates: time 0.03057/0.4888, allocations: 16.54 MB / 0.6277 GB, free: 10.27 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.698238279670477]