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.001914/0.001914, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002215/0.002215, allocations: 209 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.762 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.2314/0.2314, allocations: 46.95 MB / 361.6 MB, free: 4.051 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.002272/0.002272, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3354, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0201/0.3555, allocations: 16.32 MB / 0.5777 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.365, allocations: 6.494 MB / 0.5841 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.3658, allocations: 27.75 kB / 0.5841 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3669, allocations: 369.6 kB / 0.5845 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.3686, allocations: 0.6995 MB / 0.5851 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.3721, allocations: 1.33 MB / 0.5864 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.3753, allocations: 2.548 MB / 0.5889 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009092/0.3762, allocations: 0.565 MB / 0.5895 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.3782, allocations: 1.071 MB / 0.5905 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.3794, allocations: 0.7862 MB / 0.5913 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.3796, allocations: 84 kB / 0.5914 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3809, allocations: 479.2 kB / 0.5918 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.3813, allocations: 386.9 kB / 0.5922 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.3818, allocations: 454.2 kB / 0.5926 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.384, allocations: 1.573 MB / 0.5942 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.384, allocations: 4 kB / 0.5942 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.384, allocations: 0 / 0.5942 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.384, allocations: 4 kB / 0.5942 GB, free: 2.898 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.002484/0.3865, allocations: 1.225 MB / 0.5954 GB, free: 1.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3865, allocations: 12.03 kB / 0.5954 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/0.387, allocations: 132.2 kB / 0.5955 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.3882, allocations: 0.5532 MB / 0.5961 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.3885, allocations: 414.9 kB / 0.5965 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3887, allocations: 80.33 kB / 0.5965 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.391, allocations: 1.703 MB / 0.5982 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.391, allocations: 7.938 kB / 0.5982 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3911, allocations: 39.98 kB / 0.5982 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.3912, allocations: 41.3 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3928, allocations: 0.961 MB / 0.5992 GB, free: 13.38 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.007328/0.4001, allocations: 5.832 MB / 0.6049 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.4007, allocations: 292.6 kB / 0.6052 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.401, allocations: 164.2 kB / 0.6053 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.4027, allocations: 0.7667 MB / 0.6061 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4028, allocations: 42.73 kB / 0.6061 GB, free: 6.027 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.794e-06/0.4028, allocations: 0 / 0.6061 GB, free: 6.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002447/0.4052, allocations: 1.034 MB / 0.6071 GB, free: 4.961 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4053, allocations: 55.39 kB / 0.6072 GB, free: 4.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4063, allocations: 0.7966 MB / 0.608 GB, free: 4.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.4063, allocations: 37.7 kB / 0.608 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.4068, allocations: 0.5919 MB / 0.6086 GB, free: 3.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.407, allocations: 146.9 kB / 0.6087 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.4073, allocations: 242.7 kB / 0.609 GB, free: 3.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.4075, allocations: 386.7 kB / 0.6093 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.4079, allocations: 246.5 kB / 0.6096 GB, free: 2.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.4091, allocations: 0.9583 MB / 0.6105 GB, free: 1.113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.4108, allocations: 1.319 MB / 0.6118 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.4108, allocations: 4 kB / 0.6118 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002067/0.4129, allocations: 1.208 MB / 0.613 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.4129, allocations: 19.98 kB / 0.613 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.413, allocations: 24 kB / 0.613 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/0.413, allocations: 36 kB / 0.6131 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.4138, allocations: 280.1 kB / 0.6133 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/0.4139, allocations: 47.84 kB / 0.6134 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.4145, allocations: 56 kB / 0.6134 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4146, allocations: 75.94 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.0004828/0.4151, allocations: 329.6 kB / 0.6138 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.4153, allocations: 87.47 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.4162, allocations: 478.5 kB / 0.6143 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4162, allocations: 4 kB / 0.6143 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4162, allocations: 0 / 0.6143 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4162, allocations: 3.984 kB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4179, allocations: 0.9521 MB / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4179, allocations: 4.125 kB / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.4182, allocations: 71.91 kB / 0.6154 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.4182, allocations: 4 kB / 0.6154 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.4183, allocations: 15.92 kB / 0.6154 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.4183, allocations: 7.938 kB / 0.6154 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4183, allocations: 4 kB / 0.6154 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.4192, allocations: 0.6413 MB / 0.616 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4195, allocations: 115.4 kB / 0.6161 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.4196, allocations: 15.89 kB / 0.6161 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.4199, allocations: 11.98 kB / 0.6161 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.42, allocations: 32.02 kB / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.42, allocations: 23.98 kB / 0.6162 GB, free: 10.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000633/0.4207, allocations: 0.4912 MB / 0.6167 GB, free: 10.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4207, allocations: 0 / 0.6167 GB, free: 10.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001173/0.4218, allocations: 299.6 kB / 0.617 GB, free: 10.02 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.0005774/0.4224, allocations: 298.7 kB / 0.6173 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4236, allocations: 0.6189 MB / 0.6179 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4237, allocations: 3.938 kB / 0.6179 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.4239, allocations: 140.8 kB / 0.618 GB, free: 8.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.4255, allocations: 306 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.002555/0.428, allocations: 1.515 MB / 0.6198 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.4285, allocations: 404.7 kB / 0.6202 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.4286, allocations: 75.42 kB / 0.6202 GB, free: 6.602 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4286, allocations: 0 / 0.6202 GB, free: 6.602 MB / 462.1 MB Notification: Performance of Templates: time 0.02147/0.4501, allocations: 13.64 MB / 0.6335 GB, free: 9.043 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: 9.802608453202993]