Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.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/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") [: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 3.2.3+maint.om/package.mo): time 0.002209/0.002209, allocations: 175.1 kB / 7.459 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9603/0.9603, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007485/0.0007485, allocations: 95.88 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4839/0.4839, allocations: 90.34 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.298e-06/4.318e-06, allocations: 0 / 471.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 66.25 MB / 0.5253 GB, free: 29.01 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.6402, allocations: 354.9 MB / 0.8719 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.6404, allocations: 74.28 kB / 0.8719 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.5548/1.195, allocations: 234 MB / 1.1 GB, free: 48.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.921e-05/1.195, allocations: 35.91 kB / 1.101 GB, free: 48.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002705/1.198, allocations: 1.543 MB / 1.102 GB, free: 46.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/1.198, allocations: 12.03 kB / 1.102 GB, free: 46.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/1.198, allocations: 150.1 kB / 1.102 GB, free: 46.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.2, allocations: 0.7393 MB / 1.103 GB, free: 45.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/1.2, allocations: 24 kB / 1.103 GB, free: 45.97 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.2, allocations: 48 kB / 1.103 GB, free: 45.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00103/1.201, allocations: 0.7497 MB / 1.104 GB, free: 45.17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/1.202, allocations: 0.6556 MB / 1.104 GB, free: 44.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.202, allocations: 0 / 1.104 GB, free: 44.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/1.202, allocations: 0 / 1.104 GB, free: 44.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.202, allocations: 20 kB / 1.104 GB, free: 44.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/1.205, allocations: 3.466 MB / 1.108 GB, free: 40.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/1.206, allocations: 375.6 kB / 1.108 GB, free: 40.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/1.206, allocations: 352.7 kB / 1.108 GB, free: 40.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/1.208, allocations: 2.538 MB / 1.111 GB, free: 37.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/1.208, allocations: 39.22 kB / 1.111 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.716e-06/1.208, allocations: 0 / 1.111 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.0018/1.21, allocations: 0.8005 MB / 1.112 GB, free: 36.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/1.21, allocations: 60.06 kB / 1.112 GB, free: 36.23 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:14:3-15:61:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/1.211, allocations: 0.9142 MB / 1.113 GB, free: 35.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/1.211, allocations: 25.7 kB / 1.113 GB, free: 35.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.211, allocations: 340.3 kB / 1.113 GB, free: 34.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.211, allocations: 268 kB / 1.113 GB, free: 34.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/1.211, allocations: 3.938 kB / 1.113 GB, free: 34.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.372e-05/1.212, allocations: 337.9 kB / 1.114 GB, free: 34.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/1.212, allocations: 245.5 kB / 1.114 GB, free: 34.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/1.212, allocations: 316.1 kB / 1.114 GB, free: 33.76 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/1.213, allocations: 284.4 kB / 1.114 GB, free: 33.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.213, allocations: 3.906 kB / 1.114 GB, free: 33.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001624/1.215, allocations: 0.8349 MB / 1.115 GB, free: 32.63 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.215, allocations: 4 kB / 1.115 GB, free: 32.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.215, allocations: 4 kB / 1.115 GB, free: 32.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/1.215, allocations: 97.64 kB / 1.115 GB, free: 32.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/1.216, allocations: 155.8 kB / 1.115 GB, free: 32.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.217, allocations: 2.813 MB / 1.118 GB, free: 29.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/1.218, allocations: 63.47 kB / 1.118 GB, free: 29.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/1.218, allocations: 32.05 kB / 1.118 GB, free: 29.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.218, allocations: 115.1 kB / 1.118 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.218, allocations: 114.5 kB / 1.119 GB, free: 29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/1.22, allocations: 1.055 MB / 1.12 GB, free: 27.94 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.22, allocations: 12 kB / 1.12 GB, free: 27.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.22, allocations: 4 kB / 1.12 GB, free: 27.92 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.22, allocations: 3.984 kB / 1.12 GB, free: 27.92 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/1.223, allocations: 2.021 MB / 1.122 GB, free: 25.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.223, allocations: 3.984 kB / 1.122 GB, free: 25.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/1.224, allocations: 143.8 kB / 1.122 GB, free: 25.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/1.224, allocations: 101.7 kB / 1.122 GB, free: 25.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/1.224, allocations: 19.97 kB / 1.122 GB, free: 25.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.226, allocations: 2.821 MB / 1.125 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.226, allocations: 3.938 kB / 1.125 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002004/1.228, allocations: 1.366 MB / 1.126 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/1.228, allocations: 359.2 kB / 1.126 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.228, allocations: 4 kB / 1.126 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/1.229, allocations: 31.94 kB / 1.126 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/1.229, allocations: 56.69 kB / 1.126 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.229, allocations: 31.97 kB / 1.126 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0006515/1.23, allocations: 0.7106 MB / 1.127 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009931/1.231, allocations: 483 kB / 1.128 GB, free: 19.45 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.232, allocations: 0.9892 MB / 1.128 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.233, allocations: 0.9533 MB / 1.129 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.233, allocations: 0 / 1.129 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/1.234, allocations: 0.6652 MB / 1.13 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.235, allocations: 260.2 kB / 1.13 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/1.238, allocations: 1.665 MB / 1.132 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/1.238, allocations: 1.271 MB / 1.133 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.238, allocations: 0 / 1.133 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of Templates: time 0.1671/1.405, allocations: 20.1 MB / 1.153 GB, free: 165.6 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches