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.00179/0.00179, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001475/0.001475, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2341/0.2341, allocations: 46.94 MB / 360.8 MB, free: 3.953 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.002604/0.002604, allocations: 83.88 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3571, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01968/0.3768, allocations: 16.31 MB / 0.5771 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.3865, allocations: 6.501 MB / 0.5835 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.3873, allocations: 27.75 kB / 0.5835 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3884, allocations: 369.6 kB / 0.5838 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.3902, allocations: 0.6956 MB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.3939, allocations: 1.329 MB / 0.5858 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.3972, allocations: 2.552 MB / 0.5883 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3982, allocations: 0.5652 MB / 0.5889 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.4006, allocations: 1.075 MB / 0.5899 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4022, allocations: 0.7745 MB / 0.5907 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.4024, allocations: 84 kB / 0.5907 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.4039, allocations: 487.2 kB / 0.5912 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.4043, allocations: 386.9 kB / 0.5916 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.4049, allocations: 446.2 kB / 0.592 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.4074, allocations: 1.584 MB / 0.5935 GB, free: 2.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4074, allocations: 0 / 0.5935 GB, free: 2.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4074, allocations: 4 kB / 0.5935 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.4075, allocations: 0 / 0.5935 GB, free: 2.723 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.002585/0.41, allocations: 1.229 MB / 0.5947 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4101, allocations: 12.03 kB / 0.5948 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.4106, allocations: 124.3 kB / 0.5949 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4118, allocations: 0.5493 MB / 0.5954 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.4121, allocations: 411 kB / 0.5958 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.4122, allocations: 84.33 kB / 0.5959 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.4146, allocations: 1.699 MB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.4146, allocations: 7.938 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.4147, allocations: 39.98 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.4148, allocations: 49.23 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4164, allocations: 0.9572 MB / 0.5986 GB, free: 13.21 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.006984/0.4234, allocations: 5.828 MB / 0.6043 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.424, allocations: 304.5 kB / 0.6046 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.4243, allocations: 151.7 kB / 0.6047 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.426, allocations: 0.7783 MB / 0.6055 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.4261, allocations: 42.73 kB / 0.6055 GB, free: 5.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.4261, allocations: 0 / 0.6055 GB, free: 5.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002371/0.4284, allocations: 1.029 MB / 0.6065 GB, free: 4.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4285, allocations: 55.41 kB / 0.6066 GB, free: 4.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.4294, allocations: 0.8005 MB / 0.6073 GB, free: 3.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4295, allocations: 29.7 kB / 0.6074 GB, free: 3.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.4299, allocations: 0.6035 MB / 0.608 GB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.43, allocations: 146.9 kB / 0.6081 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4303, allocations: 234.7 kB / 0.6083 GB, free: 2.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4305, allocations: 390.7 kB / 0.6087 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.431, allocations: 242.5 kB / 0.6089 GB, free: 2.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.432, allocations: 0.966 MB / 0.6099 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.4336, allocations: 1.315 MB / 0.6112 GB, free: 15.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4336, allocations: 8 kB / 0.6112 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001914/0.4356, allocations: 1.207 MB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.4356, allocations: 16 kB / 0.6124 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.4356, allocations: 28 kB / 0.6124 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.516e-05/0.4357, allocations: 32.75 kB / 0.6124 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.4365, allocations: 275.5 kB / 0.6127 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.562e-05/0.4365, allocations: 55.8 kB / 0.6127 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.4371, allocations: 48 kB / 0.6128 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.4372, allocations: 79.92 kB / 0.6129 GB, free: 13.51 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.0004465/0.4377, allocations: 333 kB / 0.6132 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.4378, allocations: 87.47 kB / 0.6133 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.4387, allocations: 474.5 kB / 0.6137 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.4387, allocations: 7.922 kB / 0.6137 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4387, allocations: 4 kB / 0.6137 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4387, allocations: 0 / 0.6137 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.4403, allocations: 0.9483 MB / 0.6146 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4403, allocations: 4.188 kB / 0.6146 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4406, allocations: 75.89 kB / 0.6147 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4406, allocations: 0 / 0.6147 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.4406, allocations: 15.94 kB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.4406, allocations: 3.938 kB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4406, allocations: 4 kB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.4415, allocations: 0.6452 MB / 0.6154 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.4418, allocations: 111.4 kB / 0.6155 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.4419, allocations: 19.88 kB / 0.6155 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.4422, allocations: 16.06 kB / 0.6155 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4423, allocations: 27.89 kB / 0.6155 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.4423, allocations: 23.98 kB / 0.6156 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.4429, allocations: 0.4912 MB / 0.616 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4429, allocations: 0 / 0.616 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00108/0.444, allocations: 295.7 kB / 0.6163 GB, free: 9.848 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.0005381/0.4445, allocations: 309.2 kB / 0.6166 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4455, allocations: 0.6148 MB / 0.6172 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4455, allocations: 0 / 0.6172 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4458, allocations: 144.9 kB / 0.6174 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.4471, allocations: 311.6 kB / 0.6177 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.4494, allocations: 1.467 MB / 0.6191 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4498, allocations: 408.7 kB / 0.6195 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007523/0.4505, allocations: 288.7 kB / 0.6198 GB, free: 6.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4507, allocations: 71.36 kB / 0.6198 GB, free: 6.199 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4507, allocations: 0 / 0.6198 GB, free: 6.199 MB / 462.1 MB Notification: Performance of Templates: time 0.0261/0.4768, allocations: 14.42 MB / 0.6339 GB, free: 8.023 MB / 478.1 MB " [Timeout remaining time 660] 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/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_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: 5.684726055711508]