Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 182.7 kB / 16.4 MB, free: 5.75 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.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001259/0.001259, allocations: 89.84 kB / 270.9 MB, free: 8.363 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.523/0.523, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 8 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.4331/0.5647, allocations: 47.98 MB / 0.5256 GB, free: 16.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0689/0.6337, allocations: 26.1 MB / 0.5511 GB, free: 14.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.6362, allocations: 30.66 kB / 0.5511 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.6402, allocations: 0.574 MB / 0.5517 GB, free: 14.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.6647, allocations: 4.554 MB / 0.5561 GB, free: 11.94 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.6797, allocations: 3.201 MB / 0.5592 GB, free: 10.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.6848, allocations: 1.802 MB / 0.561 GB, free: 9.309 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.6868, allocations: 0.6793 MB / 0.5616 GB, free: 9.078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03113/0.718, allocations: 9.541 MB / 0.571 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03598/0.7541, allocations: 11.94 MB / 0.5826 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.7546, allocations: 64 kB / 0.5827 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02608/0.7807, allocations: 8.104 MB / 0.5906 GB, free: 3.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.7816, allocations: 323.1 kB / 0.5909 GB, free: 3.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.7823, allocations: 265.1 kB / 0.5912 GB, free: 3.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.7948, allocations: 4.299 MB / 0.5954 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7948, allocations: 3.938 kB / 0.5954 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7949, allocations: 0 / 0.5954 GB, free: 14.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.7949, allocations: 0 / 0.5954 GB, free: 14.92 MB / 426.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.007979/0.8029, allocations: 2.023 MB / 0.5973 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.803, allocations: 12.03 kB / 0.5973 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007387/0.8104, allocations: 0.6425 MB / 0.598 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.8127, allocations: 0.744 MB / 0.5987 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.8131, allocations: 208.8 kB / 0.5989 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.8135, allocations: 100 kB / 0.599 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.8205, allocations: 1.842 MB / 0.6008 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.8206, allocations: 7.938 kB / 0.6008 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.8208, allocations: 47.95 kB / 0.6008 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-05/0.821, allocations: 48.36 kB / 0.6009 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007509/0.8285, allocations: 1.682 MB / 0.6025 GB, free: 7.32 MB / 426.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.01722/0.8457, allocations: 8.598 MB / 0.6109 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005007/0.8508, allocations: 1.032 MB / 0.6119 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07799/0.9288, allocations: 25.31 MB / 0.6367 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.511e-05/0.929, allocations: 39.2 kB / 0.6367 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008878/0.9299, allocations: 106.9 kB / 0.6368 GB, free: 15.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 4.148e-06/0.9299, allocations: 0 / 0.6368 GB, free: 15.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=78): time 0.0175/0.9474, allocations: 3.564 MB / 0.6403 GB, free: 12.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.9476, allocations: 111.5 kB / 0.6404 GB, free: 12.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.9493, allocations: 0.8486 MB / 0.6412 GB, free: 11.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.9495, allocations: 41.7 kB / 0.6413 GB, free: 11.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/0.9501, allocations: 0.5898 MB / 0.6418 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.9504, allocations: 276.1 kB / 0.6421 GB, free: 10.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.9506, allocations: 24 kB / 0.6421 GB, free: 10.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.9508, allocations: 366.7 kB / 0.6425 GB, free: 9.941 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.9525, allocations: 442.3 kB / 0.6429 GB, free: 9.508 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.9548, allocations: 1.005 MB / 0.6439 GB, free: 8.234 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.9569, allocations: 0.5848 MB / 0.6444 GB, free: 7.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.957, allocations: 4 kB / 0.6444 GB, free: 7.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005945/0.9629, allocations: 1.713 MB / 0.6461 GB, free: 5.918 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.963, allocations: 12 kB / 0.6461 GB, free: 5.906 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.9631, allocations: 20 kB / 0.6461 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/0.9678, allocations: 0.6227 MB / 0.6468 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.9694, allocations: 251.6 kB / 0.647 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.9733, allocations: 1.835 MB / 0.6488 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.9752, allocations: 127.8 kB / 0.6489 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.9755, allocations: 75.98 kB / 0.649 GB, free: 2.926 MB / 474.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,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.000806/0.9763, allocations: 339.8 kB / 0.6493 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.9766, allocations: 110.7 kB / 0.6494 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009801/0.9864, allocations: 4.527 MB / 0.6538 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.285e-05/0.9865, allocations: 55.91 kB / 0.6539 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.9866, allocations: 3.938 kB / 0.6539 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.9866, allocations: 3.984 kB / 0.6539 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.9996, allocations: 6.301 MB / 0.66 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.9997, allocations: 4 kB / 0.6601 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.001, allocations: 167.8 kB / 0.6602 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/1.004, allocations: 0.6833 MB / 0.6609 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.004, allocations: 27.98 kB / 0.6609 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/1.007, allocations: 1.787 MB / 0.6627 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.007, allocations: 0 / 0.6627 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0092/1.016, allocations: 3.994 MB / 0.6666 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.017, allocations: 421.9 kB / 0.667 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/1.018, allocations: 16 kB / 0.667 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.019, allocations: 95.73 kB / 0.6671 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.019, allocations: 76.88 kB / 0.6671 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.019, allocations: 31.98 kB / 0.6672 GB, free: 20 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001461/1.021, allocations: 0.6588 MB / 0.6678 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.42e-07/1.021, allocations: 0 / 0.6678 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005618/1.026, allocations: 1.445 MB / 0.6692 GB, free: 13.9 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008956/1.035, allocations: 1.591 MB / 0.6708 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005198/1.041, allocations: 1.695 MB / 0.6724 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.041, allocations: 3.938 kB / 0.6724 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/1.044, allocations: 1.216 MB / 0.6736 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/1.048, allocations: 499.9 kB / 0.6741 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009484/1.058, allocations: 4.494 MB / 0.6785 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.059, allocations: 1.422 MB / 0.6799 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/1.06, allocations: 103.4 kB / 0.68 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/1.06, allocations: 3.938 kB / 0.68 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of Templates: time 0.429/1.489, allocations: 53.91 MB / 0.7326 GB, free: 139.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches