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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001475/0.001475, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2268/0.2268, allocations: 44.94 MB / 358.8 MB, free: 6.031 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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 77.61 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3259, allocations: 65.48 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02108/0.347, allocations: 16.31 MB / 0.5734 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3573, allocations: 6.501 MB / 0.5797 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008531/0.3581, allocations: 27.75 kB / 0.5798 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.3594, allocations: 369.6 kB / 0.5801 GB, free: 180 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.3615, allocations: 0.6956 MB / 0.5808 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.3654, allocations: 1.333 MB / 0.5821 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003516/0.3689, allocations: 2.556 MB / 0.5846 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.3701, allocations: 0.5573 MB / 0.5851 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.3726, allocations: 1.078 MB / 0.5862 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.3743, allocations: 0.7823 MB / 0.5869 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.3746, allocations: 84 kB / 0.587 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.3761, allocations: 487.2 kB / 0.5875 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.3767, allocations: 386.9 kB / 0.5879 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009639/0.3777, allocations: 442.3 kB / 0.5883 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.3804, allocations: 1.584 MB / 0.5898 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3804, allocations: 4 kB / 0.5898 GB, free: 6.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3804, allocations: 0 / 0.5898 GB, free: 6.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.896e-05/0.3805, allocations: 0 / 0.5898 GB, free: 6.195 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.002976/0.3834, allocations: 1.225 MB / 0.591 GB, free: 4.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3835, allocations: 12.03 kB / 0.591 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.384, allocations: 128.3 kB / 0.5912 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3853, allocations: 0.5493 MB / 0.5917 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.3856, allocations: 407 kB / 0.5921 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3857, allocations: 88.31 kB / 0.5922 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.388, allocations: 1.703 MB / 0.5938 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.388, allocations: 7.938 kB / 0.5938 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3882, allocations: 36 kB / 0.5939 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.3882, allocations: 41.3 kB / 0.5939 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.3899, allocations: 0.9571 MB / 0.5949 GB, free: 0.6914 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.006914/0.3968, allocations: 5.828 MB / 0.6005 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.3974, allocations: 292.6 kB / 0.6008 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.3977, allocations: 165.4 kB / 0.601 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.3994, allocations: 0.7706 MB / 0.6017 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.3994, allocations: 46.67 kB / 0.6018 GB, free: 9.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.3994, allocations: 0 / 0.6018 GB, free: 9.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002481/0.4019, allocations: 1.034 MB / 0.6028 GB, free: 8.266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4019, allocations: 51.41 kB / 0.6028 GB, free: 8.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4029, allocations: 0.7965 MB / 0.6036 GB, free: 7.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.403, allocations: 33.7 kB / 0.6036 GB, free: 7.355 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.4035, allocations: 0.5996 MB / 0.6042 GB, free: 6.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4036, allocations: 150.9 kB / 0.6044 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.4039, allocations: 238.7 kB / 0.6046 GB, free: 6.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.4042, allocations: 386.7 kB / 0.605 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.4047, allocations: 250.4 kB / 0.6052 GB, free: 5.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.406, allocations: 0.9583 MB / 0.6061 GB, free: 4.414 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.4078, allocations: 1.323 MB / 0.6074 GB, free: 2.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/0.4078, allocations: 4 kB / 0.6074 GB, free: 2.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002245/0.41, allocations: 1.208 MB / 0.6086 GB, free: 1.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4101, allocations: 16 kB / 0.6086 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.4101, allocations: 24 kB / 0.6087 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/0.4102, allocations: 36 kB / 0.6087 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.411, allocations: 279.5 kB / 0.609 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.795e-05/0.411, allocations: 47.8 kB / 0.609 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.4117, allocations: 55.98 kB / 0.6091 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4118, allocations: 76.31 kB / 0.6091 GB, free: 0.9883 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.0005002/0.4123, allocations: 334.6 kB / 0.6095 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4125, allocations: 83.48 kB / 0.6095 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.4134, allocations: 474.3 kB / 0.61 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4134, allocations: 8 kB / 0.61 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4134, allocations: 4 kB / 0.61 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4134, allocations: 0 / 0.61 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4152, allocations: 0.956 MB / 0.6109 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4152, allocations: 0 / 0.6109 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.4155, allocations: 67.91 kB / 0.611 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.4155, allocations: 4.188 kB / 0.611 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.4155, allocations: 15.94 kB / 0.611 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.4155, allocations: 7.938 kB / 0.611 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4155, allocations: 4 kB / 0.611 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4166, allocations: 0.6413 MB / 0.6117 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.4169, allocations: 115.4 kB / 0.6118 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.417, allocations: 15.89 kB / 0.6118 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4174, allocations: 11.94 kB / 0.6118 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.4174, allocations: 27.95 kB / 0.6118 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.4175, allocations: 23.98 kB / 0.6118 GB, free: 14.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006616/0.4181, allocations: 0.4912 MB / 0.6123 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 0.6123 GB, free: 13.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4193, allocations: 299.7 kB / 0.6126 GB, free: 13.32 MB / 462.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.0006075/0.4199, allocations: 310 kB / 0.6129 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4211, allocations: 0.615 MB / 0.6135 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4211, allocations: 3.938 kB / 0.6135 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4213, allocations: 148.9 kB / 0.6136 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4228, allocations: 301.5 kB / 0.6139 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.4254, allocations: 1.467 MB / 0.6154 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4258, allocations: 400.7 kB / 0.6157 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008332/0.4266, allocations: 294.1 kB / 0.616 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4268, allocations: 59.44 kB / 0.6161 GB, free: 9.688 MB / 462.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4268, allocations: 0 / 0.6161 GB, free: 9.688 MB / 462.1 MB Notification: Performance of Templates: time 0.02589/0.4527, allocations: 14.43 MB / 0.6302 GB, free: 11.54 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.625295991078019]