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.001571/0.001571, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001711/0.001711, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 7.824 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.2204/0.2204, allocations: 46.94 MB / 361.6 MB, free: 3.949 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.002158/0.002158, allocations: 79.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 66.07 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01904/0.3339, allocations: 16.29 MB / 0.5773 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009328/0.3432, allocations: 6.49 MB / 0.5837 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.3441, allocations: 35.69 kB / 0.5837 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3454, allocations: 365.7 kB / 0.5841 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.3473, allocations: 0.6995 MB / 0.5847 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.3509, allocations: 1.342 MB / 0.5861 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.3542, allocations: 2.552 MB / 0.5886 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.3553, allocations: 0.5651 MB / 0.5891 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.3576, allocations: 1.075 MB / 0.5902 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.3591, allocations: 0.7979 MB / 0.5909 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.3593, allocations: 88 kB / 0.591 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.3606, allocations: 487.2 kB / 0.5915 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.3611, allocations: 382.9 kB / 0.5918 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.3619, allocations: 454.2 kB / 0.5923 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.3643, allocations: 1.584 MB / 0.5938 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3643, allocations: 0 / 0.5938 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3643, allocations: 0 / 0.5938 GB, free: 2.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.3644, allocations: 0 / 0.5938 GB, free: 2.773 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.002839/0.3672, allocations: 1.233 MB / 0.595 GB, free: 1.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3673, allocations: 8.031 kB / 0.595 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.77e-05/0.3673, allocations: 30.19 kB / 0.5951 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.3675, allocations: 143.2 kB / 0.5952 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.368, allocations: 128.3 kB / 0.5953 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3691, allocations: 0.5493 MB / 0.5959 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.3694, allocations: 411 kB / 0.5963 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3696, allocations: 83.89 kB / 0.5963 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.3719, allocations: 1.705 MB / 0.598 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.372, allocations: 7.938 kB / 0.598 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3721, allocations: 40 kB / 0.598 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/0.3721, allocations: 37.31 kB / 0.5981 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3738, allocations: 0.9649 MB / 0.599 GB, free: 13.08 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.006895/0.3807, allocations: 5.933 MB / 0.6048 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.3813, allocations: 292.6 kB / 0.6051 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3816, allocations: 157.4 kB / 0.6052 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.3834, allocations: 0.7977 MB / 0.606 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3835, allocations: 38.8 kB / 0.6061 GB, free: 5.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.3835, allocations: 0 / 0.6061 GB, free: 5.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002707/0.3862, allocations: 1.044 MB / 0.6071 GB, free: 4.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3862, allocations: 55.41 kB / 0.6071 GB, free: 4.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3875, allocations: 0.8759 MB / 0.608 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.3876, allocations: 33.7 kB / 0.608 GB, free: 3.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/0.3881, allocations: 0.5921 MB / 0.6086 GB, free: 2.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3883, allocations: 135 kB / 0.6087 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.3886, allocations: 242.7 kB / 0.609 GB, free: 2.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.3889, allocations: 402.7 kB / 0.6093 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.3893, allocations: 246.5 kB / 0.6096 GB, free: 1.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.3904, allocations: 0.9621 MB / 0.6105 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.3922, allocations: 1.319 MB / 0.6118 GB, free: 14.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/0.3922, allocations: 4 kB / 0.6118 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002217/0.3944, allocations: 1.216 MB / 0.613 GB, free: 13.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.3945, allocations: 20 kB / 0.613 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/0.3945, allocations: 24 kB / 0.613 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.544e-05/0.3946, allocations: 43.92 kB / 0.6131 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.3955, allocations: 267.5 kB / 0.6133 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.536e-05/0.3955, allocations: 55.78 kB / 0.6134 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008284/0.3963, allocations: 51.94 kB / 0.6134 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.3965, allocations: 79.94 kB / 0.6135 GB, free: 13.14 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.0005559/0.397, allocations: 338.4 kB / 0.6138 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.3973, allocations: 95.44 kB / 0.6139 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3983, allocations: 487.8 kB / 0.6144 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.3983, allocations: 0 / 0.6144 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3983, allocations: 8 kB / 0.6144 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3983, allocations: 0 / 0.6144 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.4003, allocations: 1.023 MB / 0.6154 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4003, allocations: 0 / 0.6154 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4006, allocations: 67.91 kB / 0.6155 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.4006, allocations: 4 kB / 0.6155 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4006, allocations: 8 kB / 0.6155 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.4007, allocations: 4 kB / 0.6155 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.4007, allocations: 12.11 kB / 0.6155 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4018, allocations: 0.6529 MB / 0.6161 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.4022, allocations: 127.3 kB / 0.6163 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4023, allocations: 8 kB / 0.6163 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.4028, allocations: 19.98 kB / 0.6163 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4028, allocations: 23.89 kB / 0.6163 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.4029, allocations: 23.98 kB / 0.6163 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009491/0.4039, allocations: 0.597 MB / 0.6169 GB, free: 9.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4039, allocations: 0 / 0.6169 GB, free: 9.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001373/0.4052, allocations: 303.6 kB / 0.6172 GB, free: 9.23 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.002079/0.4073, allocations: 1.406 MB / 0.6186 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4086, allocations: 0.6225 MB / 0.6192 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.4086, allocations: 0 / 0.6192 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.4088, allocations: 132.4 kB / 0.6193 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.411, allocations: 426.9 kB / 0.6197 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.4227, allocations: 8.029 MB / 0.6276 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.4232, allocations: 405.5 kB / 0.6279 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.4242, allocations: 315.1 kB / 0.6282 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.4247, allocations: 303.3 kB / 0.6285 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4247, allocations: 4 kB / 0.6285 GB, free: 12.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/0.4845, allocations: 26.58 MB / 0.6545 GB, free: 2.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.03, allocations: 8 kB / 0.6545 GB, free: 2.477 MB / 494.1 MB " [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.225914255948737]