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.002102/0.002102, allocations: 87.67 kB / 20.21 MB, free: 4.203 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.002444/0.002444, allocations: 165.2 kB / 23.53 MB, free: 0.8906 MB / 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 1.478/1.478, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2234/0.2234, allocations: 32.37 MB / 270 MB, free: 14.85 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.613e-06/1.613e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.294e-05, allocations: 10.25 kB / 346.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01984/0.01987, allocations: 18.01 MB / 365 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.03267, allocations: 7.179 MB / 372.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.03383, allocations: 27.75 kB / 372.2 MB, free: 480 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.03545, allocations: 377.5 kB / 372.5 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.03803, allocations: 0.7104 MB / 373.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.04284, allocations: 1.386 MB / 374.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.04685, allocations: 2.513 MB / 377.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.04803, allocations: 0.6006 MB / 377.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.05127, allocations: 1.332 MB / 379.1 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.05291, allocations: 0.7285 MB / 379.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.05314, allocations: 88 kB / 379.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.05456, allocations: 486.9 kB / 380.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.05509, allocations: 406.9 kB / 380.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.05578, allocations: 391.2 kB / 381.1 MB, free: 7.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.0587, allocations: 1.601 MB / 382.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0587, allocations: 0 / 382.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0587, allocations: 0 / 382.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.05872, allocations: 0 / 382.7 MB, free: 5.84 MB / 314.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.003037/0.06176, allocations: 1.395 MB / 384.1 MB, free: 4.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.06181, allocations: 12.03 kB / 384.2 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.06258, allocations: 220 kB / 384.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.06393, allocations: 0.5553 MB / 384.9 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.06431, allocations: 407 kB / 385.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.06449, allocations: 88.38 kB / 385.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.0671, allocations: 1.705 MB / 387.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.06714, allocations: 8.125 kB / 387.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.06725, allocations: 43.94 kB / 387.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.06733, allocations: 45.23 kB / 387.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.06876, allocations: 0.6683 MB / 387.9 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00969/0.07845, allocations: 7.707 MB / 395.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.0791, allocations: 277.1 kB / 395.9 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.07939, allocations: 151.2 kB / 396 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.08138, allocations: 0.864 MB / 396.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.08143, allocations: 41.62 kB / 396.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.08143, allocations: 0 / 396.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002956/0.08439, allocations: 0.9808 MB / 397.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.08446, allocations: 59.39 kB / 397.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.08585, allocations: 0.9244 MB / 398.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.0859, allocations: 33.7 kB / 398.9 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.08657, allocations: 0.6843 MB / 399.6 MB, free: 4.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.08674, allocations: 154.9 kB / 399.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.08719, allocations: 280.3 kB / 400 MB, free: 3.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004293/0.08762, allocations: 0.6016 MB / 400.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.08797, allocations: 166.5 kB / 400.8 MB, free: 2.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.08941, allocations: 1.254 MB / 402 MB, free: 1.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.09151, allocations: 1.537 MB / 403.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.09153, allocations: 8 kB / 403.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002378/0.09391, allocations: 1.111 MB / 404.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.09395, allocations: 16 kB / 404.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/0.09398, allocations: 28.12 kB / 404.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.338e-05/0.09405, allocations: 36 kB / 404.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.09495, allocations: 275.4 kB / 405 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.597e-05/0.09502, allocations: 51.8 kB / 405.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.09579, allocations: 48 kB / 405.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.09591, allocations: 79.98 kB / 405.2 MB, free: 13.53 MB / 346.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.0005248/0.09643, allocations: 311.9 kB / 405.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.09663, allocations: 99.41 kB / 405.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.09766, allocations: 467 kB / 406.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.09768, allocations: 4 kB / 406.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.09768, allocations: 0 / 406.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.09769, allocations: 7.984 kB / 406.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.1, allocations: 1.101 MB / 407.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.1, allocations: 4 kB / 407.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1004, allocations: 67.84 kB / 407.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.1004, allocations: 4 kB / 407.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.1004, allocations: 15.98 kB / 407.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.1004, allocations: 7.984 kB / 407.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1004, allocations: 0 / 407.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.1016, allocations: 0.6505 MB / 407.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.102, allocations: 107.6 kB / 408 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.1021, allocations: 12 kB / 408 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.1025, allocations: 16 kB / 408.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.1025, allocations: 35.83 kB / 408.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.1026, allocations: 23.98 kB / 408.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007777/0.1034, allocations: 0.495 MB / 408.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1034, allocations: 0 / 408.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001457/0.1048, allocations: 299.6 kB / 408.9 MB, free: 9.691 MB / 346.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.001012/0.1058, allocations: 331.4 kB / 409.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.1074, allocations: 0.6027 MB / 409.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.1074, allocations: 4 kB / 409.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1077, allocations: 152.2 kB / 410 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.1095, allocations: 317 kB / 410.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1125, allocations: 1.341 MB / 411.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.113, allocations: 393 kB / 412 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009218/0.1139, allocations: 271.1 kB / 412.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.1141, allocations: 64.48 kB / 412.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1141, allocations: 4 kB / 412.3 MB, free: 6.164 MB / 346.7 MB Notification: Performance of Templates: time 0.02853/0.1426, allocations: 13.3 MB / 425.6 MB, free: 8.961 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.749679786968045]