Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 111.1 kB / 16.62 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 188.7 kB / 17.61 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 244.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7036/0.7036, allocations: 94.57 MB / 391.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 87.84 kB / 0.5351 GB, free: 4.453 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2779, allocations: 71.84 MB / 0.6053 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04289/0.3208, allocations: 45.3 MB / 0.6495 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3368, allocations: 12.33 MB / 0.6616 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.3381, allocations: 55.62 kB / 0.6616 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.3406, allocations: 1.158 MB / 0.6627 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.3456, allocations: 2.094 MB / 0.6648 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.3487, allocations: 1.186 MB / 0.666 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00386/0.3525, allocations: 2.813 MB / 0.6687 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.3531, allocations: 281.6 kB / 0.669 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.3555, allocations: 1.432 MB / 0.6704 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.3572, allocations: 1.116 MB / 0.6715 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.3575, allocations: 132 kB / 0.6716 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.3607, allocations: 1.186 MB / 0.6727 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.3612, allocations: 438.1 kB / 0.6732 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.3624, allocations: 0.9672 MB / 0.6741 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.3672, allocations: 2.897 MB / 0.6769 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3672, allocations: 4 kB / 0.6769 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3672, allocations: 0 / 0.6769 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.3673, allocations: 0 / 0.6769 GB, free: 6.176 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004952/0.3723, allocations: 2.55 MB / 0.6794 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3723, allocations: 8.031 kB / 0.6794 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.3728, allocations: 239.4 kB / 0.6797 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.375, allocations: 1.364 MB / 0.681 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.3751, allocations: 94.97 kB / 0.6811 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.3753, allocations: 135.9 kB / 0.6812 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.378, allocations: 1.493 MB / 0.6827 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.3781, allocations: 3.938 kB / 0.6827 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.3782, allocations: 56 kB / 0.6827 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3782, allocations: 28 kB / 0.6828 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.381, allocations: 1.556 MB / 0.6843 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/0.3891, allocations: 6.269 MB / 0.6904 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.3914, allocations: 1.199 MB / 0.6916 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3925, allocations: 0.6054 MB / 0.6922 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005829/0.3983, allocations: 4.597 MB / 0.6966 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.3996, allocations: 0.677 MB / 0.6973 GB, free: 15.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 2.916e-06/0.3996, allocations: 0 / 0.6973 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004439/0.4041, allocations: 2.121 MB / 0.6994 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4041, allocations: 76.7 kB / 0.6995 GB, free: 13.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.4058, allocations: 1.297 MB / 0.7007 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.4059, allocations: 49.7 kB / 0.7008 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.4065, allocations: 0.707 MB / 0.7015 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000446/0.407, allocations: 491.7 kB / 0.7019 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.4074, allocations: 250.8 kB / 0.7022 GB, free: 10.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4075, allocations: 349.9 kB / 0.7025 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.4085, allocations: 466.4 kB / 0.7029 GB, free: 10.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.4096, allocations: 0.6201 MB / 0.7036 GB, free: 9.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.4117, allocations: 1.163 MB / 0.7047 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4117, allocations: 4 kB / 0.7047 GB, free: 8.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003097/0.4148, allocations: 1.534 MB / 0.7062 GB, free: 6.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.4149, allocations: 33.7 kB / 0.7062 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4149, allocations: 0 / 0.7062 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.4153, allocations: 113.6 kB / 0.7063 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.4163, allocations: 275.6 kB / 0.7066 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.4194, allocations: 3.235 MB / 0.7098 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.4202, allocations: 123.1 kB / 0.7099 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4204, allocations: 59.97 kB / 0.7099 GB, free: 2.488 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0006628/0.421, allocations: 385.5 kB / 0.7103 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4213, allocations: 190.8 kB / 0.7105 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.4257, allocations: 2.277 MB / 0.7127 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.4257, allocations: 16 kB / 0.7127 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4257, allocations: 7.938 kB / 0.7127 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.4257, allocations: 11.97 kB / 0.7127 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/0.4319, allocations: 3.441 MB / 0.7161 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4319, allocations: 0 / 0.7161 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.4329, allocations: 291.7 kB / 0.7164 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.4332, allocations: 105.6 kB / 0.7165 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.4333, allocations: 51.97 kB / 0.7165 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.4363, allocations: 3.227 MB / 0.7197 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4363, allocations: 0 / 0.7197 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.4408, allocations: 2.394 MB / 0.722 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/0.4415, allocations: 479.2 kB / 0.7225 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.4417, allocations: 36 kB / 0.7225 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.4424, allocations: 43.97 kB / 0.7225 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4426, allocations: 129.1 kB / 0.7227 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.4427, allocations: 59.97 kB / 0.7227 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001252/0.444, allocations: 0.9151 MB / 0.7236 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.444, allocations: 0 / 0.7236 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001514/0.4455, allocations: 0.5925 MB / 0.7242 GB, free: 3.473 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002001/0.4475, allocations: 0.859 MB / 0.725 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.4503, allocations: 1.496 MB / 0.7265 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4503, allocations: 0 / 0.7265 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.4519, allocations: 0.9349 MB / 0.7274 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.454, allocations: 0.4966 MB / 0.7279 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.4596, allocations: 3.209 MB / 0.731 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.4606, allocations: 1.345 MB / 0.7323 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001176/0.4618, allocations: 402.3 kB / 0.7327 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/0.4622, allocations: 195.4 kB / 0.7329 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.4622, allocations: 0 / 0.7329 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.05126/0.5135, allocations: 30.17 MB / 0.7624 GB, free: 12.59 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches