Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009534/0.0009534, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.0009584/0.0009584, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8092/0.8092, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.12/0.12, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.924e-05, allocations: 8.219 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005101/0.00512, allocations: 7.876 MB / 356 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.007385, allocations: 2.457 MB / 358.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.007619, allocations: 31.75 kB / 358.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.008059, allocations: 250.2 kB / 358.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007521/0.008811, allocations: 0.6677 MB / 359.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.01003, allocations: 1.025 MB / 360.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.01153, allocations: 2.493 MB / 362.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.01203, allocations: 0.6006 MB / 363.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009591/0.01299, allocations: 1.142 MB / 364.7 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006933/0.01368, allocations: 0.7363 MB / 365.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.0138, allocations: 84 kB / 365.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.01414, allocations: 215.7 kB / 365.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.0144, allocations: 402.8 kB / 366.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.01467, allocations: 383.2 kB / 366.5 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.01561, allocations: 1.001 MB / 367.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01561, allocations: 0 / 367.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01561, allocations: 0 / 367.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.01562, allocations: 0 / 367.5 MB, free: 5.754 MB / 298.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.001264/0.01688, allocations: 1.283 MB / 368.7 MB, free: 4.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.01693, allocations: 12.03 kB / 368.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.01731, allocations: 224 kB / 369 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.01791, allocations: 0.5319 MB / 369.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.01809, allocations: 403 kB / 369.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01819, allocations: 92.33 kB / 370 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.01936, allocations: 1.45 MB / 371.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.01938, allocations: 8.125 kB / 371.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.01944, allocations: 47.94 kB / 371.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.01948, allocations: 37.25 kB / 371.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.01991, allocations: 397.6 kB / 371.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.02358, allocations: 7.248 MB / 379.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.02378, allocations: 165.9 kB / 379.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.02386, allocations: 78.53 kB / 379.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006668/0.02453, allocations: 0.7425 MB / 380.1 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.02455, allocations: 37.62 kB / 380.2 MB, free: 8.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.092e-06/0.02455, allocations: 0 / 380.2 MB, free: 8.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009141/0.02546, allocations: 0.6982 MB / 380.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.02548, allocations: 55.41 kB / 380.9 MB, free: 7.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.02593, allocations: 0.7832 MB / 381.7 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.02596, allocations: 33.7 kB / 381.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.02623, allocations: 0.6646 MB / 382.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.02629, allocations: 146.8 kB / 382.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.02647, allocations: 256.2 kB / 382.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02661, allocations: 0.5663 MB / 383.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.02671, allocations: 98.53 kB / 383.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.02747, allocations: 1.156 MB / 384.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.02821, allocations: 1.388 MB / 386 MB, free: 1.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.02822, allocations: 8 kB / 386 MB, free: 1.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008055/0.02902, allocations: 0.9467 MB / 387 MB, free: 412 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.02905, allocations: 16 kB / 387 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.02907, allocations: 28 kB / 387 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.02909, allocations: 35.94 kB / 387 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.02949, allocations: 275.5 kB / 387.3 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.02951, allocations: 47.8 kB / 387.4 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.02982, allocations: 56.06 kB / 387.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.02987, allocations: 64 kB / 387.5 MB, free: 15.89 MB / 330.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.0001771/0.03005, allocations: 264.1 kB / 387.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.03012, allocations: 95.42 kB / 387.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.03051, allocations: 376.8 kB / 388.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.03051, allocations: 4 kB / 388.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.03051, allocations: 0 / 388.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03052, allocations: 4 kB / 388.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.03118, allocations: 0.7811 MB / 389 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.03118, allocations: 4 kB / 389 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.03132, allocations: 71.89 kB / 389.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.03132, allocations: 0 / 389.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.03134, allocations: 19.98 kB / 389.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.03134, allocations: 8.125 kB / 389.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03134, allocations: 7.938 kB / 389.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.0317, allocations: 0.498 MB / 389.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.03181, allocations: 103.4 kB / 389.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.03185, allocations: 8 kB / 389.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.032, allocations: 16 kB / 389.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.03203, allocations: 27.83 kB / 389.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.03205, allocations: 23.98 kB / 389.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.03227, allocations: 406.8 kB / 390.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03227, allocations: 0 / 390.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005231/0.03279, allocations: 243.9 kB / 390.4 MB, free: 12.84 MB / 330.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.0003/0.03309, allocations: 193.6 kB / 390.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.03348, allocations: 472.5 kB / 391.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.03349, allocations: 0 / 391.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.03357, allocations: 95.44 kB / 391.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.0345, allocations: 320 kB / 391.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.03583, allocations: 1.283 MB / 392.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.03595, allocations: 199.3 kB / 392.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.03624, allocations: 151.2 kB / 393.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.03669, allocations: 369.9 kB / 393.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03669, allocations: 0 / 393.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of Templates: time 0.01402/0.05071, allocations: 12.6 MB / 406 MB, free: 13.18 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0248894658870995]