Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009085/0.0009085, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0008957/0.0008957, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.934/0.934, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2801/0.2801, allocations: 32.8 MB / 294.3 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.138e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01075/0.01078, allocations: 8.048 MB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008109/0.01889, allocations: 2.468 MB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004058/0.02295, allocations: 31.69 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.02393, allocations: 250.3 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.0296, allocations: 0.6716 MB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0062/0.0358, allocations: 1.013 MB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.0404, allocations: 2.485 MB / 391 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.04171, allocations: 0.5889 MB / 391.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.04414, allocations: 1.15 MB / 392.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.04585, allocations: 0.7363 MB / 393.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.04614, allocations: 84 kB / 393.5 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.04685, allocations: 219.7 kB / 393.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.04725, allocations: 398.9 kB / 394.1 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.04787, allocations: 387.1 kB / 394.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.0498, allocations: 1.02 MB / 395.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.04981, allocations: 4 kB / 395.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04982, allocations: 0 / 395.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.04984, allocations: 0 / 395.5 MB, free: 1.039 MB / 362.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.001862/0.0517, allocations: 1.287 MB / 396.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.05174, allocations: 8.031 kB / 396.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.05216, allocations: 216 kB / 397 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.05281, allocations: 0.5513 MB / 397.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.053, allocations: 411 kB / 398 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.0531, allocations: 92.31 kB / 398.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.0544, allocations: 1.466 MB / 399.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.05442, allocations: 4.125 kB / 399.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.05449, allocations: 43.94 kB / 399.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.05453, allocations: 37.31 kB / 399.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.05517, allocations: 479 kB / 400.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.05927, allocations: 7.244 MB / 407.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.05956, allocations: 185.1 kB / 407.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.05968, allocations: 95.42 kB / 407.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007906/0.06047, allocations: 0.7313 MB / 408.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.0605, allocations: 41.62 kB / 408.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.0605, allocations: 0 / 408.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001251/0.06175, allocations: 0.8251 MB / 409.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.06178, allocations: 55.41 kB / 409.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.06234, allocations: 0.7798 MB / 410.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.06237, allocations: 33.7 kB / 410.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.06265, allocations: 0.6531 MB / 410.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.06274, allocations: 146.9 kB / 410.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.06292, allocations: 248.4 kB / 411.1 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.0631, allocations: 0.5625 MB / 411.7 MB, free: 44 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.06328, allocations: 114.5 kB / 411.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/0.0641, allocations: 1.176 MB / 413 MB, free: 14.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.065, allocations: 1.416 MB / 414.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.06502, allocations: 8 kB / 414.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001044/0.06606, allocations: 1.013 MB / 415.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.06608, allocations: 21.19 kB / 415.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.0661, allocations: 28 kB / 415.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.06613, allocations: 32 kB / 415.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.06659, allocations: 283.4 kB / 415.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.06661, allocations: 47.86 kB / 415.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.06694, allocations: 51.95 kB / 415.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.067, allocations: 79.92 kB / 415.9 MB, free: 10.79 MB / 394.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.0001781/0.06718, allocations: 257 kB / 416.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.06726, allocations: 99.47 kB / 416.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.0677, allocations: 381.4 kB / 416.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.06771, allocations: 4 kB / 416.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.06771, allocations: 0 / 416.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.06771, allocations: 3.984 kB / 416.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.06855, allocations: 0.92 MB / 417.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.06855, allocations: 0 / 417.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.06872, allocations: 71.91 kB / 417.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.06872, allocations: 0 / 417.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.06874, allocations: 11.98 kB / 417.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.06874, allocations: 4 kB / 417.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.06875, allocations: 7.938 kB / 417.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.06919, allocations: 0.5373 MB / 418.2 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.06931, allocations: 107.4 kB / 418.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.06936, allocations: 11.98 kB / 418.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.06951, allocations: 16 kB / 418.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.06955, allocations: 23.89 kB / 418.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.06958, allocations: 23.98 kB / 418.4 MB, free: 8.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000551/0.07013, allocations: 438.9 kB / 418.8 MB, free: 7.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07013, allocations: 0 / 418.8 MB, free: 7.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006267/0.07076, allocations: 235.9 kB / 419.1 MB, free: 7.543 MB / 394.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.0002536/0.07101, allocations: 179 kB / 419.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.07156, allocations: 0.493 MB / 419.7 MB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.07157, allocations: 4 kB / 419.7 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.07168, allocations: 104.1 kB / 419.8 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.07243, allocations: 310.6 kB / 420.1 MB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.07402, allocations: 1.29 MB / 421.4 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.07414, allocations: 191.3 kB / 421.6 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000472/0.07461, allocations: 270.6 kB / 421.9 MB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.07471, allocations: 72.48 kB / 422 MB, free: 4.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.07471, allocations: 4 kB / 422 MB, free: 4.566 MB / 394.7 MB Notification: Performance of Templates: time 0.01589/0.0906, allocations: 12.69 MB / 434.6 MB, free: 8.121 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.420382761862129]