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.001827/0.001827, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002242/0.002242, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2359/0.2359, allocations: 46.93 MB / 360.9 MB, free: 4.273 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 75.83 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 66.03 MB / 0.5606 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02164/0.3435, allocations: 18.04 MB / 0.5783 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009938/0.3534, allocations: 7.093 MB / 0.5852 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.3542, allocations: 31.75 kB / 0.5852 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3553, allocations: 385.5 kB / 0.5856 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.3569, allocations: 0.6956 MB / 0.5863 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3604, allocations: 1.352 MB / 0.5876 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003343/0.3637, allocations: 2.56 MB / 0.5901 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.3648, allocations: 0.569 MB / 0.5906 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3668, allocations: 1.059 MB / 0.5917 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3681, allocations: 0.798 MB / 0.5924 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.3683, allocations: 84 kB / 0.5925 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3698, allocations: 0.6279 MB / 0.5931 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.3703, allocations: 386.9 kB / 0.5935 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.371, allocations: 0.5173 MB / 0.594 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.3734, allocations: 1.604 MB / 0.5956 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3734, allocations: 4 kB / 0.5956 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3734, allocations: 0 / 0.5956 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.3734, allocations: 0 / 0.5956 GB, free: 0.5703 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.002672/0.3761, allocations: 1.237 MB / 0.5968 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3761, allocations: 12.03 kB / 0.5968 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.3763, allocations: 143.2 kB / 0.5969 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.3768, allocations: 128.3 kB / 0.5971 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.378, allocations: 0.5416 MB / 0.5976 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.3783, allocations: 414.9 kB / 0.598 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3785, allocations: 84.08 kB / 0.5981 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.3805, allocations: 1.297 MB / 0.5993 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.3805, allocations: 7.938 kB / 0.5993 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3806, allocations: 39.94 kB / 0.5994 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/0.3807, allocations: 45.3 kB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3824, allocations: 0.961 MB / 0.6004 GB, free: 11.4 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.008168/0.3905, allocations: 7.006 MB / 0.6072 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.3911, allocations: 300.6 kB / 0.6075 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.3914, allocations: 160.5 kB / 0.6076 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.3931, allocations: 0.848 MB / 0.6085 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3932, allocations: 46.78 kB / 0.6085 GB, free: 2.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3932, allocations: 0 / 0.6085 GB, free: 2.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002321/0.3955, allocations: 1.042 MB / 0.6095 GB, free: 1.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3956, allocations: 55.41 kB / 0.6096 GB, free: 1.418 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.3967, allocations: 0.8759 MB / 0.6104 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.3967, allocations: 33.7 kB / 0.6105 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.3972, allocations: 0.5845 MB / 0.611 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3973, allocations: 143 kB / 0.6112 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.3976, allocations: 242.7 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3978, allocations: 402.5 kB / 0.6118 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.3983, allocations: 250.4 kB / 0.612 GB, free: 14.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3993, allocations: 0.966 MB / 0.613 GB, free: 13.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.401, allocations: 1.316 MB / 0.6143 GB, free: 11.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.401, allocations: 8 kB / 0.6143 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002157/0.4032, allocations: 1.216 MB / 0.6155 GB, free: 10.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4032, allocations: 16 kB / 0.6155 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.4033, allocations: 28 kB / 0.6155 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/0.4033, allocations: 32 kB / 0.6155 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.4042, allocations: 275.5 kB / 0.6158 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.836e-05/0.4042, allocations: 51.8 kB / 0.6158 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.4049, allocations: 51.98 kB / 0.6159 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.405, allocations: 79.94 kB / 0.616 GB, free: 10.11 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.0005167/0.4055, allocations: 341.2 kB / 0.6163 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.4057, allocations: 91.44 kB / 0.6164 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009389/0.4066, allocations: 480.2 kB / 0.6168 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4067, allocations: 8 kB / 0.6168 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4067, allocations: 0 / 0.6168 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4067, allocations: 3.984 kB / 0.6168 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4086, allocations: 1.073 MB / 0.6179 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4086, allocations: 0 / 0.6179 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.4089, allocations: 71.91 kB / 0.618 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4089, allocations: 3.984 kB / 0.618 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.4089, allocations: 12 kB / 0.618 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4089, allocations: 0 / 0.618 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4089, allocations: 4 kB / 0.618 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.41, allocations: 0.6567 MB / 0.6186 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.4103, allocations: 127.3 kB / 0.6187 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4104, allocations: 16 kB / 0.6188 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.4108, allocations: 11.94 kB / 0.6188 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4108, allocations: 32.02 kB / 0.6188 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.4109, allocations: 23.97 kB / 0.6188 GB, free: 7.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009015/0.4118, allocations: 0.597 MB / 0.6194 GB, free: 6.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4118, allocations: 3.938 kB / 0.6194 GB, free: 6.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001349/0.4131, allocations: 303.6 kB / 0.6197 GB, free: 6.148 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.001845/0.4149, allocations: 1.407 MB / 0.6211 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4161, allocations: 0.6104 MB / 0.6217 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4161, allocations: 0 / 0.6217 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.4164, allocations: 144.7 kB / 0.6218 GB, free: 3.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.4183, allocations: 425.8 kB / 0.6222 GB, free: 3.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.4296, allocations: 8.028 MB / 0.6301 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.4303, allocations: 1.001 MB / 0.631 GB, free: 9.594 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009598/0.4313, allocations: 316.2 kB / 0.6313 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.4317, allocations: 299.3 kB / 0.6316 GB, free: 8.996 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4317, allocations: 0 / 0.6316 GB, free: 8.996 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.496, allocations: 25.67 MB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.95, allocations: 11.14 kB / 0.6567 GB, free: 15.59 MB / 0.4981 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] 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: 16.048997099976987]