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.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.001331/0.001331, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001576/0.001576, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2165/0.2165, allocations: 44.93 MB / 358.8 MB, free: 6.164 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.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_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 67.91 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3208, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01982/0.3406, allocations: 16.3 MB / 0.5729 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009682/0.3503, allocations: 6.505 MB / 0.5792 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.3511, allocations: 31.75 kB / 0.5793 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3522, allocations: 369.6 kB / 0.5796 GB, free: 232 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.3542, allocations: 0.6956 MB / 0.5803 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.3581, allocations: 1.34 MB / 0.5816 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.3611, allocations: 2.544 MB / 0.5841 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.3621, allocations: 0.569 MB / 0.5846 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.364, allocations: 1.075 MB / 0.5857 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.3652, allocations: 0.7707 MB / 0.5865 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.3654, allocations: 91.94 kB / 0.5865 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.3668, allocations: 483.2 kB / 0.587 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.3672, allocations: 382.9 kB / 0.5874 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.3678, allocations: 450.2 kB / 0.5878 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.3701, allocations: 1.581 MB / 0.5893 GB, free: 6.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3701, allocations: 0 / 0.5893 GB, free: 6.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3701, allocations: 0 / 0.5893 GB, free: 6.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3701, allocations: 0 / 0.5893 GB, free: 6.25 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.002528/0.3727, allocations: 1.243 MB / 0.5906 GB, free: 4.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3727, allocations: 12.03 kB / 0.5906 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.3729, allocations: 139.2 kB / 0.5907 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.3734, allocations: 128.3 kB / 0.5908 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3746, allocations: 0.5493 MB / 0.5914 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.3749, allocations: 407 kB / 0.5917 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.375, allocations: 84.08 kB / 0.5918 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.3773, allocations: 1.703 MB / 0.5935 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.3774, allocations: 11.94 kB / 0.5935 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3775, allocations: 36 kB / 0.5935 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.3775, allocations: 41.25 kB / 0.5936 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3792, allocations: 0.961 MB / 0.5945 GB, free: 0.582 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.007018/0.3862, allocations: 5.929 MB / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.3868, allocations: 296.6 kB / 0.6006 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.3871, allocations: 153.4 kB / 0.6007 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.3889, allocations: 0.7975 MB / 0.6015 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.389, allocations: 34.8 kB / 0.6015 GB, free: 9.102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.389, allocations: 0 / 0.6015 GB, free: 9.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002431/0.3914, allocations: 1.046 MB / 0.6026 GB, free: 8.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3914, allocations: 55.41 kB / 0.6026 GB, free: 7.957 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3926, allocations: 0.9185 MB / 0.6035 GB, free: 7.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.3926, allocations: 33.92 kB / 0.6035 GB, free: 6.988 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.3931, allocations: 0.5883 MB / 0.6041 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3932, allocations: 146.8 kB / 0.6043 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.3935, allocations: 238.7 kB / 0.6045 GB, free: 6.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3937, allocations: 406.7 kB / 0.6049 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.3942, allocations: 242.5 kB / 0.6051 GB, free: 5.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3952, allocations: 0.9621 MB / 0.606 GB, free: 4.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.3967, allocations: 1.319 MB / 0.6073 GB, free: 2.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3968, allocations: 4 kB / 0.6073 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00199/0.3987, allocations: 1.22 MB / 0.6085 GB, free: 1.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.3988, allocations: 22.34 kB / 0.6086 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.3988, allocations: 24 kB / 0.6086 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-05/0.3989, allocations: 36 kB / 0.6086 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.3997, allocations: 275.5 kB / 0.6089 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.935e-05/0.3997, allocations: 55.78 kB / 0.6089 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.4004, allocations: 44 kB / 0.609 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4005, allocations: 76 kB / 0.609 GB, free: 0.6133 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.0004779/0.401, allocations: 342.7 kB / 0.6094 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4011, allocations: 91.44 kB / 0.6095 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.4021, allocations: 479.1 kB / 0.6099 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4021, allocations: 3.984 kB / 0.6099 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4021, allocations: 4 kB / 0.6099 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4021, allocations: 4 kB / 0.6099 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.4039, allocations: 1.014 MB / 0.6109 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4039, allocations: 3.938 kB / 0.6109 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.4042, allocations: 67.91 kB / 0.611 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4042, allocations: 4 kB / 0.611 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.4042, allocations: 8 kB / 0.611 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.4042, allocations: 4.188 kB / 0.611 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4042, allocations: 8 kB / 0.611 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4052, allocations: 0.6605 MB / 0.6116 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.4055, allocations: 123.3 kB / 0.6118 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4056, allocations: 8 kB / 0.6118 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.406, allocations: 19.98 kB / 0.6118 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.4061, allocations: 23.89 kB / 0.6118 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.4061, allocations: 23.98 kB / 0.6118 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007816/0.4069, allocations: 0.593 MB / 0.6124 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4069, allocations: 4 kB / 0.6124 GB, free: 13.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001098/0.408, allocations: 307.7 kB / 0.6127 GB, free: 12.71 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.001775/0.4098, allocations: 1.407 MB / 0.6141 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.4109, allocations: 0.622 MB / 0.6147 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4109, allocations: 0.875 kB / 0.6147 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.4112, allocations: 137 kB / 0.6148 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.4131, allocations: 424.6 kB / 0.6152 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.424, allocations: 8.019 MB / 0.6231 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.4245, allocations: 409.5 kB / 0.6235 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009946/0.4255, allocations: 315.9 kB / 0.6238 GB, free: 480 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.4259, allocations: 291.3 kB / 0.624 GB, free: 188 kB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4259, allocations: 0 / 0.624 GB, free: 188 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/0.4916, allocations: 26.64 MB / 0.65 GB, free: 6.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.46, allocations: 17.53 kB / 0.6501 GB, free: 6 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 15.545547306071967]