Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 174.5 kB / 16.72 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006699/0.0006699, allocations: 90.39 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 19.92 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.09954, allocations: 58.84 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1807/0.2803, allocations: 16.67 MB / 0.4956 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.2873, allocations: 6.647 MB / 0.5021 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006405/0.288, allocations: 22.16 kB / 0.5021 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.2888, allocations: 312 kB / 0.5024 GB, free: 34.22 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001226/0.29, allocations: 0.6931 MB / 0.5031 GB, free: 33.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.2929, allocations: 1.102 MB / 0.5042 GB, free: 33.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.2957, allocations: 2.979 MB / 0.5071 GB, free: 32.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.2965, allocations: 0.5871 MB / 0.5076 GB, free: 32.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.298, allocations: 0.9084 MB / 0.5085 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008562/0.2988, allocations: 0.7419 MB / 0.5093 GB, free: 31.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.299, allocations: 47.59 kB / 0.5093 GB, free: 31.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.3002, allocations: 0.5188 MB / 0.5098 GB, free: 31.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3005, allocations: 336.6 kB / 0.5101 GB, free: 31.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.301, allocations: 498.2 kB / 0.5106 GB, free: 30.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.302, allocations: 1.115 MB / 0.5117 GB, free: 30.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3021, allocations: 0 / 0.5117 GB, free: 30.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3021, allocations: 0 / 0.5117 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3021, allocations: 1.312 kB / 0.5117 GB, free: 30.68 MB / 378.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.001777/0.3039, allocations: 1.105 MB / 0.5128 GB, free: 29.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3039, allocations: 9.781 kB / 0.5128 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.3043, allocations: 118.9 kB / 0.5129 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007569/0.3051, allocations: 0.587 MB / 0.5135 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3052, allocations: 251.3 kB / 0.5137 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.3054, allocations: 77.97 kB / 0.5138 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3068, allocations: 1.302 MB / 0.5151 GB, free: 28.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.3068, allocations: 11.06 kB / 0.5151 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.3069, allocations: 40.41 kB / 0.5151 GB, free: 28.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.307, allocations: 40.86 kB / 0.5151 GB, free: 28.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3082, allocations: 0.9628 MB / 0.5161 GB, free: 28.17 MB / 378.7 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.004614/0.3128, allocations: 7.081 MB / 0.523 GB, free: 22.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3133, allocations: 312.9 kB / 0.5233 GB, free: 22.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.3135, allocations: 174.2 kB / 0.5235 GB, free: 22.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.3152, allocations: 2.826 MB / 0.5262 GB, free: 19.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3153, allocations: 45.66 kB / 0.5263 GB, free: 19.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.3153, allocations: 0 / 0.5263 GB, free: 19.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001837/0.3171, allocations: 1.108 MB / 0.5273 GB, free: 18.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.3172, allocations: 56.44 kB / 0.5274 GB, free: 18.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/0.318, allocations: 0.8645 MB / 0.5282 GB, free: 17.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.318, allocations: 32.83 kB / 0.5283 GB, free: 17.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3182, allocations: 0.563 MB / 0.5288 GB, free: 17.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.3183, allocations: 141.9 kB / 0.529 GB, free: 17.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.3183, allocations: 29.91 kB / 0.529 GB, free: 17.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3184, allocations: 397.5 kB / 0.5294 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.3188, allocations: 238.2 kB / 0.5296 GB, free: 16.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.3193, allocations: 0.9589 MB / 0.5305 GB, free: 15.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.3202, allocations: 1.314 MB / 0.5318 GB, free: 14.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.3203, allocations: 9.125 kB / 0.5318 GB, free: 14.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001427/0.3217, allocations: 1.212 MB / 0.533 GB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3217, allocations: 12.69 kB / 0.533 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.3218, allocations: 28.88 kB / 0.533 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/0.3218, allocations: 34.66 kB / 0.5331 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.3225, allocations: 273.5 kB / 0.5333 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.3225, allocations: 48.88 kB / 0.5334 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.3231, allocations: 68.25 kB / 0.5335 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.3232, allocations: 73.39 kB / 0.5335 GB, free: 13.99 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.3235, allocations: 334 kB / 0.5338 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.3236, allocations: 91.75 kB / 0.5339 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.3243, allocations: 494.3 kB / 0.5344 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3243, allocations: 2.875 kB / 0.5344 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3243, allocations: 4 kB / 0.5344 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3243, allocations: 3.938 kB / 0.5344 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.3256, allocations: 1.236 MB / 0.5356 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3257, allocations: 7.094 kB / 0.5356 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3259, allocations: 72.52 kB / 0.5357 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3259, allocations: 7.156 kB / 0.5357 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.326, allocations: 7.969 kB / 0.5357 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.326, allocations: 3.156 kB / 0.5357 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.326, allocations: 6.672 kB / 0.5357 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.3266, allocations: 0.6331 MB / 0.5363 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.3269, allocations: 220.7 kB / 0.5365 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.327, allocations: 7.156 kB / 0.5366 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.3273, allocations: 29.97 kB / 0.5366 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3274, allocations: 21.95 kB / 0.5366 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3274, allocations: 25.09 kB / 0.5366 GB, free: 12.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005839/0.328, allocations: 0.587 MB / 0.5372 GB, free: 11.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.328, allocations: 0 / 0.5372 GB, free: 11.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001006/0.329, allocations: 294.7 kB / 0.5375 GB, free: 11.77 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005619/0.3296, allocations: 333.2 kB / 0.5378 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.3304, allocations: 0.6351 MB / 0.5384 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3305, allocations: 8 kB / 0.5384 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3306, allocations: 140.6 kB / 0.5386 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.3323, allocations: 385.8 kB / 0.5389 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3342, allocations: 1.801 MB / 0.5407 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3346, allocations: 0.9923 MB / 0.5417 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3348, allocations: 93.02 kB / 0.5417 GB, free: 9.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3348, allocations: 0 / 0.5417 GB, free: 9.43 MB / 378.7 MB Notification: Performance of Templates: time 0.02162/0.3564, allocations: 14.45 MB / 0.5559 GB, free: 4.156 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches