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.001198/0.001198, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 80.11 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 62.47 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2656/0.3807, allocations: 56.99 MB / 0.5259 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03329/0.4141, allocations: 30.75 MB / 0.5559 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.4155, allocations: 27.88 kB / 0.5559 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4174, allocations: 0.6603 MB / 0.5566 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01565/0.4331, allocations: 5.741 MB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.4446, allocations: 3.888 MB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004348/0.4489, allocations: 3.057 MB / 0.5689 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4503, allocations: 0.8188 MB / 0.5697 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.4646, allocations: 6.334 MB / 0.5759 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.48, allocations: 7.443 MB / 0.5832 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.4804, allocations: 116 kB / 0.5833 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/0.496, allocations: 8.394 MB / 0.5915 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005875/0.4966, allocations: 406.8 kB / 0.5919 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.4976, allocations: 0.6729 MB / 0.5925 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.5116, allocations: 6.315 MB / 0.5987 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5116, allocations: 0 / 0.5987 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5116, allocations: 4 kB / 0.5987 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5116, allocations: 0 / 0.5987 GB, free: 14.95 MB / 446.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.005175/0.5168, allocations: 2.245 MB / 0.6009 GB, free: 12.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5169, allocations: 13.11 kB / 0.6009 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.5215, allocations: 0.6277 MB / 0.6015 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.523, allocations: 0.8072 MB / 0.6023 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.5232, allocations: 209.4 kB / 0.6025 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5233, allocations: 96.38 kB / 0.6026 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.5272, allocations: 1.826 MB / 0.6044 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.5272, allocations: 3.938 kB / 0.6044 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.5274, allocations: 48 kB / 0.6044 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/0.5274, allocations: 42 kB / 0.6045 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.5313, allocations: 1.643 MB / 0.6061 GB, free: 7.145 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.009677/0.541, allocations: 8.575 MB / 0.6145 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.544, allocations: 0.989 MB / 0.6154 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.5448, allocations: 422.2 kB / 0.6158 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04362/0.5884, allocations: 27.55 MB / 0.6427 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.5885, allocations: 43.11 kB / 0.6428 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006595/0.5892, allocations: 86.97 kB / 0.6429 GB, free: 12.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.347e-06/0.5892, allocations: 0 / 0.6429 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.009911/0.5991, allocations: 3.454 MB / 0.6462 GB, free: 9.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.5992, allocations: 111.5 kB / 0.6463 GB, free: 8.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6003, allocations: 0.8605 MB / 0.6472 GB, free: 8.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.6004, allocations: 41.7 kB / 0.6472 GB, free: 8.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.6008, allocations: 0.5639 MB / 0.6478 GB, free: 7.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.601, allocations: 280.1 kB / 0.648 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.6013, allocations: 270.6 kB / 0.6483 GB, free: 6.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6015, allocations: 406.7 kB / 0.6487 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008623/0.6024, allocations: 430.4 kB / 0.6491 GB, free: 6.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.6037, allocations: 0.993 MB / 0.6501 GB, free: 4.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.6059, allocations: 1.498 MB / 0.6515 GB, free: 3.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6059, allocations: 8 kB / 0.6515 GB, free: 3.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003242/0.6092, allocations: 1.724 MB / 0.6532 GB, free: 1.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.6092, allocations: 15.98 kB / 0.6532 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.6093, allocations: 20.91 kB / 0.6533 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.6118, allocations: 0.5911 MB / 0.6538 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.6125, allocations: 251.6 kB / 0.6541 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.6146, allocations: 1.831 MB / 0.6559 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.6155, allocations: 63.97 kB / 0.6559 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6156, allocations: 75.98 kB / 0.656 GB, free: 14.4 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.0004931/0.6161, allocations: 339.8 kB / 0.6563 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.6164, allocations: 106.7 kB / 0.6564 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/0.622, allocations: 4.446 MB / 0.6608 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/0.6221, allocations: 63.84 kB / 0.6608 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.6221, allocations: 0 / 0.6608 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6221, allocations: 7.984 kB / 0.6608 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007114/0.6292, allocations: 6.255 MB / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6293, allocations: 0 / 0.6669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.6298, allocations: 151.8 kB / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.6313, allocations: 0.5343 MB / 0.6676 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.6314, allocations: 24 kB / 0.6676 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.6329, allocations: 1.788 MB / 0.6694 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6329, allocations: 0 / 0.6694 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.6378, allocations: 3.957 MB / 0.6732 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.6384, allocations: 358.2 kB / 0.6736 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6386, allocations: 31.75 kB / 0.6736 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.6392, allocations: 47.95 kB / 0.6737 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6393, allocations: 68.91 kB / 0.6737 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.6394, allocations: 39.97 kB / 0.6738 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008193/0.6402, allocations: 0.6588 MB / 0.6744 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6402, allocations: 0 / 0.6744 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003715/0.6439, allocations: 1.456 MB / 0.6758 GB, free: 9.797 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.00474/0.6487, allocations: 1.59 MB / 0.6774 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002871/0.6516, allocations: 1.671 MB / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6516, allocations: 4 kB / 0.679 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.6532, allocations: 1.212 MB / 0.6802 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6555, allocations: 0.5529 MB / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.6603, allocations: 3.594 MB / 0.6842 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008887/0.6612, allocations: 1.387 MB / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6624, allocations: 0.5928 MB / 0.6862 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.6626, allocations: 99.42 kB / 0.6863 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.6626, allocations: 4 kB / 0.6863 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.2527/0.9153, allocations: 59.99 MB / 0.7449 GB, free: 195.7 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 -s cvode -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