Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5652/0.5652, allocations: 94.59 MB / 399.6 MB, free: 15.86 MB / 334.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 87.86 kB / 0.5452 GB, free: 12.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3393, allocations: 71.84 MB / 0.6154 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0375/0.3768, allocations: 37.32 MB / 0.6518 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.3945, allocations: 14.95 MB / 0.6664 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3957, allocations: 47.28 kB / 0.6664 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.3978, allocations: 0.9563 MB / 0.6674 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.4014, allocations: 1.339 MB / 0.6687 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.4042, allocations: 1.026 MB / 0.6697 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002683/0.4069, allocations: 1.932 MB / 0.6716 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.4073, allocations: 222.7 kB / 0.6718 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.409, allocations: 1.048 MB / 0.6728 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008693/0.4099, allocations: 0.7051 MB / 0.6735 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.4101, allocations: 93.59 kB / 0.6736 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.4125, allocations: 0.8776 MB / 0.6744 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.4129, allocations: 332.3 kB / 0.6748 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.4136, allocations: 0.7181 MB / 0.6755 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.4171, allocations: 2.116 MB / 0.6775 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4171, allocations: 0 / 0.6775 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4171, allocations: 0 / 0.6775 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.4171, allocations: 0 / 0.6775 GB, free: 5.395 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003389/0.4205, allocations: 2.089 MB / 0.6796 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4206, allocations: 8.031 kB / 0.6796 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.4209, allocations: 199.1 kB / 0.6798 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.4228, allocations: 1.222 MB / 0.681 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.4228, allocations: 62 kB / 0.681 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.423, allocations: 83.95 kB / 0.6811 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4244, allocations: 0.8532 MB / 0.6819 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4244, allocations: 0 / 0.6819 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.4245, allocations: 32 kB / 0.682 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.4245, allocations: 27.94 kB / 0.682 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4259, allocations: 0.7926 MB / 0.6828 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.4306, allocations: 3.603 MB / 0.6863 GB, free: 11.99 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4316, allocations: 0.5748 MB / 0.6868 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.4321, allocations: 298.7 kB / 0.6871 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003626/0.4357, allocations: 3.408 MB / 0.6905 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4358, allocations: 43.22 kB / 0.6905 GB, free: 7.113 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.4358, allocations: 0 / 0.6905 GB, free: 7.113 MB / 0.5138 GB Notification: Performance of matching and sorting (n=73): time 0.002629/0.4384, allocations: 1.239 MB / 0.6917 GB, free: 5.828 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4385, allocations: 64 kB / 0.6918 GB, free: 5.754 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.4402, allocations: 1.331 MB / 0.6931 GB, free: 4.41 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.4402, allocations: 37.7 kB / 0.6931 GB, free: 4.367 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.4408, allocations: 0.6283 MB / 0.6937 GB, free: 3.73 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.441, allocations: 261.7 kB / 0.694 GB, free: 3.473 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.4412, allocations: 146.5 kB / 0.6941 GB, free: 3.32 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4413, allocations: 330 kB / 0.6944 GB, free: 2.992 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.4418, allocations: 209.9 kB / 0.6946 GB, free: 2.789 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.4423, allocations: 310.3 kB / 0.6949 GB, free: 2.457 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.4433, allocations: 0.5459 MB / 0.6955 GB, free: 1.891 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4433, allocations: 0 / 0.6955 GB, free: 1.891 MB / 0.5138 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001623/0.4449, allocations: 0.8337 MB / 0.6963 GB, free: 1.043 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4449, allocations: 19.8 kB / 0.6963 GB, free: 1.023 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4449, allocations: 0 / 0.6963 GB, free: 1.023 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.4454, allocations: 109.8 kB / 0.6964 GB, free: 0.9102 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.4459, allocations: 139.8 kB / 0.6965 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.4489, allocations: 3.216 MB / 0.6997 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.4495, allocations: 63.5 kB / 0.6997 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.4496, allocations: 28 kB / 0.6998 GB, free: 13.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005388/0.4501, allocations: 329.5 kB / 0.7001 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4504, allocations: 158.9 kB / 0.7002 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.4525, allocations: 1.131 MB / 0.7013 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4525, allocations: 8 kB / 0.7013 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4525, allocations: 4 kB / 0.7013 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.4525, allocations: 3.984 kB / 0.7013 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.4557, allocations: 2.003 MB / 0.7033 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.4557, allocations: 12.05 kB / 0.7033 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4562, allocations: 123.8 kB / 0.7034 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.4566, allocations: 109.5 kB / 0.7035 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.4566, allocations: 23.98 kB / 0.7035 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.4595, allocations: 3.216 MB / 0.7067 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4595, allocations: 0 / 0.7067 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.4617, allocations: 1.237 MB / 0.7079 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.4623, allocations: 347.7 kB / 0.7082 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.4625, allocations: 20 kB / 0.7082 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.463, allocations: 19.98 kB / 0.7083 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.4632, allocations: 64.58 kB / 0.7083 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.4632, allocations: 31.92 kB / 0.7084 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001408/0.4646, allocations: 0.9423 MB / 0.7093 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4646, allocations: 0 / 0.7093 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00117/0.4658, allocations: 426.9 kB / 0.7097 GB, free: 2.551 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.4677, allocations: 0.754 MB / 0.7104 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.4694, allocations: 0.7917 MB / 0.7112 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4694, allocations: 0 / 0.7112 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.4703, allocations: 0.5444 MB / 0.7117 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.4719, allocations: 411.7 kB / 0.7121 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.4764, allocations: 2.538 MB / 0.7146 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/0.4773, allocations: 1.204 MB / 0.7158 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4777, allocations: 135.4 kB / 0.7159 GB, free: 12.2 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.4777, allocations: 0 / 0.7159 GB, free: 12.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0424/0.5201, allocations: 31.88 MB / 0.747 GB, free: 12.35 MB / 0.5763 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches