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.001331/0.001331, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001405/0.001405, allocations: 159.4 kB / 24.5 MB, free: 3.719 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 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.2131/0.2131, allocations: 34.27 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002452/0.002452, allocations: 75.88 kB / 443.1 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3003, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01278/0.3131, allocations: 16.32 MB / 0.5132 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.3201, allocations: 6.504 MB / 0.5196 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007635/0.3209, allocations: 28.5 kB / 0.5196 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.3219, allocations: 366.7 kB / 0.5199 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.3234, allocations: 0.6972 MB / 0.5206 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.3269, allocations: 1.333 MB / 0.5219 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.33, allocations: 2.547 MB / 0.5244 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.331, allocations: 0.5732 MB / 0.525 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.3331, allocations: 1.067 MB / 0.526 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.3344, allocations: 0.7751 MB / 0.5268 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.3347, allocations: 87.47 kB / 0.5268 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.3361, allocations: 490.1 kB / 0.5273 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.3365, allocations: 379.5 kB / 0.5277 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.3372, allocations: 445.6 kB / 0.5281 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.34, allocations: 1.582 MB / 0.5296 GB, free: 9.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.34, allocations: 1.094 kB / 0.5296 GB, free: 9.992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.34, allocations: 0 / 0.5296 GB, free: 9.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.3401, allocations: 0 / 0.5296 GB, free: 9.992 MB / 446.1 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.002537/0.3426, allocations: 1.237 MB / 0.5309 GB, free: 9.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3426, allocations: 10.06 kB / 0.5309 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.3432, allocations: 123.7 kB / 0.531 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3443, allocations: 0.5463 MB / 0.5315 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.3445, allocations: 416 kB / 0.5319 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3446, allocations: 84.48 kB / 0.532 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.3466, allocations: 1.703 MB / 0.5337 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.3466, allocations: 11 kB / 0.5337 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3467, allocations: 36.38 kB / 0.5337 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.3468, allocations: 46.2 kB / 0.5337 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.3483, allocations: 0.9598 MB / 0.5347 GB, free: 6.82 MB / 446.1 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.006145/0.3544, allocations: 5.824 MB / 0.5404 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.3549, allocations: 303.4 kB / 0.5407 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.3552, allocations: 152.3 kB / 0.5408 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/0.3567, allocations: 0.7802 MB / 0.5416 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3568, allocations: 44.31 kB / 0.5416 GB, free: 1.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.3568, allocations: 0 / 0.5416 GB, free: 1.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002084/0.3589, allocations: 1.025 MB / 0.5426 GB, free: 0.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.3589, allocations: 55.02 kB / 0.5427 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.3597, allocations: 0.8019 MB / 0.5434 GB, free: 492 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3597, allocations: 32.36 kB / 0.5435 GB, free: 456 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.3601, allocations: 0.5993 MB / 0.5441 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3602, allocations: 147.1 kB / 0.5442 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.3605, allocations: 237.8 kB / 0.5444 GB, free: 15.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3607, allocations: 389.8 kB / 0.5448 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.3611, allocations: 242.5 kB / 0.545 GB, free: 15.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3621, allocations: 0.9673 MB / 0.546 GB, free: 14.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.3637, allocations: 1.316 MB / 0.5473 GB, free: 12.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.3637, allocations: 6.844 kB / 0.5473 GB, free: 12.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001938/0.3656, allocations: 1.207 MB / 0.5484 GB, free: 12.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.3657, allocations: 19.55 kB / 0.5485 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.3657, allocations: 25.47 kB / 0.5485 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.355e-05/0.3657, allocations: 38 kB / 0.5485 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.3665, allocations: 271.8 kB / 0.5488 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.674e-05/0.3666, allocations: 53.22 kB / 0.5488 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.3673, allocations: 50.47 kB / 0.5489 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.3674, allocations: 75.16 kB / 0.549 GB, free: 12.2 MB / 462.1 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.0004894/0.3679, allocations: 339.2 kB / 0.5493 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.368, allocations: 82.09 kB / 0.5494 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.3689, allocations: 479.6 kB / 0.5498 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3689, allocations: 3.438 kB / 0.5498 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3689, allocations: 1.062 kB / 0.5498 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3689, allocations: 3.984 kB / 0.5498 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.3706, allocations: 0.9531 MB / 0.5508 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3706, allocations: 2.469 kB / 0.5508 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3709, allocations: 65.12 kB / 0.5508 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3709, allocations: 6.281 kB / 0.5508 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.371, allocations: 20.36 kB / 0.5508 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.371, allocations: 7.062 kB / 0.5509 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.371, allocations: 2 kB / 0.5509 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.372, allocations: 0.6419 MB / 0.5515 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.3722, allocations: 110.7 kB / 0.5516 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.3723, allocations: 16.23 kB / 0.5516 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.3727, allocations: 20.08 kB / 0.5516 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3727, allocations: 25.33 kB / 0.5516 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.3728, allocations: 22.95 kB / 0.5517 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006447/0.3734, allocations: 0.4974 MB / 0.5522 GB, free: 10.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3734, allocations: 0 / 0.5522 GB, free: 10.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3747, allocations: 296.3 kB / 0.5524 GB, free: 10 MB / 462.1 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.0005451/0.3753, allocations: 306 kB / 0.5527 GB, free: 9.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3764, allocations: 0.6161 MB / 0.5533 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3764, allocations: 6.188 kB / 0.5533 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.3766, allocations: 140.3 kB / 0.5535 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.3781, allocations: 302.1 kB / 0.5538 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.3804, allocations: 1.473 MB / 0.5552 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3808, allocations: 404.6 kB / 0.5556 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008368/0.3816, allocations: 296.3 kB / 0.5559 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3818, allocations: 72.48 kB / 0.5559 GB, free: 7.828 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3818, allocations: 0 / 0.5559 GB, free: 7.828 MB / 462.1 MB Notification: Performance of Templates: time 0.0241/0.4059, allocations: 13.26 MB / 0.5689 GB, free: 10.8 MB / 478.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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.336466953041963]