Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001052/0.001052, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005325/0.005325, allocations: 163 kB / 24.7 MB, free: 9.418 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.8734/0.8734, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.716e-05, allocations: 10.22 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1917/0.1918, allocations: 16.2 MB / 459.6 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.1959, allocations: 6.48 MB / 466.1 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1963, allocations: 27.75 kB / 466.1 MB, free: 30.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.1968, allocations: 372.2 kB / 466.5 MB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.1975, allocations: 0.7199 MB / 467.2 MB, free: 29.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.199, allocations: 1.378 MB / 468.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.2001, allocations: 2.512 MB / 471.1 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.2005, allocations: 0.5668 MB / 471.7 MB, free: 27.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009269/0.2015, allocations: 1.334 MB / 473 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.2019, allocations: 0.728 MB / 473.8 MB, free: 26.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.202, allocations: 91.75 kB / 473.8 MB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.2025, allocations: 497.8 kB / 474.3 MB, free: 26.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2027, allocations: 395.7 kB / 474.7 MB, free: 26.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2029, allocations: 384 kB / 475.1 MB, free: 26.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2039, allocations: 1.635 MB / 476.7 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2039, allocations: 0 / 476.7 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2039, allocations: 3.188 kB / 476.7 MB, free: 25.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.204, allocations: 0 / 476.7 MB, free: 25.61 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.001272/0.2052, allocations: 1.23 MB / 478 MB, free: 24.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2053, allocations: 9.844 kB / 478 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.2055, allocations: 126.6 kB / 478.1 MB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.2061, allocations: 0.5479 MB / 478.6 MB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2062, allocations: 418.3 kB / 479 MB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.2063, allocations: 77.91 kB / 479.1 MB, free: 24.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2073, allocations: 1.7 MB / 480.8 MB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2074, allocations: 7.25 kB / 480.8 MB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.2074, allocations: 44.91 kB / 480.9 MB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.2075, allocations: 36.36 kB / 480.9 MB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.2083, allocations: 0.9644 MB / 481.9 MB, free: 22.45 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.002767/0.2111, allocations: 5.808 MB / 487.7 MB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.2114, allocations: 293.9 kB / 488 MB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2115, allocations: 160.1 kB / 488.1 MB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.2122, allocations: 0.7779 MB / 488.9 MB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2123, allocations: 44.73 kB / 488.9 MB, free: 17.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.2123, allocations: 0 / 488.9 MB, free: 17.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001231/0.2135, allocations: 1.034 MB / 490 MB, free: 16.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2135, allocations: 54.34 kB / 490 MB, free: 16.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.214, allocations: 0.7916 MB / 490.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.214, allocations: 32.8 kB / 490.9 MB, free: 16.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2142, allocations: 0.5969 MB / 491.5 MB, free: 15.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.2142, allocations: 139.5 kB / 491.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.2144, allocations: 244.6 kB / 491.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.2145, allocations: 379.9 kB / 492.2 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2147, allocations: 250.8 kB / 492.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.2152, allocations: 0.9615 MB / 493.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008081/0.216, allocations: 1.324 MB / 494.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.2161, allocations: 8.375 kB / 494.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001152/0.2172, allocations: 1.202 MB / 495.9 MB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2172, allocations: 20.05 kB / 496 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.2173, allocations: 26.34 kB / 496 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.2173, allocations: 33.66 kB / 496 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.2178, allocations: 280.8 kB / 496.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/0.2178, allocations: 48.84 kB / 496.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.2181, allocations: 50.66 kB / 496.4 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.2182, allocations: 75.84 kB / 496.5 MB, free: 12.08 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.0002788/0.2185, allocations: 329.5 kB / 496.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.2186, allocations: 81.22 kB / 496.9 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.2191, allocations: 482 kB / 497.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2191, allocations: 9.422 kB / 497.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2191, allocations: 4 kB / 497.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2191, allocations: 4.578 kB / 497.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/0.22, allocations: 0.9532 MB / 498.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.22, allocations: 1.312 kB / 498.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2202, allocations: 74.42 kB / 498.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2202, allocations: 2.969 kB / 498.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2202, allocations: 8.156 kB / 498.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.2202, allocations: 8.281 kB / 498.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2202, allocations: 9.25 kB / 498.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.2208, allocations: 0.6397 MB / 499 MB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2209, allocations: 105.3 kB / 499.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.2209, allocations: 9.359 kB / 499.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2211, allocations: 13.03 kB / 499.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2212, allocations: 35.03 kB / 499.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.2212, allocations: 23.44 kB / 499.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004247/0.2216, allocations: 0.4924 MB / 499.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2216, allocations: 64 / 499.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.2223, allocations: 304.6 kB / 0.4883 GB, free: 10.3 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.000397/0.2227, allocations: 312.3 kB / 0.4886 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.2234, allocations: 0.6103 MB / 0.4892 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2234, allocations: 1.469 kB / 0.4892 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2236, allocations: 147.9 kB / 0.4893 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.2244, allocations: 301.2 kB / 0.4896 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2258, allocations: 1.435 MB / 0.491 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2262, allocations: 399 kB / 0.4914 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2263, allocations: 76.22 kB / 0.4915 GB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2263, allocations: 1.375 kB / 0.4915 GB, free: 8.867 MB / 410.7 MB Notification: Performance of Templates: time 0.01429/0.2406, allocations: 13.71 MB / 0.5049 GB, free: 4.902 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.662186691537499]