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.001531/0.001531, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001749/0.001749, allocations: 169 kB / 24.24 MB, free: 308 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 1.014/1.014, allocations: 158.6 MB / 186 MB, free: 2.926 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.1771/0.1771, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 2.094e-06/2.094e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.996e-05, allocations: 4.281 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01313/0.01315, allocations: 18.08 MB / 365.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009646/0.0228, allocations: 7.19 MB / 372.9 MB, free: 420 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.02395, allocations: 27.75 kB / 373 MB, free: 392 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.02524, allocations: 373.5 kB / 373.3 MB, free: 16 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.02786, allocations: 0.7143 MB / 374 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.03191, allocations: 1.378 MB / 375.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.03566, allocations: 2.52 MB / 377.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.03721, allocations: 0.5928 MB / 378.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.04047, allocations: 1.332 MB / 379.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.04206, allocations: 0.7323 MB / 380.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.04249, allocations: 88 kB / 380.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.04419, allocations: 478.9 kB / 381.2 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.04473, allocations: 406.9 kB / 381.6 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.04561, allocations: 395.1 kB / 381.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.04942, allocations: 1.231 MB / 383.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.04943, allocations: 0 / 383.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.04943, allocations: 0 / 383.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.04945, allocations: 0 / 383.2 MB, free: 6.133 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.002002/0.05145, allocations: 1.337 MB / 384.5 MB, free: 4.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.05151, allocations: 8.031 kB / 384.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.05205, allocations: 224 kB / 384.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.05287, allocations: 0.5668 MB / 385.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.05314, allocations: 407 kB / 385.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.05326, allocations: 88.38 kB / 385.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.05465, allocations: 1.537 MB / 387.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.05468, allocations: 4.125 kB / 387.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.05476, allocations: 43.94 kB / 387.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.05483, allocations: 45.3 kB / 387.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.05556, allocations: 471 kB / 387.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.06014, allocations: 7.26 MB / 395.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.06046, allocations: 185.9 kB / 395.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.06059, allocations: 98.47 kB / 395.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.06152, allocations: 0.8016 MB / 396.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.06155, allocations: 45.61 kB / 396.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.06155, allocations: 0 / 396.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001408/0.06296, allocations: 0.8225 MB / 397.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.06301, allocations: 55.41 kB / 397.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.06364, allocations: 0.7876 MB / 397.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.06367, allocations: 33.7 kB / 398 MB, free: 6.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.06403, allocations: 0.6531 MB / 398.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.06411, allocations: 135 kB / 398.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.06431, allocations: 252.4 kB / 399 MB, free: 5.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.06451, allocations: 0.5664 MB / 399.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.06469, allocations: 114.5 kB / 399.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008829/0.06558, allocations: 1.176 MB / 400.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.06688, allocations: 1.419 MB / 402.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.06689, allocations: 8 kB / 402.3 MB, free: 1.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001183/0.06808, allocations: 1.017 MB / 403.3 MB, free: 168 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.06811, allocations: 20 kB / 403.3 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.06813, allocations: 24 kB / 403.3 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/0.06817, allocations: 36 kB / 403.4 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.06866, allocations: 275.5 kB / 403.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.0687, allocations: 47.8 kB / 403.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.06902, allocations: 55.98 kB / 403.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.06909, allocations: 72 kB / 403.8 MB, free: 15.64 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.0002221/0.06931, allocations: 267.8 kB / 404.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.06941, allocations: 103.4 kB / 404.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.06996, allocations: 382.7 kB / 404.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.06997, allocations: 8 kB / 404.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.06998, allocations: 0 / 404.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.06999, allocations: 0 / 404.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.07132, allocations: 0.9173 MB / 405.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.07133, allocations: 3.938 kB / 405.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.07149, allocations: 63.95 kB / 405.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.0715, allocations: 4 kB / 405.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.07151, allocations: 11.94 kB / 405.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.07152, allocations: 7.984 kB / 405.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.07152, allocations: 4.188 kB / 405.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.07207, allocations: 0.5331 MB / 406.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.0722, allocations: 115.4 kB / 406.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.07225, allocations: 8 kB / 406.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.07243, allocations: 15.98 kB / 406.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.07246, allocations: 27.91 kB / 406.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.0725, allocations: 27.97 kB / 406.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003492/0.07285, allocations: 434.9 kB / 406.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07285, allocations: 0 / 406.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007247/0.07357, allocations: 295.7 kB / 407 MB, free: 12.32 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.0006832/0.07426, allocations: 352.7 kB / 407.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.07486, allocations: 0.4926 MB / 407.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.07486, allocations: 0 / 407.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.07499, allocations: 95.52 kB / 407.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.07581, allocations: 320.8 kB / 408.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.07754, allocations: 1.275 MB / 409.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.07768, allocations: 203.3 kB / 409.7 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.07815, allocations: 269.8 kB / 410 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.07824, allocations: 68.48 kB / 410 MB, free: 9.195 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.07824, allocations: 4 kB / 410 MB, free: 9.191 MB / 346.7 MB Notification: Performance of Templates: time 0.01679/0.09503, allocations: 13.31 MB / 423.4 MB, free: 11.98 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","",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.717120193177834]