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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 200.1 kB / 8.536 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009806/0.0009806, allocations: 88.17 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 45.13 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.595e-06/7.625e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.62/5.754, allocations: 2.793 GB / 3.296 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/5.754, allocations: 80.47 kB / 3.296 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.531/8.285, allocations: 0.658 GB / 3.954 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001621/8.285, allocations: 31.12 kB / 3.954 GB, free: 46.8 MB / 0.5417 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.01289/8.298, allocations: 2.413 MB / 3.957 GB, free: 45.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/8.298, allocations: 9.219 kB / 3.957 GB, free: 45.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/8.306, allocations: 0.694 MB / 3.958 GB, free: 45.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004762/8.311, allocations: 0.8397 MB / 3.958 GB, free: 44.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/8.311, allocations: 176.9 kB / 3.959 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008918/8.312, allocations: 57.31 kB / 3.959 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004228/8.317, allocations: 1.171 MB / 3.96 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/8.321, allocations: 1.384 MB / 3.961 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/8.321, allocations: 10.06 kB / 3.961 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/8.321, allocations: 9.531 kB / 3.961 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-05/8.321, allocations: 44.09 kB / 3.961 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08295/8.404, allocations: 46.07 MB / 4.006 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/8.405, allocations: 381.3 kB / 4.006 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/8.405, allocations: 332 kB / 4.007 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4287/8.834, allocations: 27.56 MB / 4.034 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/8.834, allocations: 47.12 kB / 4.034 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=64): time 4.058e-06/8.834, allocations: 0 / 4.034 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.01056/8.845, allocations: 2.889 MB / 4.037 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/8.845, allocations: 115.8 kB / 4.037 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/8.846, allocations: 0.6592 MB / 4.037 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/8.846, allocations: 25.7 kB / 4.037 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/8.846, allocations: 0.514 MB / 4.038 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/8.846, allocations: 248.7 kB / 4.038 GB, free: 103 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/8.846, allocations: 0 / 4.038 GB, free: 103 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000143/8.847, allocations: 404.4 kB / 4.038 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/8.847, allocations: 394.2 kB / 4.039 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008215/8.848, allocations: 0.9507 MB / 4.04 GB, free: 102 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/8.85, allocations: 0.6778 MB / 4.04 GB, free: 102 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/8.85, allocations: 9.281 kB / 4.04 GB, free: 102 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005019/8.855, allocations: 2.058 MB / 4.042 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/8.855, allocations: 7.562 kB / 4.042 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/8.855, allocations: 18.47 kB / 4.042 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/8.857, allocations: 479.3 kB / 4.043 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/8.857, allocations: 263 kB / 4.043 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/8.86, allocations: 1.971 MB / 4.045 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/8.861, allocations: 123.3 kB / 4.045 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/8.861, allocations: 84.17 kB / 4.045 GB, free: 100.8 MB / 0.5573 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 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete 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.0002772/8.862, allocations: 160.1 kB / 4.045 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/8.863, allocations: 428.1 kB / 4.046 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005322/8.868, allocations: 4.076 MB / 4.05 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.827e-05/8.868, allocations: 46.06 kB / 4.05 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/8.868, allocations: 1.844 kB / 4.05 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/8.868, allocations: 3.469 kB / 4.05 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/8.875, allocations: 5.53 MB / 4.055 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/8.875, allocations: 5.203 kB / 4.055 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/8.876, allocations: 137 kB / 4.055 GB, free: 99.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/8.877, allocations: 0.6351 MB / 4.056 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/8.877, allocations: 21.25 kB / 4.056 GB, free: 99.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/8.879, allocations: 1.88 MB / 4.058 GB, free: 98.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/8.879, allocations: 3.5 kB / 4.058 GB, free: 98.75 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006225/8.885, allocations: 4.217 MB / 4.062 GB, free: 98.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008996/8.886, allocations: 339.2 kB / 4.062 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/8.886, allocations: 6.531 kB / 4.062 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/8.887, allocations: 78.33 kB / 4.062 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/8.887, allocations: 68.14 kB / 4.063 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/8.887, allocations: 42 kB / 4.063 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0008678/8.888, allocations: 478 kB / 4.063 GB, free: 98.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009555/8.898, allocations: 1.502 MB / 4.064 GB, free: 98.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 27 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.01382/8.912, allocations: 2.386 MB / 4.067 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003833/8.916, allocations: 1.99 MB / 4.069 GB, free: 97.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/8.916, allocations: 0.8125 kB / 4.069 GB, free: 97.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/8.918, allocations: 1.68 MB / 4.07 GB, free: 97.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/8.921, allocations: 370.1 kB / 4.071 GB, free: 97.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/8.927, allocations: 2.907 MB / 4.074 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/8.93, allocations: 1.436 MB / 4.075 GB, free: 96.63 MB / 0.5573 GB Notification: Performance of SimCode: time 2.554e-06/8.93, allocations: 0 / 4.075 GB, free: 96.63 MB / 0.5573 GB Notification: Performance of Templates: time 0.08986/9.019, allocations: 52.45 MB / 4.126 GB, free: 94.85 MB / 0.5573 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches