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.002044/0.002044, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00262/0.00262, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.485/1.485, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3839/0.3839, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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 1.753e-06/1.753e-06, allocations: 3.938 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.78e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.03218/0.03221, allocations: 16.22 MB / 393.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.04784, allocations: 6.492 MB / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.04895, allocations: 27.75 kB / 399.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.05069, allocations: 369.5 kB / 400.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.05355, allocations: 0.7143 MB / 401 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006307/0.05986, allocations: 1.37 MB / 402.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.06516, allocations: 2.513 MB / 404.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.06647, allocations: 0.6042 MB / 405.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.06969, allocations: 1.332 MB / 406.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.07133, allocations: 0.7246 MB / 407.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003405/0.07167, allocations: 91.94 kB / 407.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.07329, allocations: 487 kB / 408.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.07383, allocations: 398.8 kB / 408.5 MB, free: 3.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006934/0.07453, allocations: 387.2 kB / 408.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.07757, allocations: 1.644 MB / 410.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.07757, allocations: 0 / 410.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07757, allocations: 0 / 410.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.07759, allocations: 0 / 410.5 MB, free: 1.453 MB / 378.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.002737/0.08033, allocations: 1.222 MB / 411.8 MB, free: 204 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.08037, allocations: 8.031 kB / 411.8 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.08104, allocations: 227.2 kB / 412 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.0822, allocations: 0.5758 MB / 412.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.08256, allocations: 414.9 kB / 413 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.08274, allocations: 92.36 kB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.0853, allocations: 1.695 MB / 414.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.08533, allocations: 12.86 kB / 414.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.08545, allocations: 39.98 kB / 414.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/0.08552, allocations: 37.31 kB / 414.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.08736, allocations: 0.9649 MB / 415.8 MB, free: 11.82 MB / 394.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.007873/0.09523, allocations: 5.837 MB / 421.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.09586, allocations: 300.6 kB / 421.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.09618, allocations: 163.8 kB / 422.1 MB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.09821, allocations: 0.7742 MB / 422.9 MB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.09825, allocations: 42.73 kB / 422.9 MB, free: 4.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.09826, allocations: 224 / 422.9 MB, free: 4.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002589/0.1008, allocations: 1.038 MB / 423.9 MB, free: 3.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1009, allocations: 63.28 kB / 424 MB, free: 3.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.102, allocations: 0.7888 MB / 424.8 MB, free: 2.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.102, allocations: 33.7 kB / 424.8 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.1025, allocations: 0.5996 MB / 425.4 MB, free: 1.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.1027, allocations: 150.9 kB / 425.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.103, allocations: 234.7 kB / 425.8 MB, free: 1.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.1033, allocations: 386.8 kB / 426.2 MB, free: 1.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.1037, allocations: 246.5 kB / 426.4 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.105, allocations: 0.9622 MB / 427.4 MB, free: 15.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.1068, allocations: 1.315 MB / 428.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.1068, allocations: 8 kB / 428.7 MB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002518/0.1093, allocations: 1.27 MB / 430 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.1094, allocations: 19.94 kB / 430 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.1094, allocations: 24 kB / 430 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.632e-05/0.1095, allocations: 36 kB / 430.1 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.1104, allocations: 275.5 kB / 430.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.352e-05/0.1104, allocations: 51.78 kB / 430.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.1111, allocations: 56.36 kB / 430.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.1112, allocations: 79.98 kB / 430.5 MB, free: 12.02 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.0004751/0.1117, allocations: 325.1 kB / 430.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.1118, allocations: 91.53 kB / 430.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.1128, allocations: 478.3 kB / 431.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.1128, allocations: 11.97 kB / 431.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1128, allocations: 4 kB / 431.4 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1128, allocations: 0 / 431.4 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.1146, allocations: 0.9448 MB / 432.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.1146, allocations: 8 kB / 432.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.1149, allocations: 67.89 kB / 432.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1149, allocations: 4 kB / 432.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1149, allocations: 8.188 kB / 432.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.1149, allocations: 11.94 kB / 432.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1149, allocations: 0 / 432.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.116, allocations: 0.6608 MB / 433.1 MB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1163, allocations: 107.5 kB / 433.2 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.1164, allocations: 15.92 kB / 433.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.1167, allocations: 16 kB / 433.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1168, allocations: 23.89 kB / 433.3 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.1169, allocations: 23.98 kB / 433.3 MB, free: 9.137 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007046/0.1176, allocations: 0.4951 MB / 433.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1176, allocations: 4.062 kB / 433.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001181/0.1187, allocations: 299.6 kB / 434.1 MB, free: 8.348 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.0006417/0.1194, allocations: 309.6 kB / 434.4 MB, free: 8.039 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.1206, allocations: 0.6105 MB / 435 MB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1206, allocations: 0 / 435 MB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.1209, allocations: 136.8 kB / 435.1 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.1224, allocations: 324.2 kB / 435.4 MB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.1253, allocations: 1.408 MB / 436.9 MB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.1259, allocations: 401 kB / 437.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009307/0.1268, allocations: 302.9 kB / 437.5 MB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.127, allocations: 72.48 kB / 437.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.127, allocations: 0 / 437.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of Templates: time 0.1499/0.2769, allocations: 13.24 MB / 450.9 MB, free: 101.4 MB / 410.7 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.518205486005172]