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.001139/0.001139, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 76.25 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1344, allocations: 62.45 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3135/0.4479, allocations: 57.54 MB / 0.5244 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03263/0.4806, allocations: 30.87 MB / 0.5546 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.4825, allocations: 38.81 kB / 0.5546 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.4845, allocations: 0.5972 MB / 0.5552 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01855/0.503, allocations: 5.136 MB / 0.5602 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.5135, allocations: 3.557 MB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00389/0.5174, allocations: 3.065 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.5188, allocations: 0.8092 MB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.5316, allocations: 6.326 MB / 0.5737 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01347/0.5451, allocations: 7.489 MB / 0.581 GB, free: 84 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.5456, allocations: 116 kB / 0.5811 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/0.5619, allocations: 8.285 MB / 0.5892 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008127/0.5627, allocations: 414.8 kB / 0.5896 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.5643, allocations: 0.6884 MB / 0.5903 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.5807, allocations: 6.322 MB / 0.5964 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5808, allocations: 0 / 0.5964 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5808, allocations: 0 / 0.5964 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.481e-05/0.5808, allocations: 0 / 0.5964 GB, free: 248 kB / 430.1 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.006337/0.5872, allocations: 2.249 MB / 0.5986 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5872, allocations: 13.09 kB / 0.5986 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.5922, allocations: 0.6286 MB / 0.5992 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5937, allocations: 0.7682 MB / 0.6 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.5939, allocations: 213.3 kB / 0.6002 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.5941, allocations: 104.3 kB / 0.6003 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.5985, allocations: 1.818 MB / 0.6021 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.5986, allocations: 11.94 kB / 0.6021 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5987, allocations: 47.98 kB / 0.6021 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.5988, allocations: 45.98 kB / 0.6022 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.603, allocations: 1.635 MB / 0.6038 GB, free: 8.461 MB / 446.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.01048/0.6135, allocations: 8.574 MB / 0.6121 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.6165, allocations: 0.9859 MB / 0.6131 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.6174, allocations: 418.3 kB / 0.6135 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04571/0.6631, allocations: 27.49 MB / 0.6404 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.6632, allocations: 43.12 kB / 0.6404 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007801/0.664, allocations: 106.9 kB / 0.6405 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 4.388e-06/0.664, allocations: 4 kB / 0.6405 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01161/0.6756, allocations: 3.462 MB / 0.6439 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.6758, allocations: 115.5 kB / 0.644 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.6773, allocations: 0.8449 MB / 0.6448 GB, free: 9.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.6774, allocations: 45.69 kB / 0.6449 GB, free: 9.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.6779, allocations: 0.564 MB / 0.6454 GB, free: 8.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.6782, allocations: 288 kB / 0.6457 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.6786, allocations: 274.5 kB / 0.646 GB, free: 8.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.6789, allocations: 410.7 kB / 0.6463 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.6798, allocations: 422.4 kB / 0.6467 GB, free: 7.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6812, allocations: 1.001 MB / 0.6477 GB, free: 6.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.6837, allocations: 1.494 MB / 0.6492 GB, free: 4.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.6838, allocations: 4 kB / 0.6492 GB, free: 4.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003685/0.6874, allocations: 1.728 MB / 0.6509 GB, free: 2.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6875, allocations: 12 kB / 0.6509 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.6875, allocations: 23.98 kB / 0.6509 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.6902, allocations: 0.5997 MB / 0.6515 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.691, allocations: 243.6 kB / 0.6517 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.6934, allocations: 1.827 MB / 0.6535 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6946, allocations: 115.8 kB / 0.6536 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6948, allocations: 75.98 kB / 0.6537 GB, free: 15.71 MB / 0.4981 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.0005932/0.6954, allocations: 343.5 kB / 0.654 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.6957, allocations: 114.6 kB / 0.6541 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.7016, allocations: 4.448 MB / 0.6585 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.7017, allocations: 67.83 kB / 0.6585 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7017, allocations: 0 / 0.6585 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7017, allocations: 3.984 kB / 0.6585 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/0.7102, allocations: 6.262 MB / 0.6647 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7103, allocations: 0 / 0.6647 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.7109, allocations: 143.8 kB / 0.6648 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.7126, allocations: 0.5305 MB / 0.6653 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.478e-05/0.7127, allocations: 23.98 kB / 0.6653 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.7145, allocations: 1.8 MB / 0.6671 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7145, allocations: 4 kB / 0.6671 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/0.72, allocations: 3.951 MB / 0.671 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.7207, allocations: 362.2 kB / 0.6713 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.721, allocations: 31.75 kB / 0.6713 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.7219, allocations: 79.78 kB / 0.6714 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.7221, allocations: 76.89 kB / 0.6715 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.7222, allocations: 31.98 kB / 0.6715 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001045/0.7232, allocations: 0.6666 MB / 0.6722 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7233, allocations: 0 / 0.6722 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004922/0.7282, allocations: 1.456 MB / 0.6736 GB, free: 11.04 MB / 0.5137 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.006405/0.7346, allocations: 1.591 MB / 0.6751 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004932/0.7395, allocations: 1.796 MB / 0.6769 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7396, allocations: 0 / 0.6769 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.7414, allocations: 1.212 MB / 0.6781 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.7442, allocations: 0.5525 MB / 0.6786 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.7499, allocations: 4.421 MB / 0.6829 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.7508, allocations: 1.387 MB / 0.6843 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001334/0.7522, allocations: 0.5909 MB / 0.6849 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.7524, allocations: 107.4 kB / 0.685 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.7524, allocations: 0 / 0.685 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of Templates: time 0.282/1.034, allocations: 59.94 MB / 0.7435 GB, free: 196.1 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches