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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 75.88 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3893, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.05771/0.447, allocations: 57.03 MB / 0.5873 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03656/0.4836, allocations: 30.74 MB / 0.6174 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.4856, allocations: 31.81 kB / 0.6174 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.4882, allocations: 0.6638 MB / 0.618 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.5074, allocations: 5.759 MB / 0.6237 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01201/0.5194, allocations: 3.895 MB / 0.6275 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004677/0.5241, allocations: 3.063 MB / 0.6305 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.5257, allocations: 0.813 MB / 0.6312 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/0.5409, allocations: 6.357 MB / 0.6375 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01578/0.5567, allocations: 7.436 MB / 0.6447 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004481/0.5572, allocations: 116 kB / 0.6448 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.5753, allocations: 8.405 MB / 0.653 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.5761, allocations: 402.8 kB / 0.6534 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.5772, allocations: 0.6806 MB / 0.6541 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.596, allocations: 6.315 MB / 0.6602 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.5961, allocations: 0 / 0.6602 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5961, allocations: 0 / 0.6602 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.415e-05/0.5962, allocations: 0 / 0.6602 GB, free: 13.55 MB / 0.5138 GB 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.008157/0.6044, allocations: 2.264 MB / 0.6625 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.6044, allocations: 9.109 kB / 0.6625 GB, free: 11.22 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.6097, allocations: 0.62 MB / 0.6631 GB, free: 10.6 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.6118, allocations: 0.8034 MB / 0.6639 GB, free: 9.758 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.6121, allocations: 217.3 kB / 0.6641 GB, free: 9.523 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.6124, allocations: 100.1 kB / 0.6642 GB, free: 9.426 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.6176, allocations: 1.822 MB / 0.6659 GB, free: 7.469 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.6176, allocations: 7.938 kB / 0.6659 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.6178, allocations: 44 kB / 0.666 GB, free: 7.418 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/0.6179, allocations: 45.98 kB / 0.666 GB, free: 7.371 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004412/0.6223, allocations: 1.639 MB / 0.6676 GB, free: 5.73 MB / 0.5138 GB 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.01239/0.6347, allocations: 8.578 MB / 0.676 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.6379, allocations: 0.9811 MB / 0.677 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.6388, allocations: 422.3 kB / 0.6774 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04489/0.6837, allocations: 27.55 MB / 0.7043 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.6838, allocations: 43.12 kB / 0.7043 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007547/0.6845, allocations: 86.97 kB / 0.7044 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 5.12e-06/0.6846, allocations: 0 / 0.7044 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.0112/0.6958, allocations: 3.45 MB / 0.7078 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.6959, allocations: 119.5 kB / 0.7079 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.6973, allocations: 0.8603 MB / 0.7087 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/0.6974, allocations: 41.7 kB / 0.7088 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.6979, allocations: 0.5679 MB / 0.7093 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.6981, allocations: 276.1 kB / 0.7096 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.6986, allocations: 262.6 kB / 0.7098 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6988, allocations: 410.7 kB / 0.7102 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009293/0.6997, allocations: 430.3 kB / 0.7106 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.7011, allocations: 0.9931 MB / 0.7116 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.7036, allocations: 1.494 MB / 0.7131 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.7036, allocations: 4 kB / 0.7131 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003669/0.7073, allocations: 1.732 MB / 0.7148 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.7074, allocations: 16.25 kB / 0.7148 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.7074, allocations: 23.94 kB / 0.7148 GB, free: 15.85 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.7101, allocations: 0.5871 MB / 0.7154 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.7109, allocations: 247.6 kB / 0.7156 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.7131, allocations: 1.832 MB / 0.7174 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7142, allocations: 71.97 kB / 0.7175 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.7143, allocations: 76.08 kB / 0.7175 GB, free: 12.99 MB / 0.5763 GB 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.0005934/0.7149, allocations: 339.8 kB / 0.7179 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.7152, allocations: 106.7 kB / 0.718 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005966/0.7212, allocations: 4.442 MB / 0.7223 GB, free: 8.059 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.7213, allocations: 59.91 kB / 0.7224 GB, free: 8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7213, allocations: 3.938 kB / 0.7224 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7213, allocations: 3.984 kB / 0.7224 GB, free: 7.992 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008131/0.7294, allocations: 6.263 MB / 0.7285 GB, free: 1.625 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7295, allocations: 0 / 0.7285 GB, free: 1.625 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.7301, allocations: 147.8 kB / 0.7286 GB, free: 1.48 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.7316, allocations: 0.5304 MB / 0.7291 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.7317, allocations: 24 kB / 0.7292 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.291/1.023, allocations: 1.783 MB / 0.7309 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.023, allocations: 3.703 kB / 0.7309 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/1.029, allocations: 3.948 MB / 0.7348 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/1.03, allocations: 357 kB / 0.7351 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.03, allocations: 43.14 kB / 0.7351 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/1.03, allocations: 44.27 kB / 0.7352 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.03, allocations: 71.88 kB / 0.7353 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/1.031, allocations: 38.91 kB / 0.7353 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009324/1.031, allocations: 0.6611 MB / 0.7359 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.21e-07/1.031, allocations: 0 / 0.7359 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004676/1.036, allocations: 1.451 MB / 0.7374 GB, free: 187.7 MB / 0.5763 GB 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.005489/1.042, allocations: 1.602 MB / 0.7389 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.003004/1.045, allocations: 1.672 MB / 0.7405 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.045, allocations: 0 / 0.7405 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.046, allocations: 1.215 MB / 0.7417 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.048, allocations: 0.5497 MB / 0.7423 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/1.053, allocations: 3.661 MB / 0.7458 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/1.054, allocations: 1.381 MB / 0.7472 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.054, allocations: 106.8 kB / 0.7473 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of SimCode: time 5.91e-07/1.054, allocations: 0 / 0.7473 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.05732/1.111, allocations: 51.97 MB / 0.7981 GB, free: 133.5 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches