Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007385/0.0007385, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001861, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006884/0.0006884, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009095/0.001598, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9115/0.9115, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08539/0.9969, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0211/0.2603, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.057e-05, allocations: 5.281 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.006522/0.006542, allocations: 8.067 MB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.01025, allocations: 2.532 MB / 303.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.01071, allocations: 27.75 kB / 303.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.01117, allocations: 250.2 kB / 303.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009282/0.01209, allocations: 0.6677 MB / 304.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.01371, allocations: 0.9958 MB / 305.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.01577, allocations: 2.544 MB / 307.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.01654, allocations: 0.6082 MB / 308.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.01786, allocations: 1.185 MB / 309.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.01866, allocations: 0.6934 MB / 310.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.01881, allocations: 84 kB / 310.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.01928, allocations: 219.7 kB / 310.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.01951, allocations: 323.1 kB / 311 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.01979, allocations: 303.4 kB / 311.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.02068, allocations: 0.9033 MB / 312.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.02069, allocations: 0 / 312.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02069, allocations: 0 / 312.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.02071, allocations: 0 / 312.2 MB, free: 2.75 MB / 298.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.001459/0.02217, allocations: 1.35 MB / 313.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.0222, allocations: 8.625 kB / 313.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.02257, allocations: 277.5 kB / 313.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.02314, allocations: 490 kB / 314.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.0233, allocations: 403 kB / 314.7 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.0234, allocations: 88.38 kB / 314.8 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.02428, allocations: 1.304 MB / 316.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.0243, allocations: 8.078 kB / 316.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.02436, allocations: 39.94 kB / 316.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.02441, allocations: 45.3 kB / 316.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.02484, allocations: 372.5 kB / 316.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.02808, allocations: 5.092 MB / 321.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.02829, allocations: 195.9 kB / 321.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.02836, allocations: 69.48 kB / 321.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.0291, allocations: 0.6463 MB / 322.5 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.02913, allocations: 30.8 kB / 322.6 MB, free: 7.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.02913, allocations: 0 / 322.6 MB, free: 7.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001251/0.03038, allocations: 0.7951 MB / 323.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.03041, allocations: 55.41 kB / 323.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.03084, allocations: 0.7075 MB / 324.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.03087, allocations: 29.7 kB / 324.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.0311, allocations: 0.5652 MB / 324.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.03117, allocations: 135 kB / 324.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.03133, allocations: 242.6 kB / 325.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.03145, allocations: 390.6 kB / 325.5 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.03156, allocations: 101.4 kB / 325.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.03195, allocations: 0.8254 MB / 326.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.03271, allocations: 1.157 MB / 327.6 MB, free: 1.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.03272, allocations: 4 kB / 327.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007545/0.03348, allocations: 0.8053 MB / 328.4 MB, free: 1.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.03351, allocations: 16 kB / 328.4 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.03353, allocations: 28 kB / 328.4 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.03355, allocations: 32 kB / 328.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.03404, allocations: 315.5 kB / 328.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.03406, allocations: 51.8 kB / 328.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.03441, allocations: 48 kB / 328.9 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.03446, allocations: 63.98 kB / 328.9 MB, free: 0.5859 MB / 314.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.0001932/0.03466, allocations: 228 kB / 329.1 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.03472, allocations: 59.88 kB / 329.2 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.03509, allocations: 335.3 kB / 329.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.0351, allocations: 4 kB / 329.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.0351, allocations: 3.938 kB / 329.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0351, allocations: 0 / 329.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.03576, allocations: 0.6451 MB / 330.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.03577, allocations: 4 kB / 330.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.03594, allocations: 79.89 kB / 330.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.03605, allocations: 87.44 kB / 330.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.03605, allocations: 4 kB / 330.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.03606, allocations: 11.98 kB / 330.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.03607, allocations: 8.188 kB / 330.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03607, allocations: 0 / 330.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.0364, allocations: 435.8 kB / 330.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.03645, allocations: 8 kB / 330.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.03661, allocations: 19.98 kB / 330.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.03664, allocations: 23.91 kB / 330.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.03667, allocations: 23.97 kB / 330.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.03687, allocations: 291.4 kB / 331.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03687, allocations: 4.031 kB / 331.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005815/0.03746, allocations: 235.9 kB / 331.4 MB, free: 14.02 MB / 330.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.0002277/0.03768, allocations: 148.2 kB / 331.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.03813, allocations: 481 kB / 332 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.131e-05/0.03816, allocations: 26.58 kB / 332 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.03828, allocations: 108.8 kB / 332.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.03941, allocations: 1.737 MB / 333.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.04672, allocations: 1.258 MB / 335.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.04685, allocations: 191.5 kB / 335.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.04725, allocations: 139.4 kB / 335.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.04772, allocations: 311 kB / 335.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04772, allocations: 0 / 335.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of Templates: time 0.01486/0.06257, allocations: 12.16 MB / 347.9 MB, free: 13.36 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8076965427026153]