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.001505/0.001505, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001685/0.001685, allocations: 211 kB / 24.53 MB, free: 4.07 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.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.223/0.223, allocations: 46.91 MB / 361.6 MB, free: 4.262 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 71.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2987, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0206/0.3193, allocations: 18.03 MB / 0.5791 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3294, allocations: 7.101 MB / 0.586 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.3302, allocations: 27.75 kB / 0.5861 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3314, allocations: 385.6 kB / 0.5864 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.3331, allocations: 0.7034 MB / 0.5871 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.3369, allocations: 1.347 MB / 0.5884 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003343/0.3402, allocations: 2.552 MB / 0.5909 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.3413, allocations: 0.569 MB / 0.5915 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.3435, allocations: 1.063 MB / 0.5925 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.3449, allocations: 0.8019 MB / 0.5933 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.345, allocations: 92 kB / 0.5934 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3465, allocations: 0.6201 MB / 0.594 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.3469, allocations: 382.9 kB / 0.5944 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.3475, allocations: 0.5134 MB / 0.5949 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.3498, allocations: 1.616 MB / 0.5964 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3498, allocations: 0 / 0.5964 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3498, allocations: 0 / 0.5964 GB, free: 384 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3498, allocations: 0 / 0.5964 GB, free: 384 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.002515/0.3523, allocations: 1.241 MB / 0.5976 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3523, allocations: 8.031 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.905e-05/0.3524, allocations: 22.19 kB / 0.5977 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.3526, allocations: 139.2 kB / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.353, allocations: 124.3 kB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.354, allocations: 0.5493 MB / 0.5985 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.3544, allocations: 407 kB / 0.5989 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3545, allocations: 91.83 kB / 0.5989 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.3565, allocations: 1.301 MB / 0.6002 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.3566, allocations: 3.938 kB / 0.6002 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3567, allocations: 40 kB / 0.6003 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.3567, allocations: 41.3 kB / 0.6003 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.3583, allocations: 0.9688 MB / 0.6012 GB, free: 11.18 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.007404/0.3657, allocations: 7.006 MB / 0.6081 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.3663, allocations: 292.1 kB / 0.6084 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.3666, allocations: 161.4 kB / 0.6085 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/0.3682, allocations: 0.8442 MB / 0.6093 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3682, allocations: 38.78 kB / 0.6094 GB, free: 2.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3682, allocations: 4 kB / 0.6094 GB, free: 2.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002296/0.3705, allocations: 1.041 MB / 0.6104 GB, free: 1.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3706, allocations: 55.41 kB / 0.6104 GB, free: 1.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3716, allocations: 0.8759 MB / 0.6113 GB, free: 328 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.3717, allocations: 33.7 kB / 0.6113 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.3722, allocations: 0.5921 MB / 0.6119 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3723, allocations: 143 kB / 0.612 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.3726, allocations: 242.7 kB / 0.6123 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3728, allocations: 402.6 kB / 0.6127 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.3732, allocations: 246.5 kB / 0.6129 GB, free: 14.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3742, allocations: 0.97 MB / 0.6138 GB, free: 13.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3758, allocations: 1.316 MB / 0.6151 GB, free: 11.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3758, allocations: 4 kB / 0.6151 GB, free: 11.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002056/0.3778, allocations: 1.215 MB / 0.6163 GB, free: 10.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.3779, allocations: 18.19 kB / 0.6163 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.3779, allocations: 32 kB / 0.6164 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.502e-05/0.3779, allocations: 36 kB / 0.6164 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008098/0.3788, allocations: 275.4 kB / 0.6167 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-05/0.3788, allocations: 48.42 kB / 0.6167 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.3795, allocations: 55.98 kB / 0.6168 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3796, allocations: 79.94 kB / 0.6168 GB, free: 9.887 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.0004797/0.3801, allocations: 342.3 kB / 0.6172 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3803, allocations: 91.44 kB / 0.6173 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000937/0.3812, allocations: 485 kB / 0.6177 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3812, allocations: 4 kB / 0.6177 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3812, allocations: 0 / 0.6177 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3812, allocations: 7.984 kB / 0.6177 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.383, allocations: 1.072 MB / 0.6188 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.3831, allocations: 4 kB / 0.6188 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.3833, allocations: 67.91 kB / 0.6188 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.3834, allocations: 7.984 kB / 0.6189 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3834, allocations: 8 kB / 0.6189 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3834, allocations: 4 kB / 0.6189 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3834, allocations: 0 / 0.6189 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3844, allocations: 0.653 MB / 0.6195 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.3847, allocations: 131.3 kB / 0.6196 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3848, allocations: 16.06 kB / 0.6196 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.3852, allocations: 12 kB / 0.6197 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3852, allocations: 23.95 kB / 0.6197 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.3853, allocations: 27.97 kB / 0.6197 GB, free: 6.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008206/0.3861, allocations: 0.593 MB / 0.6203 GB, free: 6.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3861, allocations: 0 / 0.6203 GB, free: 6.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3873, allocations: 303.6 kB / 0.6206 GB, free: 5.93 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.001792/0.389, allocations: 1.4 MB / 0.6219 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3902, allocations: 0.6171 MB / 0.6225 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.3902, allocations: 5.938 kB / 0.6225 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.3905, allocations: 137 kB / 0.6227 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.3925, allocations: 430.1 kB / 0.6231 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.4034, allocations: 8.028 MB / 0.6309 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.4041, allocations: 0.9973 MB / 0.6319 GB, free: 9.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009417/0.405, allocations: 315.6 kB / 0.6322 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.4054, allocations: 299.3 kB / 0.6325 GB, free: 8.793 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4054, allocations: 0 / 0.6325 GB, free: 8.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/0.4613, allocations: 25.7 MB / 0.6576 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.71, allocations: 7.922 kB / 0.6576 GB, free: 15.27 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: 15.881866245996207]