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.001022/0.001022, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009491/0.0009491, allocations: 161 kB / 24.56 MB, free: 16 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 0.9291/0.9291, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2615/0.2615, allocations: 32.81 MB / 294.3 MB, free: 1.254 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.433e-06/1.433e-06, allocations: 3.938 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.438e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.007592/0.007617, allocations: 8.041 MB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.01072, allocations: 2.476 MB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.01102, allocations: 27.75 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.01165, allocations: 258.2 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009194/0.01257, allocations: 0.6794 MB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.0141, allocations: 0.9936 MB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.01581, allocations: 2.496 MB / 391 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006123/0.01642, allocations: 0.5927 MB / 391.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.01744, allocations: 1.146 MB / 392.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.01811, allocations: 0.7285 MB / 393.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01821, allocations: 88 kB / 393.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.01859, allocations: 223.7 kB / 393.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.01889, allocations: 398.9 kB / 394.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.01921, allocations: 395.2 kB / 394.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.02026, allocations: 1.024 MB / 395.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02027, allocations: 0 / 395.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.02027, allocations: 0 / 395.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.02028, allocations: 0 / 395.6 MB, free: 1.023 MB / 362.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.001582/0.02186, allocations: 1.287 MB / 396.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.0219, allocations: 12.02 kB / 396.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.02231, allocations: 220 kB / 397.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.02299, allocations: 0.5707 MB / 397.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.0232, allocations: 403 kB / 398 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.02331, allocations: 96.31 kB / 398.1 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.02453, allocations: 1.479 MB / 399.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.02456, allocations: 8.125 kB / 399.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.02463, allocations: 47.92 kB / 399.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/0.02468, allocations: 41.3 kB / 399.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.02535, allocations: 471 kB / 400.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.02941, allocations: 7.248 MB / 407.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.0297, allocations: 189.1 kB / 407.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.02982, allocations: 92.33 kB / 407.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/0.0306, allocations: 0.7352 MB / 408.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.03063, allocations: 45.56 kB / 408.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.03063, allocations: 0 / 408.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001283/0.03191, allocations: 0.8212 MB / 409.3 MB, free: 2.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.03194, allocations: 55.41 kB / 409.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.03256, allocations: 0.7721 MB / 410.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.03259, allocations: 33.7 kB / 410.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.03289, allocations: 0.6608 MB / 410.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.03297, allocations: 146.9 kB / 410.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.03315, allocations: 248.4 kB / 411.2 MB, free: 0.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.03341, allocations: 0.5625 MB / 411.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.03358, allocations: 114.5 kB / 411.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.03419, allocations: 1.176 MB / 413 MB, free: 14.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.03533, allocations: 1.412 MB / 414.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.03534, allocations: 12 kB / 414.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001006/0.03635, allocations: 1.021 MB / 415.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.03637, allocations: 16 kB / 415.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.03639, allocations: 24 kB / 415.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.03643, allocations: 36 kB / 415.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.03688, allocations: 279.5 kB / 415.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.03691, allocations: 47.8 kB / 415.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.03722, allocations: 59.94 kB / 415.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.03728, allocations: 72 kB / 416 MB, free: 10.72 MB / 394.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.0001876/0.03747, allocations: 265 kB / 416.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.03755, allocations: 95.45 kB / 416.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.03801, allocations: 384.2 kB / 416.7 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.03802, allocations: 4 kB / 416.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.03802, allocations: 0 / 416.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.03803, allocations: 0 / 416.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.03889, allocations: 0.9162 MB / 417.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.0389, allocations: 4 kB / 417.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.03906, allocations: 75.88 kB / 417.7 MB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.03906, allocations: 4 kB / 417.7 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.03908, allocations: 8 kB / 417.7 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.03908, allocations: 4.188 kB / 417.7 MB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03908, allocations: 7.938 kB / 417.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.03955, allocations: 0.5371 MB / 418.3 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.03967, allocations: 107.4 kB / 418.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.03972, allocations: 11.94 kB / 418.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.03988, allocations: 16 kB / 418.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.03991, allocations: 27.89 kB / 418.4 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.03995, allocations: 27.97 kB / 418.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.04026, allocations: 434.9 kB / 418.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04026, allocations: 4.031 kB / 418.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.04083, allocations: 231.9 kB / 419.1 MB, free: 7.461 MB / 394.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.0002594/0.04109, allocations: 174.9 kB / 419.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.04162, allocations: 0.5011 MB / 419.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.04162, allocations: 0 / 419.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.04174, allocations: 103.8 kB / 419.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.04254, allocations: 311.9 kB / 420.2 MB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.04417, allocations: 1.286 MB / 421.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.04429, allocations: 195.3 kB / 421.7 MB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00043/0.04472, allocations: 273.8 kB / 422 MB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.04481, allocations: 68.48 kB / 422 MB, free: 4.484 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.04481, allocations: 0 / 422 MB, free: 4.484 MB / 394.7 MB Notification: Performance of Templates: time 0.01307/0.05788, allocations: 11.53 MB / 433.6 MB, free: 9.211 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","",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.636865856125951]