Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002319/0.002319, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002595/0.002595, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3332/0.3332, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.607e-05, allocations: 6.25 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02501/0.02505, allocations: 18.15 MB / 393.4 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.0361, allocations: 7.198 MB / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.03685, allocations: 31.75 kB / 400.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.03798, allocations: 377.4 kB / 401 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.03974, allocations: 0.7143 MB / 401.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.04335, allocations: 1.363 MB / 403.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00341/0.04676, allocations: 2.517 MB / 405.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.04779, allocations: 0.6004 MB / 406.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.05017, allocations: 1.344 MB / 407.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.0514, allocations: 0.7246 MB / 408.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.05159, allocations: 84 kB / 408.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.0529, allocations: 490.9 kB / 408.8 MB, free: 3.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.05337, allocations: 394.9 kB / 409.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.05394, allocations: 395.2 kB / 409.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.05636, allocations: 1.651 MB / 411.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.05637, allocations: 0 / 411.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.05637, allocations: 0 / 411.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.05638, allocations: 0 / 411.2 MB, free: 0.8555 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.00283/0.05921, allocations: 1.384 MB / 412.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.05925, allocations: 12.03 kB / 412.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.05989, allocations: 224 kB / 412.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.06111, allocations: 0.563 MB / 413.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.06147, allocations: 403 kB / 413.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.06164, allocations: 92.31 kB / 413.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.06395, allocations: 1.654 MB / 415.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.06399, allocations: 8.125 kB / 415.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.0641, allocations: 47.92 kB / 415.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.06416, allocations: 37.31 kB / 415.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.06556, allocations: 0.6721 MB / 416.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/0.07438, allocations: 7.696 MB / 424 MB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.07499, allocations: 281.1 kB / 424.3 MB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.07528, allocations: 148.2 kB / 424.4 MB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.07724, allocations: 0.8524 MB / 425.3 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.07729, allocations: 49.56 kB / 425.3 MB, free: 2.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.07729, allocations: 0 / 425.3 MB, free: 2.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002494/0.07978, allocations: 0.9736 MB / 426.3 MB, free: 1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.07983, allocations: 59.34 kB / 426.4 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.08105, allocations: 0.9399 MB / 427.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.08109, allocations: 33.7 kB / 427.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.08168, allocations: 0.6804 MB / 428 MB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.08183, allocations: 150.9 kB / 428.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/0.08224, allocations: 276.4 kB / 428.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/0.08263, allocations: 0.6016 MB / 429 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.083, allocations: 166.5 kB / 429.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.08438, allocations: 1.242 MB / 430.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.08634, allocations: 1.544 MB / 432 MB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.08635, allocations: 8 kB / 432 MB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002116/0.08846, allocations: 1.11 MB / 433.1 MB, free: 9.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.0885, allocations: 16 kB / 433.1 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.08853, allocations: 24 kB / 433.2 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.249e-05/0.08858, allocations: 36.75 kB / 433.2 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.08943, allocations: 275.5 kB / 433.5 MB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.191e-05/0.08949, allocations: 55.78 kB / 433.5 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.09012, allocations: 56 kB / 433.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.09023, allocations: 76 kB / 433.6 MB, free: 8.613 MB / 410.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.0004248/0.09066, allocations: 309 kB / 433.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.09083, allocations: 99.36 kB / 434 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009561/0.09178, allocations: 459.1 kB / 434.5 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.09179, allocations: 7.984 kB / 434.5 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.0918, allocations: 0 / 434.5 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.0918, allocations: 3.938 kB / 434.5 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.0939, allocations: 1.111 MB / 435.6 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.09391, allocations: 4 kB / 435.6 MB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.09424, allocations: 68.09 kB / 435.7 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.09424, allocations: 4 kB / 435.7 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.09427, allocations: 12 kB / 435.7 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.09428, allocations: 0 / 435.7 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.09429, allocations: 11.92 kB / 435.7 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.0954, allocations: 0.6465 MB / 436.4 MB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.0957, allocations: 111.4 kB / 436.5 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/0.0958, allocations: 11.94 kB / 436.5 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.09613, allocations: 19.98 kB / 436.5 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.09619, allocations: 27.88 kB / 436.5 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.09624, allocations: 27.97 kB / 436.5 MB, free: 5.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006737/0.09692, allocations: 0.4951 MB / 437 MB, free: 5.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09692, allocations: 0 / 437 MB, free: 5.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001188/0.0981, allocations: 295.7 kB / 437.3 MB, free: 4.789 MB / 410.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.0006054/0.09871, allocations: 310.6 kB / 437.6 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.09986, allocations: 0.6028 MB / 438.2 MB, free: 3.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.09986, allocations: 4.25 kB / 438.2 MB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.1001, allocations: 139.4 kB / 438.4 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.1016, allocations: 323.9 kB / 438.7 MB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1041, allocations: 1.341 MB / 440 MB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1046, allocations: 388.8 kB / 440.4 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007792/0.1054, allocations: 274.8 kB / 440.7 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.1055, allocations: 72.44 kB / 440.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1055, allocations: 0 / 440.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of Templates: time 0.1571/0.2626, allocations: 13.25 MB / 454 MB, free: 101.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.553072671988048]