Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009836/0.0009835, allocations: 104.7 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3324/0.3324, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3291, allocations: 62.01 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.0478/0.377, allocations: 58.28 MB / 0.5721 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03766/0.4147, allocations: 31.98 MB / 0.6033 GB, free: 15.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.4164, allocations: 39.69 kB / 0.6033 GB, free: 15.08 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4182, allocations: 0.5907 MB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01391/0.4321, allocations: 4.741 MB / 0.6085 GB, free: 9.746 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009926/0.4421, allocations: 3.361 MB / 0.6118 GB, free: 6.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005765/0.4478, allocations: 4.201 MB / 0.6159 GB, free: 2.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.4495, allocations: 0.7122 MB / 0.6166 GB, free: 1.457 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.4644, allocations: 6.17 MB / 0.6226 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/0.4799, allocations: 7.477 MB / 0.6299 GB, free: 3.613 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004038/0.4803, allocations: 68 kB / 0.63 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/0.4975, allocations: 8.257 MB / 0.6381 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008132/0.4983, allocations: 362.8 kB / 0.6384 GB, free: 10.92 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4995, allocations: 0.6337 MB / 0.639 GB, free: 10.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.5173, allocations: 6.268 MB / 0.6452 GB, free: 4.004 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5174, allocations: 4 kB / 0.6452 GB, free: 4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5174, allocations: 0 / 0.6452 GB, free: 4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.5174, allocations: 0 / 0.6452 GB, free: 4 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006715/0.5241, allocations: 2.253 MB / 0.6474 GB, free: 1.695 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5242, allocations: 12.02 kB / 0.6474 GB, free: 1.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004457/0.5286, allocations: 0.6278 MB / 0.648 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.5301, allocations: 0.7643 MB / 0.6487 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.5303, allocations: 213.3 kB / 0.6489 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5305, allocations: 108 kB / 0.649 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.5345, allocations: 1.819 MB / 0.6508 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.5345, allocations: 7.938 kB / 0.6508 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.5347, allocations: 44 kB / 0.6509 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.5347, allocations: 45.98 kB / 0.6509 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003882/0.5386, allocations: 1.639 MB / 0.6525 GB, free: 12.22 MB / 474.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.01056/0.5492, allocations: 8.551 MB / 0.6609 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.5523, allocations: 1 MB / 0.6618 GB, free: 2.047 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.5531, allocations: 423.1 kB / 0.6622 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2785/0.8317, allocations: 26.82 MB / 0.6884 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.8317, allocations: 44 kB / 0.6885 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008052/0.8326, allocations: 106.5 kB / 0.6886 GB, free: 130.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/0.8326, allocations: 0 / 0.6886 GB, free: 130.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.009213/0.8418, allocations: 3.464 MB / 0.692 GB, free: 129.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.8419, allocations: 116.2 kB / 0.6921 GB, free: 129.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.8429, allocations: 0.8463 MB / 0.6929 GB, free: 129.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.843, allocations: 42.92 kB / 0.6929 GB, free: 129.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.8433, allocations: 0.5685 MB / 0.6935 GB, free: 128.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.8434, allocations: 279.4 kB / 0.6938 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.8437, allocations: 273.5 kB / 0.694 GB, free: 128.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8439, allocations: 410.9 kB / 0.6944 GB, free: 128 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/0.8447, allocations: 434.4 kB / 0.6948 GB, free: 127.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.8458, allocations: 0.9901 MB / 0.6958 GB, free: 127 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.8479, allocations: 1.492 MB / 0.6973 GB, free: 125.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8479, allocations: 5.25 kB / 0.6973 GB, free: 125.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003023/0.8509, allocations: 1.725 MB / 0.6989 GB, free: 125.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.851, allocations: 18.03 kB / 0.699 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.851, allocations: 22.09 kB / 0.699 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.8534, allocations: 0.5968 MB / 0.6996 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.8541, allocations: 247.1 kB / 0.6998 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.856, allocations: 1.81 MB / 0.7016 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.8573, allocations: 125.1 kB / 0.7017 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.8574, allocations: 80.12 kB / 0.7018 GB, free: 123.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],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 (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005503/0.858, allocations: 339.7 kB / 0.7021 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.8582, allocations: 105.7 kB / 0.7022 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.8642, allocations: 4.459 MB / 0.7065 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/0.8642, allocations: 58.38 kB / 0.7066 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.8643, allocations: 0 / 0.7066 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.8643, allocations: 6.672 kB / 0.7066 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00904/0.8733, allocations: 6.259 MB / 0.7127 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8734, allocations: 8.75 kB / 0.7127 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.874, allocations: 152.4 kB / 0.7129 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.8758, allocations: 0.6627 MB / 0.7135 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.445e-05/0.8759, allocations: 22.98 kB / 0.7135 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.8776, allocations: 1.793 MB / 0.7153 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8776, allocations: 0 / 0.7153 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2026/1.08, allocations: 86.27 MB / 0.7995 GB, free: 34.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/1.081, allocations: 358.2 kB / 0.7999 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.081, allocations: 35.69 kB / 0.7999 GB, free: 34.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/1.082, allocations: 83.78 kB / 0.8 GB, free: 34.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.082, allocations: 72.89 kB / 0.8001 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/1.082, allocations: 39.98 kB / 0.8001 GB, free: 34.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007372/1.082, allocations: 0.6588 MB / 0.8007 GB, free: 33.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.082, allocations: 0 / 0.8007 GB, free: 33.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0106/1.093, allocations: 4.128 MB / 0.8048 GB, free: 29.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0215/1.115, allocations: 3.086 MB / 0.8078 GB, free: 26.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/1.118, allocations: 1.655 MB / 0.8094 GB, free: 24.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.118, allocations: 0.75 kB / 0.8094 GB, free: 24.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.119, allocations: 1.212 MB / 0.8106 GB, free: 23.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.122, allocations: 0.5185 MB / 0.8111 GB, free: 23.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/1.127, allocations: 6.448 MB / 0.8174 GB, free: 16.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/1.128, allocations: 1.519 MB / 0.8189 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001209/1.129, allocations: 0.6261 MB / 0.8195 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/1.13, allocations: 123.4 kB / 0.8196 GB, free: 14.43 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/1.13, allocations: 0 / 0.8196 GB, free: 14.43 MB / 490.7 MB Notification: Performance of Templates: time 0.4491/1.579, allocations: 175.6 MB / 0.9911 GB, free: 83.74 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches