Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009421/0.0009421, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0008777/0.0008777, allocations: 165 kB / 24.56 MB, free: 12 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.9375/0.9375, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 34.27 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.999e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01131/0.01134, allocations: 8.06 MB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.01662, allocations: 2.468 MB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.01749, allocations: 31.75 kB / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.01833, allocations: 246.3 kB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.02036, allocations: 0.6793 MB / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.02339, allocations: 1.013 MB / 390.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003992/0.02738, allocations: 2.478 MB / 393 MB, free: 3.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.02886, allocations: 0.6005 MB / 393.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.03165, allocations: 1.134 MB / 394.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.03328, allocations: 0.7402 MB / 395.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.03359, allocations: 88 kB / 395.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.0344, allocations: 223.7 kB / 395.8 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007369/0.03514, allocations: 398.8 kB / 396.2 MB, free: 452 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.03586, allocations: 379.2 kB / 396.5 MB, free: 72 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.03783, allocations: 1.013 MB / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.03784, allocations: 0 / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.03784, allocations: 0 / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.38e-05/0.03788, allocations: 0 / 397.5 MB, free: 15.05 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.002718/0.0406, allocations: 1.287 MB / 398.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.04064, allocations: 8.031 kB / 398.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.04112, allocations: 227.9 kB / 399.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.04187, allocations: 0.563 MB / 399.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.04207, allocations: 403 kB / 400 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.04218, allocations: 88.33 kB / 400.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.04351, allocations: 1.458 MB / 401.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.04354, allocations: 8.125 kB / 401.6 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.04361, allocations: 43.94 kB / 401.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.04366, allocations: 45.22 kB / 401.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.04437, allocations: 471 kB / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.04893, allocations: 7.248 MB / 409.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.04925, allocations: 185.4 kB / 409.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.04937, allocations: 95.25 kB / 409.6 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.05061, allocations: 0.7233 MB / 410.4 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.05065, allocations: 45.62 kB / 410.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.05065, allocations: 0 / 410.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00135/0.052, allocations: 0.829 MB / 411.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.05203, allocations: 55.41 kB / 411.3 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.05262, allocations: 0.7798 MB / 412.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.05265, allocations: 33.7 kB / 412.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.05294, allocations: 0.6531 MB / 412.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.05302, allocations: 138.9 kB / 412.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.05322, allocations: 256.3 kB / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.0534, allocations: 0.5664 MB / 413.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.05358, allocations: 114.5 kB / 413.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.05424, allocations: 1.168 MB / 415 MB, free: 12.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.05529, allocations: 1.419 MB / 416.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.0553, allocations: 7.938 kB / 416.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001447/0.05675, allocations: 1.017 MB / 417.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.05678, allocations: 20 kB / 417.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.0568, allocations: 24 kB / 417.5 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/0.05684, allocations: 39.98 kB / 417.5 MB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.05735, allocations: 275.4 kB / 417.8 MB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/0.05738, allocations: 55.78 kB / 417.8 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.05779, allocations: 52.33 kB / 417.9 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.05786, allocations: 80 kB / 418 MB, free: 8.789 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.0002479/0.05811, allocations: 259.9 kB / 418.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.05821, allocations: 91.47 kB / 418.3 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.05871, allocations: 380.9 kB / 418.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.05872, allocations: 8 kB / 418.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.05872, allocations: 0 / 418.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.05873, allocations: 4 kB / 418.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.05973, allocations: 0.9084 MB / 419.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.05974, allocations: 4 kB / 419.6 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.05992, allocations: 63.91 kB / 419.7 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.05992, allocations: 4.188 kB / 419.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.05994, allocations: 15.98 kB / 419.7 MB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.05994, allocations: 4 kB / 419.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.05995, allocations: 3.938 kB / 419.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.06047, allocations: 0.5372 MB / 420.2 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.06062, allocations: 111.4 kB / 420.3 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.06068, allocations: 8 kB / 420.4 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.06085, allocations: 12 kB / 420.4 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.06089, allocations: 31.83 kB / 420.4 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.06092, allocations: 28.02 kB / 420.4 MB, free: 6.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003404/0.06126, allocations: 430.9 kB / 420.8 MB, free: 5.781 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06126, allocations: 0 / 420.8 MB, free: 5.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006975/0.06196, allocations: 243.9 kB / 421.1 MB, free: 5.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.000275/0.06224, allocations: 178.9 kB / 421.3 MB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.06285, allocations: 0.4932 MB / 421.8 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.06285, allocations: 4.125 kB / 421.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.06298, allocations: 107.4 kB / 421.9 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/0.0638, allocations: 317.5 kB / 422.2 MB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.06555, allocations: 1.287 MB / 423.5 MB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.06596, allocations: 195.3 kB / 423.6 MB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.06646, allocations: 268.4 kB / 423.9 MB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.06655, allocations: 64.5 kB / 424 MB, free: 2.57 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.06655, allocations: 0 / 424 MB, free: 2.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01613/0.08268, allocations: 12.7 MB / 436.7 MB, free: 6.113 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.392087850254029]