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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.5 kB / 24.52 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 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.2276/0.2276, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002049/0.002049, allocations: 67.91 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02055/0.3745, allocations: 17.92 MB / 0.5663 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3845, allocations: 7.097 MB / 0.5732 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.3855, allocations: 27.75 kB / 0.5733 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3868, allocations: 389.6 kB / 0.5736 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.3889, allocations: 0.6879 MB / 0.5743 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.3927, allocations: 1.362 MB / 0.5756 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003536/0.3963, allocations: 2.549 MB / 0.5781 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009814/0.3972, allocations: 0.569 MB / 0.5787 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.3993, allocations: 1.059 MB / 0.5797 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.4007, allocations: 0.8057 MB / 0.5805 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.4008, allocations: 88 kB / 0.5806 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4024, allocations: 0.5616 MB / 0.5811 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.4029, allocations: 378.9 kB / 0.5815 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.4036, allocations: 0.5173 MB / 0.582 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.4059, allocations: 1.548 MB / 0.5835 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4059, allocations: 0 / 0.5835 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4059, allocations: 4 kB / 0.5835 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4059, allocations: 0 / 0.5835 GB, free: 11.8 MB / 430.1 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.002608/0.4085, allocations: 1.228 MB / 0.5847 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4086, allocations: 12.03 kB / 0.5847 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.4091, allocations: 128.3 kB / 0.5848 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4101, allocations: 0.5531 MB / 0.5854 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.4104, allocations: 252.7 kB / 0.5856 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.4105, allocations: 84.36 kB / 0.5857 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4126, allocations: 1.301 MB / 0.587 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.4126, allocations: 7.922 kB / 0.587 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.4127, allocations: 47.98 kB / 0.587 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/0.4128, allocations: 37.31 kB / 0.5871 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.4144, allocations: 0.9649 MB / 0.588 GB, free: 6.969 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007537/0.422, allocations: 7.029 MB / 0.5949 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.4225, allocations: 301.5 kB / 0.5952 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.4228, allocations: 153.4 kB / 0.5953 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/0.4244, allocations: 0.8561 MB / 0.5961 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4245, allocations: 38.8 kB / 0.5962 GB, free: 14.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4245, allocations: 0 / 0.5962 GB, free: 14.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002337/0.4268, allocations: 1.055 MB / 0.5972 GB, free: 13.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4269, allocations: 59.41 kB / 0.5973 GB, free: 12.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4279, allocations: 0.8682 MB / 0.5981 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.428, allocations: 33.7 kB / 0.5981 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.4285, allocations: 0.5921 MB / 0.5987 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4286, allocations: 146.9 kB / 0.5989 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.4289, allocations: 238.7 kB / 0.5991 GB, free: 11.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4291, allocations: 398.7 kB / 0.5995 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.4295, allocations: 246.5 kB / 0.5997 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4306, allocations: 0.9621 MB / 0.6007 GB, free: 9.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.4322, allocations: 1.327 MB / 0.6019 GB, free: 7.398 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4322, allocations: 8 kB / 0.602 GB, free: 7.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001921/0.4341, allocations: 1.205 MB / 0.6031 GB, free: 6.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.4341, allocations: 20.03 kB / 0.6031 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.4341, allocations: 32 kB / 0.6032 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/0.4342, allocations: 35.94 kB / 0.6032 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.435, allocations: 275.5 kB / 0.6035 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.956e-05/0.435, allocations: 55.78 kB / 0.6035 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.4357, allocations: 55.94 kB / 0.6036 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.4358, allocations: 72 kB / 0.6037 GB, free: 5.645 MB / 446.1 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.0004951/0.4363, allocations: 338.1 kB / 0.604 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4364, allocations: 95.44 kB / 0.6041 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.4374, allocations: 479.3 kB / 0.6045 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.4374, allocations: 4 kB / 0.6045 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4374, allocations: 0 / 0.6045 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4374, allocations: 11.97 kB / 0.6045 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.4391, allocations: 1.061 MB / 0.6056 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4391, allocations: 0 / 0.6056 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4394, allocations: 83.95 kB / 0.6057 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.4394, allocations: 4 kB / 0.6057 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4394, allocations: 8 kB / 0.6057 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.4394, allocations: 4 kB / 0.6057 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4394, allocations: 7.938 kB / 0.6057 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.4403, allocations: 0.6534 MB / 0.6063 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.4406, allocations: 127.2 kB / 0.6064 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.4407, allocations: 15.95 kB / 0.6065 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4411, allocations: 19.98 kB / 0.6065 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.4412, allocations: 27.97 kB / 0.6065 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4412, allocations: 27.97 kB / 0.6065 GB, free: 2.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008269/0.442, allocations: 0.593 MB / 0.6071 GB, free: 1.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.442, allocations: 0 / 0.6071 GB, free: 1.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001058/0.4431, allocations: 295.7 kB / 0.6074 GB, free: 1.688 MB / 446.1 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.0006953/0.4438, allocations: 341 kB / 0.6077 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4449, allocations: 0.618 MB / 0.6083 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4449, allocations: 0 / 0.6083 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.4451, allocations: 143.5 kB / 0.6085 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.4469, allocations: 432.5 kB / 0.6089 GB, free: 200 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.4494, allocations: 1.494 MB / 0.6103 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.4501, allocations: 0.9934 MB / 0.6113 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008688/0.451, allocations: 324.1 kB / 0.6116 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4511, allocations: 71.42 kB / 0.6117 GB, free: 13.24 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4511, allocations: 0 / 0.6117 GB, free: 13.24 MB / 462.1 MB Notification: Performance of Templates: time 0.03038/0.4815, allocations: 16.94 MB / 0.6282 GB, free: 12.45 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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.588117645122111]