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.0008641/0.0008641, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009008/0.0009008, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8988/0.8988, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.247/0.247, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.664e-05, allocations: 4.391 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1913/0.1913, allocations: 16.21 MB / 455.8 MB, free: 37.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.1956, allocations: 6.475 MB / 462.3 MB, free: 33.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.196, allocations: 32.53 kB / 462.3 MB, free: 33.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.1967, allocations: 381.2 kB / 462.7 MB, free: 32.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009227/0.1976, allocations: 0.7157 MB / 463.4 MB, free: 32.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.1997, allocations: 1.39 MB / 464.8 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.2011, allocations: 2.516 MB / 467.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.2015, allocations: 0.5619 MB / 467.8 MB, free: 30.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.2024, allocations: 1.336 MB / 469.2 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.203, allocations: 0.7282 MB / 469.9 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/0.203, allocations: 88.59 kB / 470 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.2036, allocations: 486.4 kB / 470.5 MB, free: 29.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.2039, allocations: 404.4 kB / 470.9 MB, free: 29.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.2041, allocations: 381 kB / 471.2 MB, free: 29.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.2051, allocations: 1.645 MB / 472.9 MB, free: 28.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2051, allocations: 0 / 472.9 MB, free: 28.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2051, allocations: 3.281 kB / 472.9 MB, free: 28.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2051, allocations: 0 / 472.9 MB, free: 28.55 MB / 410.7 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.001303/0.2064, allocations: 1.22 MB / 474.1 MB, free: 27.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2064, allocations: 13.81 kB / 474.1 MB, free: 27.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.2065, allocations: 146.2 kB / 474.3 MB, free: 27.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.2068, allocations: 119.4 kB / 474.4 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.2074, allocations: 0.5488 MB / 474.9 MB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2075, allocations: 409 kB / 475.3 MB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.2076, allocations: 81.03 kB / 475.4 MB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2087, allocations: 1.698 MB / 477.1 MB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.2087, allocations: 11 kB / 477.1 MB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.2088, allocations: 44.06 kB / 477.2 MB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.2088, allocations: 42.64 kB / 477.2 MB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.2097, allocations: 0.9614 MB / 478.2 MB, free: 25.3 MB / 410.7 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.002897/0.2126, allocations: 5.914 MB / 484.1 MB, free: 20.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2129, allocations: 289.3 kB / 484.4 MB, free: 20.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.213, allocations: 156.7 kB / 484.5 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007597/0.2138, allocations: 0.802 MB / 485.3 MB, free: 19.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2138, allocations: 37.89 kB / 485.4 MB, free: 19.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.2138, allocations: 0 / 485.4 MB, free: 19.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00129/0.2151, allocations: 1.048 MB / 486.4 MB, free: 19.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2151, allocations: 54.31 kB / 486.5 MB, free: 19.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.2157, allocations: 0.914 MB / 487.4 MB, free: 18.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2157, allocations: 33.05 kB / 487.4 MB, free: 18.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.2159, allocations: 0.5865 MB / 488 MB, free: 18.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.2159, allocations: 137.2 kB / 488.1 MB, free: 18.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2161, allocations: 238.3 kB / 488.4 MB, free: 18.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.2162, allocations: 398.2 kB / 488.7 MB, free: 17.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.2164, allocations: 248.5 kB / 489 MB, free: 17.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2168, allocations: 0.9621 MB / 489.9 MB, free: 16.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.2175, allocations: 1.323 MB / 491.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.2176, allocations: 11.81 kB / 491.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001157/0.2187, allocations: 1.224 MB / 492.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.2187, allocations: 16.41 kB / 492.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.2188, allocations: 25.5 kB / 492.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/0.2188, allocations: 37.34 kB / 492.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.2193, allocations: 279.3 kB / 492.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.2193, allocations: 50.12 kB / 492.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.2197, allocations: 53.36 kB / 493 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.2198, allocations: 77.08 kB / 493 MB, free: 14.8 MB / 410.7 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.0002402/0.22, allocations: 338.7 kB / 493.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.2201, allocations: 90.09 kB / 493.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.2206, allocations: 487.7 kB / 493.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2206, allocations: 4.312 kB / 493.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2206, allocations: 0 / 493.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2207, allocations: 5 kB / 493.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.2216, allocations: 1.014 MB / 494.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2216, allocations: 1.156 kB / 494.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2218, allocations: 68 kB / 495 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.2218, allocations: 2.219 kB / 495 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2218, allocations: 9.906 kB / 495 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2218, allocations: 6.094 kB / 495 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2218, allocations: 2.188 kB / 495 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.2225, allocations: 0.657 MB / 495.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.2227, allocations: 126.1 kB / 495.8 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.2228, allocations: 9.188 kB / 495.8 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.223, allocations: 14.44 kB / 495.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.223, allocations: 28.62 kB / 495.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.223, allocations: 22.61 kB / 495.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005468/0.2236, allocations: 0.5969 MB / 496.5 MB, free: 12.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2236, allocations: 3.938 kB / 496.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008093/0.2244, allocations: 301.7 kB / 496.8 MB, free: 12.92 MB / 410.7 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.001018/0.2254, allocations: 1.411 MB / 498.2 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.2261, allocations: 0.622 MB / 498.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2261, allocations: 2.594 kB / 498.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2262, allocations: 134.4 kB / 499 MB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.2274, allocations: 421.3 kB / 499.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.2342, allocations: 7.914 MB / 0.4954 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2346, allocations: 407.5 kB / 0.4958 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000693/0.2353, allocations: 317.7 kB / 0.4961 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.2355, allocations: 304.3 kB / 0.4964 GB, free: 5.945 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2355, allocations: 4 kB / 0.4964 GB, free: 5.941 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.2715, allocations: 26.68 MB / 0.5224 GB, free: 3.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.912, allocations: 0 / 0.5224 GB, free: 3.75 MB / 426.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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: 9.932846403680742]