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.002544/0.002544, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003157/0.003157, allocations: 160.8 kB / 24.27 MB, free: 156 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.598 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.3609/0.3609, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.218e-05, allocations: 8.781 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02502/0.02505, allocations: 18.15 MB / 395.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.03713, allocations: 7.19 MB / 402.5 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009239/0.03806, allocations: 31.69 kB / 402.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.03921, allocations: 377.5 kB / 402.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.04106, allocations: 0.7221 MB / 403.7 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003786/0.04485, allocations: 1.359 MB / 405 MB, free: 6.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003697/0.04854, allocations: 2.513 MB / 407.5 MB, free: 4.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.04953, allocations: 0.6003 MB / 408.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.05194, allocations: 1.344 MB / 409.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.05325, allocations: 0.7207 MB / 410.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.05345, allocations: 88 kB / 410.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.05479, allocations: 494.9 kB / 410.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.05527, allocations: 402.8 kB / 411.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.05587, allocations: 387.2 kB / 411.5 MB, free: 440 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.05847, allocations: 1.651 MB / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.05847, allocations: 4 kB / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.05847, allocations: 0 / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.05849, allocations: 0 / 413.2 MB, free: 14.77 MB / 394.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.002871/0.06136, allocations: 1.38 MB / 414.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.0614, allocations: 12.03 kB / 414.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/0.06205, allocations: 224 kB / 414.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.06328, allocations: 0.5668 MB / 415.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/0.06387, allocations: 407 kB / 415.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.06404, allocations: 84.38 kB / 415.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.06642, allocations: 1.658 MB / 417.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.06645, allocations: 12.12 kB / 417.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.06657, allocations: 43.94 kB / 417.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.748e-05/0.06664, allocations: 37.3 kB / 417.6 MB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.06808, allocations: 0.6721 MB / 418.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00979/0.07787, allocations: 7.692 MB / 426 MB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.0785, allocations: 285.1 kB / 426.2 MB, free: 1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.07879, allocations: 144.2 kB / 426.4 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.08073, allocations: 0.8561 MB / 427.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.08077, allocations: 41.62 kB / 427.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.664e-06/0.08077, allocations: 0 / 427.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00236/0.08313, allocations: 0.9897 MB / 428.3 MB, free: 14.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.08319, allocations: 55.62 kB / 428.3 MB, free: 14.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.08467, allocations: 0.9321 MB / 429.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.08472, allocations: 33.64 kB / 429.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/0.08533, allocations: 0.6804 MB / 430 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.0855, allocations: 154.9 kB / 430.1 MB, free: 13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.08588, allocations: 280.4 kB / 430.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004124/0.08629, allocations: 0.6016 MB / 431 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.08666, allocations: 166.5 kB / 431.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.08809, allocations: 1.242 MB / 432.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.09014, allocations: 1.544 MB / 433.9 MB, free: 8.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.09016, allocations: 8 kB / 434 MB, free: 8.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002281/0.09244, allocations: 1.111 MB / 435.1 MB, free: 7.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.09247, allocations: 16 kB / 435.1 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.09251, allocations: 24 kB / 435.1 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.422e-05/0.09256, allocations: 40.03 kB / 435.1 MB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.09343, allocations: 279.5 kB / 435.4 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.615e-05/0.09349, allocations: 47.8 kB / 435.5 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.09412, allocations: 48 kB / 435.5 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.09424, allocations: 79.97 kB / 435.6 MB, free: 6.523 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.0004949/0.09473, allocations: 315.9 kB / 435.9 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.09491, allocations: 95.42 kB / 436 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.09593, allocations: 462.5 kB / 436.4 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.09594, allocations: 4 kB / 436.4 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.09595, allocations: 0 / 436.4 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.09596, allocations: 7.969 kB / 436.5 MB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.09801, allocations: 1.105 MB / 437.6 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.09801, allocations: 0 / 437.6 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.09831, allocations: 67.97 kB / 437.6 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.09831, allocations: 3.938 kB / 437.6 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.09834, allocations: 11.98 kB / 437.6 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.09835, allocations: 8 kB / 437.6 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.09835, allocations: 4 kB / 437.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.09938, allocations: 0.6544 MB / 438.3 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.09966, allocations: 107.4 kB / 438.4 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.09976, allocations: 23.92 kB / 438.4 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.1001, allocations: 12 kB / 438.4 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.1002, allocations: 31.89 kB / 438.5 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.1002, allocations: 19.98 kB / 438.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006839/0.1009, allocations: 0.4951 MB / 439 MB, free: 2.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1009, allocations: 0 / 439 MB, free: 2.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001198/0.1021, allocations: 299.7 kB / 439.3 MB, free: 2.691 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.000626/0.1027, allocations: 306.7 kB / 439.6 MB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1039, allocations: 0.606 MB / 440.2 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1039, allocations: 4 kB / 440.2 MB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1042, allocations: 138.1 kB / 440.3 MB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.1057, allocations: 320.5 kB / 440.6 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/0.2392, allocations: 1.344 MB / 442 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.2396, allocations: 388.4 kB / 442.4 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007941/0.2404, allocations: 263.1 kB / 442.6 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2405, allocations: 73.09 kB / 442.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2405, allocations: 2.297 kB / 442.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01912/0.2597, allocations: 13.24 MB / 455.9 MB, free: 100 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] 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.6127737269271165]