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.001086/0.001086, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002517, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002277, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.896/0.896, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1671/1.063, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1281/0.1281, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02202/0.1502, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.673e-06/1.673e-06, allocations: 0 / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.394e-05, allocations: 2.312 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.009978/0.01, allocations: 7.974 MB / 275.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005012/0.01501, allocations: 2.534 MB / 277.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.01577, allocations: 27.75 kB / 277.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.0165, allocations: 250.3 kB / 278 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.01816, allocations: 0.6639 MB / 278.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.02084, allocations: 1.009 MB / 279.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.02345, allocations: 2.56 MB / 282.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.02438, allocations: 0.5966 MB / 282.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.02628, allocations: 1.17 MB / 284 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.02739, allocations: 0.7051 MB / 284.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.02761, allocations: 84 kB / 284.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.02817, allocations: 227.6 kB / 285 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.02843, allocations: 311.2 kB / 285.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.02876, allocations: 303.5 kB / 285.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.02992, allocations: 0.884 MB / 286.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.039e-05/0.02994, allocations: 4 kB / 286.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.02994, allocations: 0 / 286.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.2e-05/0.02998, allocations: 0 / 286.5 MB, free: 3.172 MB / 282.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.001827/0.03181, allocations: 1.361 MB / 287.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.03184, allocations: 11.89 kB / 287.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.03224, allocations: 269.6 kB / 288.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.03286, allocations: 490 kB / 288.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.03305, allocations: 411 kB / 289 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.03315, allocations: 88.38 kB / 289.1 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.0341, allocations: 1.358 MB / 290.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.03412, allocations: 8.125 kB / 290.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.03418, allocations: 39.94 kB / 290.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.03423, allocations: 41.3 kB / 290.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.03468, allocations: 372.5 kB / 290.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.03822, allocations: 5.096 MB / 296 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.03845, allocations: 203.2 kB / 296.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.03853, allocations: 73.47 kB / 296.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/0.03931, allocations: 0.6346 MB / 296.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.03934, allocations: 38.8 kB / 296.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.03934, allocations: 0 / 296.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001162/0.0405, allocations: 0.7201 MB / 297.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.04054, allocations: 55.41 kB / 297.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.04099, allocations: 0.7153 MB / 298.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.04102, allocations: 33.7 kB / 298.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.04126, allocations: 0.5536 MB / 299 MB, free: 5.922 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.04135, allocations: 142.9 kB / 299.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.04152, allocations: 234.6 kB / 299.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.04165, allocations: 386.6 kB / 299.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.04177, allocations: 109.3 kB / 299.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.04225, allocations: 0.8215 MB / 300.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.04299, allocations: 1.074 MB / 301.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.043, allocations: 8 kB / 301.8 MB, free: 2.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000785/0.04379, allocations: 0.8091 MB / 302.6 MB, free: 1.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.04382, allocations: 16 kB / 302.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.04384, allocations: 28 kB / 302.6 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.04386, allocations: 32 kB / 302.6 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.04435, allocations: 315.4 kB / 303 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.04437, allocations: 47.8 kB / 303 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.04469, allocations: 52 kB / 303.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.04474, allocations: 60 kB / 303.1 MB, free: 1.07 MB / 298.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.0001993/0.04494, allocations: 228.1 kB / 303.3 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.04501, allocations: 63.88 kB / 303.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.0454, allocations: 325.3 kB / 303.7 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.04541, allocations: 4 kB / 303.7 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.04541, allocations: 0 / 303.7 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.04542, allocations: 4 kB / 303.7 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.04614, allocations: 0.648 MB / 304.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.04614, allocations: 4 kB / 304.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.04634, allocations: 79.89 kB / 304.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.04646, allocations: 87.45 kB / 304.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.04646, allocations: 4 kB / 304.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.04648, allocations: 12.19 kB / 304.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.04649, allocations: 7.984 kB / 304.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.04649, allocations: 4 kB / 304.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.0469, allocations: 419.8 kB / 305 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.04695, allocations: 8 kB / 305 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.04711, allocations: 16 kB / 305 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.04714, allocations: 27.83 kB / 305 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.04717, allocations: 19.98 kB / 305 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.04739, allocations: 299.4 kB / 305.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04739, allocations: 0 / 305.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006485/0.04804, allocations: 239.9 kB / 305.6 MB, free: 14.5 MB / 314.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.0004383/0.04847, allocations: 183.8 kB / 305.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.04894, allocations: 461.5 kB / 306.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.57e-05/0.04897, allocations: 17.81 kB / 306.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.04907, allocations: 92.48 kB / 306.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.04988, allocations: 375.8 kB / 306.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.05732, allocations: 1.258 MB / 307.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.05745, allocations: 195.3 kB / 308.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.05786, allocations: 147.4 kB / 308.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.05833, allocations: 307 kB / 308.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.05833, allocations: 0 / 308.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.0161/0.07443, allocations: 13.05 MB / 321.6 MB, free: 14.34 MB / 330.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 -ignoreHideResult -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: 2.966484979726374]