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.001509/0.001509, allocations: 111 kB / 21.19 MB, free: 0.6406 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.001618/0.001618, allocations: 215.2 kB / 24.48 MB, free: 3.938 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.422/1.422, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2326/0.2326, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.002018/0.002018, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02015/0.3419, allocations: 16.31 MB / 0.5777 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.3515, allocations: 6.498 MB / 0.5841 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.3522, allocations: 31.75 kB / 0.5841 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3533, allocations: 361.6 kB / 0.5845 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3548, allocations: 0.7034 MB / 0.5851 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.3583, allocations: 1.337 MB / 0.5865 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.3614, allocations: 2.564 MB / 0.589 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.3623, allocations: 0.5651 MB / 0.5895 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3642, allocations: 1.079 MB / 0.5906 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.3654, allocations: 0.794 MB / 0.5913 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3656, allocations: 88 kB / 0.5914 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3668, allocations: 491.2 kB / 0.5919 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.3672, allocations: 386.8 kB / 0.5923 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.3677, allocations: 442.3 kB / 0.5927 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.3699, allocations: 1.584 MB / 0.5942 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3699, allocations: 0 / 0.5942 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3699, allocations: 4 kB / 0.5942 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.3699, allocations: 0 / 0.5942 GB, free: 2.895 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.002557/0.3725, allocations: 1.237 MB / 0.5954 GB, free: 1.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3725, allocations: 8.031 kB / 0.5954 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.373, allocations: 124.3 kB / 0.5956 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3742, allocations: 0.5493 MB / 0.5961 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.3745, allocations: 414.9 kB / 0.5965 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.3746, allocations: 84.33 kB / 0.5966 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.3769, allocations: 1.703 MB / 0.5982 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.377, allocations: 7.938 kB / 0.5982 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.3771, allocations: 36 kB / 0.5983 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.3771, allocations: 41.3 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.3788, allocations: 0.9688 MB / 0.5993 GB, free: 13.37 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.006878/0.3857, allocations: 5.82 MB / 0.605 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.3863, allocations: 300.5 kB / 0.6052 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.3865, allocations: 156.5 kB / 0.6054 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.3881, allocations: 0.7784 MB / 0.6061 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3881, allocations: 42.67 kB / 0.6062 GB, free: 6.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.3881, allocations: 0 / 0.6062 GB, free: 6.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00233/0.3905, allocations: 1.03 MB / 0.6072 GB, free: 4.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3905, allocations: 59.39 kB / 0.6073 GB, free: 4.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.3915, allocations: 0.7966 MB / 0.608 GB, free: 4.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.3915, allocations: 33.7 kB / 0.6081 GB, free: 4.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.3919, allocations: 0.5957 MB / 0.6086 GB, free: 3.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3921, allocations: 146.9 kB / 0.6088 GB, free: 3.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.3924, allocations: 242.7 kB / 0.609 GB, free: 3.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3926, allocations: 390.7 kB / 0.6094 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.393, allocations: 246.4 kB / 0.6096 GB, free: 2.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.394, allocations: 0.9544 MB / 0.6106 GB, free: 1.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3956, allocations: 1.319 MB / 0.6118 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.3956, allocations: 8 kB / 0.6119 GB, free: 15.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001912/0.3975, allocations: 1.211 MB / 0.613 GB, free: 14.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.3975, allocations: 19.98 kB / 0.6131 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/0.3976, allocations: 28.78 kB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.454e-05/0.3976, allocations: 36 kB / 0.6131 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.3984, allocations: 275.5 kB / 0.6134 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.345e-05/0.3985, allocations: 51.78 kB / 0.6134 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.3991, allocations: 52 kB / 0.6135 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.3992, allocations: 68 kB / 0.6135 GB, free: 13.68 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.0004341/0.3996, allocations: 333.6 kB / 0.6139 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.3997, allocations: 79.48 kB / 0.6139 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.4006, allocations: 479.2 kB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.4006, allocations: 4 kB / 0.6144 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4006, allocations: 0 / 0.6144 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4006, allocations: 3.984 kB / 0.6144 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.4023, allocations: 0.9484 MB / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4023, allocations: 4 kB / 0.6153 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.4026, allocations: 71.84 kB / 0.6154 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.4026, allocations: 7.984 kB / 0.6154 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.4026, allocations: 15.92 kB / 0.6154 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.4026, allocations: 7.938 kB / 0.6154 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4026, allocations: 0 / 0.6154 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.4035, allocations: 0.6413 MB / 0.6161 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.4038, allocations: 107.5 kB / 0.6162 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.4039, allocations: 11.94 kB / 0.6162 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.4042, allocations: 28.02 kB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4043, allocations: 27.95 kB / 0.6162 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4043, allocations: 19.98 kB / 0.6162 GB, free: 10.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006108/0.405, allocations: 0.4951 MB / 0.6167 GB, free: 10.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.405, allocations: 0 / 0.6167 GB, free: 10.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4061, allocations: 299.6 kB / 0.617 GB, free: 10.01 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.0005332/0.4066, allocations: 310.4 kB / 0.6173 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.4076, allocations: 0.6107 MB / 0.6179 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4076, allocations: 4 kB / 0.6179 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.4079, allocations: 144.7 kB / 0.618 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4093, allocations: 299.7 kB / 0.6183 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4115, allocations: 1.474 MB / 0.6198 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4119, allocations: 408.7 kB / 0.6202 GB, free: 6.723 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.4127, allocations: 282.7 kB / 0.6204 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4128, allocations: 71.42 kB / 0.6205 GB, free: 6.375 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4129, allocations: 4 kB / 0.6205 GB, free: 6.371 MB / 462.1 MB Notification: Performance of Templates: time 0.02513/0.438, allocations: 14.82 MB / 0.635 GB, free: 7.836 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 -s cvode -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.323525622006855]