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] 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.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008672/0.008672, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.002242/0.002242, allocations: 199.1 kB / 16.68 MB, free: 5.973 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8168/0.8168, allocations: 93.7 MB / 384.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 83.86 kB / 0.5204 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3517, allocations: 68.26 MB / 0.5871 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03884/0.3906, allocations: 37.01 MB / 0.6232 GB, free: 5.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4103, allocations: 14.88 MB / 0.6378 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.4119, allocations: 47.69 kB / 0.6378 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.4142, allocations: 0.9523 MB / 0.6387 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.4179, allocations: 1.313 MB / 0.64 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.421, allocations: 1.03 MB / 0.641 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.4238, allocations: 1.922 MB / 0.6429 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.4245, allocations: 336.6 kB / 0.6432 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.4264, allocations: 0.9496 MB / 0.6441 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.4275, allocations: 0.6957 MB / 0.6448 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.4276, allocations: 88 kB / 0.6449 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.4303, allocations: 0.8624 MB / 0.6458 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.4307, allocations: 326.6 kB / 0.6461 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008467/0.4315, allocations: 0.726 MB / 0.6468 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.4356, allocations: 2.108 MB / 0.6488 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4356, allocations: 0 / 0.6488 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4357, allocations: 0 / 0.6488 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.4357, allocations: 4 kB / 0.6488 GB, free: 10.8 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.003843/0.4395, allocations: 2.086 MB / 0.6509 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4396, allocations: 8.031 kB / 0.6509 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.4399, allocations: 195.1 kB / 0.6511 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.4421, allocations: 1.222 MB / 0.6523 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.4422, allocations: 62 kB / 0.6523 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4423, allocations: 87.89 kB / 0.6524 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.4438, allocations: 0.861 MB / 0.6532 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.4439, allocations: 0 / 0.6532 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.4439, allocations: 36 kB / 0.6533 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.444, allocations: 23.92 kB / 0.6533 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4454, allocations: 0.7886 MB / 0.6541 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.4505, allocations: 3.599 MB / 0.6576 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.4517, allocations: 0.6237 MB / 0.6582 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.4523, allocations: 338.7 kB / 0.6585 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004004/0.4563, allocations: 3.404 MB / 0.6618 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4563, allocations: 47.22 kB / 0.6619 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.385e-06/0.4563, allocations: 0 / 0.6619 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.002799/0.4592, allocations: 1.239 MB / 0.6631 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.4592, allocations: 68 kB / 0.6632 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.461, allocations: 1.328 MB / 0.6645 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.4611, allocations: 41.7 kB / 0.6645 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.4617, allocations: 0.6205 MB / 0.6651 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.4619, allocations: 261.7 kB / 0.6654 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.4621, allocations: 146.6 kB / 0.6655 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4623, allocations: 326 kB / 0.6658 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.4627, allocations: 221.8 kB / 0.666 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.4633, allocations: 314.2 kB / 0.6663 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4643, allocations: 0.542 MB / 0.6668 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4643, allocations: 0 / 0.6668 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001736/0.4661, allocations: 0.8336 MB / 0.6677 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4661, allocations: 11.94 kB / 0.6677 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.4661, allocations: 0 / 0.6677 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.4667, allocations: 117.8 kB / 0.6678 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.4672, allocations: 139.8 kB / 0.6679 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.4707, allocations: 3.208 MB / 0.671 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.4714, allocations: 67.53 kB / 0.6711 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.4715, allocations: 31.98 kB / 0.6711 GB, free: 2.504 MB / 0.5137 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.0006021/0.4721, allocations: 322.5 kB / 0.6715 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.4723, allocations: 170.8 kB / 0.6716 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.4748, allocations: 1.137 MB / 0.6727 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.4748, allocations: 7.938 kB / 0.6727 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4748, allocations: 4.188 kB / 0.6727 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4748, allocations: 3.984 kB / 0.6727 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.4784, allocations: 2.007 MB / 0.6747 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4785, allocations: 3.938 kB / 0.6747 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.4789, allocations: 119.9 kB / 0.6748 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.4794, allocations: 121.7 kB / 0.6749 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.4795, allocations: 27.92 kB / 0.675 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.4831, allocations: 3.212 MB / 0.6781 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4831, allocations: 3.938 kB / 0.6781 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.486, allocations: 1.233 MB / 0.6793 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.4867, allocations: 343.9 kB / 0.6796 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.4869, allocations: 23.94 kB / 0.6797 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.4874, allocations: 27.98 kB / 0.6797 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4875, allocations: 52.58 kB / 0.6797 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.4876, allocations: 31.92 kB / 0.6798 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001543/0.4892, allocations: 0.9384 MB / 0.6807 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4892, allocations: 0 / 0.6807 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001236/0.4904, allocations: 435 kB / 0.6811 GB, free: 7.855 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.002001/0.4924, allocations: 0.7543 MB / 0.6818 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.4942, allocations: 0.8307 MB / 0.6826 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4943, allocations: 384 / 0.6826 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.4952, allocations: 0.575 MB / 0.6832 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.4972, allocations: 403.1 kB / 0.6836 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.5019, allocations: 2.481 MB / 0.686 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.503, allocations: 1.208 MB / 0.6872 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00102/0.504, allocations: 249.7 kB / 0.6874 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.5043, allocations: 123.4 kB / 0.6875 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5044, allocations: 0 / 0.6875 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Templates: time 0.04341/0.5478, allocations: 21.42 MB / 0.7085 GB, free: 12 MB / 0.5606 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches