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.001708/0.001708, allocations: 117 kB / 18.49 MB, free: 4.566 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.002164/0.002164, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2191/0.2191, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.002265/0.002265, allocations: 75.89 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 66.04 MB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02092/0.1512, allocations: 17.86 MB / 0.5736 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1612, allocations: 7.038 MB / 0.5805 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.1621, allocations: 31.75 kB / 0.5805 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1633, allocations: 389.5 kB / 0.5809 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.165, allocations: 0.6878 MB / 0.5815 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.1685, allocations: 1.313 MB / 0.5828 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.1719, allocations: 2.517 MB / 0.5853 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.173, allocations: 0.5959 MB / 0.5859 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.1751, allocations: 1.067 MB / 0.5869 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.1764, allocations: 0.7901 MB / 0.5877 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.1765, allocations: 84 kB / 0.5878 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.178, allocations: 0.6006 MB / 0.5883 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.1784, allocations: 386.8 kB / 0.5887 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.1791, allocations: 0.5134 MB / 0.5892 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.1816, allocations: 1.612 MB / 0.5908 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1816, allocations: 0 / 0.5908 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1816, allocations: 0 / 0.5908 GB, free: 1.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.1816, allocations: 0 / 0.5908 GB, free: 1.926 MB / 446.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.002754/0.1844, allocations: 1.316 MB / 0.5921 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1844, allocations: 8.031 kB / 0.5921 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.779e-05/0.1844, allocations: 26.19 kB / 0.5921 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.1846, allocations: 139.2 kB / 0.5922 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.1851, allocations: 124.3 kB / 0.5924 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2363/0.4214, allocations: 0.6149 MB / 0.593 GB, free: 36.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.4216, allocations: 254.4 kB / 0.5932 GB, free: 36.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4217, allocations: 73.28 kB / 0.5933 GB, free: 36.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.4237, allocations: 1.301 MB / 0.5945 GB, free: 36.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.4237, allocations: 6.375 kB / 0.5945 GB, free: 36.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.4238, allocations: 41.89 kB / 0.5946 GB, free: 36.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/0.4239, allocations: 43.36 kB / 0.5946 GB, free: 36.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4256, allocations: 0.9653 MB / 0.5956 GB, free: 36.1 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.006296/0.4319, allocations: 7.068 MB / 0.6025 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.4325, allocations: 291.3 kB / 0.6027 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.4328, allocations: 163.5 kB / 0.6029 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/0.4348, allocations: 2.817 MB / 0.6057 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4349, allocations: 43.3 kB / 0.6057 GB, free: 27.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.053e-06/0.4349, allocations: 3.375 kB / 0.6057 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002357/0.4372, allocations: 1.126 MB / 0.6068 GB, free: 26.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4372, allocations: 55.75 kB / 0.6068 GB, free: 26.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4384, allocations: 0.868 MB / 0.6077 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.4385, allocations: 32.55 kB / 0.6077 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.4388, allocations: 0.5903 MB / 0.6083 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.4389, allocations: 150.8 kB / 0.6084 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.4391, allocations: 237.5 kB / 0.6087 GB, free: 25.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4393, allocations: 395.9 kB / 0.6091 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.4397, allocations: 246 kB / 0.6093 GB, free: 25.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.4404, allocations: 0.9642 MB / 0.6102 GB, free: 24.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.4415, allocations: 1.321 MB / 0.6115 GB, free: 23.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.4416, allocations: 7.344 kB / 0.6115 GB, free: 23.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001787/0.4433, allocations: 1.225 MB / 0.6127 GB, free: 22.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4434, allocations: 16.66 kB / 0.6127 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.4434, allocations: 25.58 kB / 0.6128 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.045e-05/0.4435, allocations: 35.61 kB / 0.6128 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.4443, allocations: 273.7 kB / 0.6131 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-05/0.4444, allocations: 51.83 kB / 0.6131 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.4451, allocations: 51.58 kB / 0.6132 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.4453, allocations: 77.56 kB / 0.6132 GB, free: 22.44 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.0004298/0.4457, allocations: 331 kB / 0.6135 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4458, allocations: 95.28 kB / 0.6136 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008263/0.4467, allocations: 481.5 kB / 0.6141 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4467, allocations: 9.547 kB / 0.6141 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4467, allocations: 0 / 0.6141 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4467, allocations: 3.359 kB / 0.6141 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4483, allocations: 1.246 MB / 0.6153 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4483, allocations: 1.562 kB / 0.6153 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.4486, allocations: 72.62 kB / 0.6154 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.4487, allocations: 5.844 kB / 0.6154 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.4487, allocations: 10.05 kB / 0.6154 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.4487, allocations: 2.938 kB / 0.6154 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4487, allocations: 10.55 kB / 0.6154 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.4496, allocations: 0.6512 MB / 0.6161 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.4498, allocations: 195.2 kB / 0.6162 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.4499, allocations: 17.36 kB / 0.6163 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.4503, allocations: 12.98 kB / 0.6163 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4504, allocations: 35.34 kB / 0.6163 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.4504, allocations: 23.95 kB / 0.6163 GB, free: 20.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007417/0.4512, allocations: 0.5949 MB / 0.6169 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4512, allocations: 0 / 0.6169 GB, free: 20.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001245/0.4524, allocations: 302.6 kB / 0.6172 GB, free: 20.23 MB / 446.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.001451/0.4539, allocations: 1.403 MB / 0.6186 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.4551, allocations: 0.6137 MB / 0.6192 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4551, allocations: 1.312 kB / 0.6192 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4553, allocations: 135.1 kB / 0.6193 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.4573, allocations: 430.3 kB / 0.6197 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4683, allocations: 8.033 MB / 0.6276 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.4688, allocations: 0.9974 MB / 0.6285 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001091/0.4699, allocations: 320.8 kB / 0.6288 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.4703, allocations: 296.6 kB / 0.6291 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4703, allocations: 0 / 0.6291 GB, free: 12.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/0.5206, allocations: 24.78 MB / 0.6533 GB, free: 6.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.777/10.3, allocations: 11.98 kB / 0.6533 GB, free: 6.141 MB / 462.1 MB " [Timeout remaining time 650] (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: 13.669109382957686]