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.001584/0.001584, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.001816/0.001816, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.5/1.5, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.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.2411/0.2411, allocations: 46.16 MB / 351.8 MB, free: 14.3 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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 81.38 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02141/0.1597, allocations: 17.73 MB / 0.5577 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1697, allocations: 7.018 MB / 0.5645 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1708, allocations: 19.88 kB / 0.5645 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1721, allocations: 381.6 kB / 0.5649 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.174, allocations: 0.6761 MB / 0.5656 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.1778, allocations: 1.329 MB / 0.5669 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003811/0.1816, allocations: 2.509 MB / 0.5693 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.1829, allocations: 0.6741 MB / 0.57 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.1853, allocations: 1.039 MB / 0.571 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1868, allocations: 0.7512 MB / 0.5717 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.187, allocations: 88 kB / 0.5718 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.1886, allocations: 0.5772 MB / 0.5724 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.1891, allocations: 371 kB / 0.5727 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007283/0.1898, allocations: 0.5095 MB / 0.5732 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.1924, allocations: 1.616 MB / 0.5748 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1925, allocations: 0 / 0.5748 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1925, allocations: 0 / 0.5748 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.1925, allocations: 0 / 0.5748 GB, free: 0.8516 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.002602/0.1951, allocations: 1.323 MB / 0.5761 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1952, allocations: 8.031 kB / 0.5761 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.1957, allocations: 124.3 kB / 0.5762 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1967, allocations: 0.6266 MB / 0.5768 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.197, allocations: 244.8 kB / 0.577 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1971, allocations: 84.33 kB / 0.5771 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.1991, allocations: 1.305 MB / 0.5784 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.1991, allocations: 7.938 kB / 0.5784 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.1993, allocations: 40 kB / 0.5784 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/0.1993, allocations: 41.23 kB / 0.5785 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.2009, allocations: 0.965 MB / 0.5794 GB, free: 11.83 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.007493/0.2084, allocations: 7.098 MB / 0.5864 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.2091, allocations: 304.4 kB / 0.5867 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.2094, allocations: 167 kB / 0.5868 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/0.2122, allocations: 2.834 MB / 0.5896 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2123, allocations: 42.8 kB / 0.5896 GB, free: 416 kB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.225e-06/0.2123, allocations: 0 / 0.5896 GB, free: 416 kB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002399/0.2147, allocations: 1.122 MB / 0.5907 GB, free: 15.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2148, allocations: 59.34 kB / 0.5908 GB, free: 15.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2159, allocations: 0.8759 MB / 0.5916 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.2159, allocations: 37.7 kB / 0.5917 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.2164, allocations: 0.5883 MB / 0.5922 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2165, allocations: 142.9 kB / 0.5924 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.2168, allocations: 242.7 kB / 0.5926 GB, free: 13.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.217, allocations: 394.7 kB / 0.593 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2174, allocations: 250.5 kB / 0.5932 GB, free: 12.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009738/0.2184, allocations: 0.9621 MB / 0.5942 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2199, allocations: 1.319 MB / 0.5955 GB, free: 9.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.22, allocations: 11.94 kB / 0.5955 GB, free: 9.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001903/0.2219, allocations: 1.211 MB / 0.5966 GB, free: 8.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.2219, allocations: 16 kB / 0.5967 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.222, allocations: 24 kB / 0.5967 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.002e-05/0.222, allocations: 36.81 kB / 0.5967 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.2228, allocations: 283.5 kB / 0.597 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/0.2229, allocations: 47.8 kB / 0.597 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.2235, allocations: 52 kB / 0.5971 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.2236, allocations: 75.98 kB / 0.5972 GB, free: 7.859 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.000473/0.2241, allocations: 336.9 kB / 0.5975 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.2243, allocations: 95.42 kB / 0.5976 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.2252, allocations: 488.3 kB / 0.598 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2252, allocations: 4 kB / 0.598 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2252, allocations: 0 / 0.598 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2252, allocations: 3.984 kB / 0.598 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.227, allocations: 1.24 MB / 0.5993 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2271, allocations: 3.938 kB / 0.5993 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2274, allocations: 67.89 kB / 0.5993 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2274, allocations: 4 kB / 0.5993 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.2274, allocations: 15.94 kB / 0.5993 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2274, allocations: 4.188 kB / 0.5993 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2274, allocations: 8 kB / 0.5994 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.2284, allocations: 0.6412 MB / 0.6 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.2287, allocations: 208.4 kB / 0.6002 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.2288, allocations: 8 kB / 0.6002 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.2292, allocations: 15.98 kB / 0.6002 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2292, allocations: 23.97 kB / 0.6002 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.2293, allocations: 23.98 kB / 0.6002 GB, free: 4.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007846/0.2301, allocations: 0.6008 MB / 0.6008 GB, free: 3.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2301, allocations: 4.062 kB / 0.6008 GB, free: 3.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001192/0.2313, allocations: 307.6 kB / 0.6011 GB, free: 3.594 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.0007463/0.232, allocations: 320.5 kB / 0.6014 GB, free: 3.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2332, allocations: 0.6462 MB / 0.6021 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2332, allocations: 4.062 kB / 0.6021 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2335, allocations: 141 kB / 0.6022 GB, free: 2.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.2354, allocations: 440.3 kB / 0.6026 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.2377, allocations: 1.533 MB / 0.6041 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2667/0.5045, allocations: 0.9933 MB / 0.6051 GB, free: 61.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.5049, allocations: 85.86 kB / 0.6052 GB, free: 61.48 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5049, allocations: 0.8438 kB / 0.6052 GB, free: 61.48 MB / 462.1 MB Notification: Performance of Templates: time 0.03127/0.5361, allocations: 14.86 MB / 0.6197 GB, free: 57.4 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.327275090967305]