Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.92 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 71.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3125, allocations: 66.08 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02215/0.3346, allocations: 18.02 MB / 0.5783 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3455, allocations: 7.097 MB / 0.5853 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.3465, allocations: 31.69 kB / 0.5853 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.3478, allocations: 389.5 kB / 0.5857 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.3497, allocations: 0.6995 MB / 0.5863 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.3533, allocations: 1.349 MB / 0.5877 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003642/0.357, allocations: 2.552 MB / 0.5902 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.3582, allocations: 0.5689 MB / 0.5907 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.3608, allocations: 1.063 MB / 0.5918 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.3623, allocations: 0.8096 MB / 0.5925 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.3627, allocations: 88 kB / 0.5926 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.3644, allocations: 0.6162 MB / 0.5932 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.3649, allocations: 382.9 kB / 0.5936 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.3659, allocations: 0.5134 MB / 0.5941 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.3687, allocations: 1.616 MB / 0.5957 GB, free: 372 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3687, allocations: 0 / 0.5957 GB, free: 372 kB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3687, allocations: 0 / 0.5957 GB, free: 372 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.041e-05/0.3687, allocations: 0 / 0.5957 GB, free: 372 kB / 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.002876/0.3716, allocations: 1.241 MB / 0.5969 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3717, allocations: 8.031 kB / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.3719, allocations: 143.2 kB / 0.597 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.3724, allocations: 128.3 kB / 0.5971 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.3736, allocations: 0.5532 MB / 0.5977 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.3739, allocations: 407 kB / 0.5981 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.374, allocations: 84.08 kB / 0.5982 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3761, allocations: 1.293 MB / 0.5994 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.3761, allocations: 7.938 kB / 0.5994 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.3762, allocations: 40 kB / 0.5995 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.3763, allocations: 37.3 kB / 0.5995 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.378, allocations: 0.9688 MB / 0.6004 GB, free: 11.2 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.007824/0.3858, allocations: 7.006 MB / 0.6073 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.3864, allocations: 292.3 kB / 0.6076 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.3867, allocations: 161.4 kB / 0.6077 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/0.3885, allocations: 0.852 MB / 0.6086 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3885, allocations: 38.8 kB / 0.6086 GB, free: 2.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.3885, allocations: 0 / 0.6086 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002416/0.391, allocations: 1.033 MB / 0.6096 GB, free: 1.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.391, allocations: 55.41 kB / 0.6097 GB, free: 1.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3922, allocations: 0.8759 MB / 0.6105 GB, free: 348 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.3923, allocations: 41.64 kB / 0.6105 GB, free: 300 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.3927, allocations: 0.5921 MB / 0.6111 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3929, allocations: 135 kB / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.3932, allocations: 254.6 kB / 0.6115 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.3934, allocations: 394.7 kB / 0.6119 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.3938, allocations: 246.5 kB / 0.6121 GB, free: 14.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3949, allocations: 0.9622 MB / 0.613 GB, free: 13.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.3966, allocations: 1.323 MB / 0.6143 GB, free: 11.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.146e-05/0.3966, allocations: 8 kB / 0.6143 GB, free: 11.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002268/0.3988, allocations: 1.215 MB / 0.6155 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.3989, allocations: 16 kB / 0.6156 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/0.3989, allocations: 24 kB / 0.6156 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-05/0.399, allocations: 36 kB / 0.6156 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.3998, allocations: 283.4 kB / 0.6159 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.252e-05/0.3999, allocations: 47.8 kB / 0.6159 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/0.4007, allocations: 52.47 kB / 0.616 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4008, allocations: 75.98 kB / 0.616 GB, free: 9.902 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.0005052/0.4013, allocations: 338.3 kB / 0.6164 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4015, allocations: 91.44 kB / 0.6165 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/0.4025, allocations: 497.8 kB / 0.6169 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4025, allocations: 4 kB / 0.6169 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4025, allocations: 0 / 0.6169 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4025, allocations: 4 kB / 0.6169 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.4043, allocations: 1.077 MB / 0.618 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4043, allocations: 3.938 kB / 0.618 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.4046, allocations: 67.91 kB / 0.6181 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.4046, allocations: 4 kB / 0.6181 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.4047, allocations: 8 kB / 0.6181 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.4047, allocations: 4 kB / 0.6181 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4047, allocations: 3.938 kB / 0.6181 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4058, allocations: 0.6453 MB / 0.6187 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.4062, allocations: 131.3 kB / 0.6188 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4063, allocations: 8.062 kB / 0.6188 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.4067, allocations: 23.98 kB / 0.6189 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.4068, allocations: 23.89 kB / 0.6189 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.4069, allocations: 27.92 kB / 0.6189 GB, free: 6.848 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.4077, allocations: 0.593 MB / 0.6195 GB, free: 6.242 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4077, allocations: 0 / 0.6195 GB, free: 6.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4089, allocations: 307.6 kB / 0.6198 GB, free: 5.941 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.001923/0.4108, allocations: 1.4 MB / 0.6212 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.412, allocations: 0.6252 MB / 0.6218 GB, free: 3.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.412, allocations: 0 / 0.6218 GB, free: 3.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.4123, allocations: 133.4 kB / 0.6219 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.4144, allocations: 429.6 kB / 0.6223 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.4272, allocations: 8.025 MB / 0.6301 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000913/0.4281, allocations: 1.001 MB / 0.6311 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.4292, allocations: 315.3 kB / 0.6314 GB, free: 9.098 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.4297, allocations: 303.3 kB / 0.6317 GB, free: 8.801 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4297, allocations: 0 / 0.6317 GB, free: 8.801 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06892/0.4986, allocations: 25.67 MB / 0.6568 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.12, allocations: 7.422 kB / 0.6568 GB, free: 15.3 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.14729821193032]