Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8452/0.8452, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4832/0.4832, allocations: 80.18 MB / 340.1 MB, free: 7.551 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_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_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.051e-05, allocations: 6.219 kB / 0.4936 GB, free: 6.324 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.0251/0.02512, allocations: 42.01 MB / 0.5346 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009926/0.03505, allocations: 11.48 MB / 0.5458 GB, free: 2.324 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.03588, allocations: 79.31 kB / 0.5459 GB, free: 2.246 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.03728, allocations: 1.107 MB / 0.547 GB, free: 1.133 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.04016, allocations: 2.298 MB / 0.5492 GB, free: 14.82 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.04187, allocations: 1.229 MB / 0.5504 GB, free: 13.59 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.04397, allocations: 3.128 MB / 0.5535 GB, free: 10.45 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.0443, allocations: 274.2 kB / 0.5538 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.0458, allocations: 1.932 MB / 0.5556 GB, free: 8.207 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.04648, allocations: 0.9229 MB / 0.5565 GB, free: 7.281 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.0466, allocations: 136 kB / 0.5567 GB, free: 7.148 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.048, allocations: 1.052 MB / 0.5577 GB, free: 6.094 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.04823, allocations: 442.1 kB / 0.5581 GB, free: 5.66 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.04865, allocations: 0.6662 MB / 0.5588 GB, free: 4.992 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.05105, allocations: 2.928 MB / 0.5616 GB, free: 2.055 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.05105, allocations: 0 / 0.5616 GB, free: 2.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.05105, allocations: 4 kB / 0.5616 GB, free: 2.051 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.05107, allocations: 0 / 0.5616 GB, free: 2.051 MB / 474.7 MB 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.002361/0.05343, allocations: 2.471 MB / 0.5641 GB, free: 15.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.05346, allocations: 8.031 kB / 0.5641 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.05386, allocations: 283.3 kB / 0.5643 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.05518, allocations: 1.268 MB / 0.5656 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.05522, allocations: 98.97 kB / 0.5657 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.05534, allocations: 132.4 kB / 0.5658 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.05702, allocations: 1.548 MB / 0.5673 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.05704, allocations: 3.938 kB / 0.5673 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.05711, allocations: 56 kB / 0.5674 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.05713, allocations: 32 kB / 0.5674 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.05866, allocations: 1.583 MB / 0.5689 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.06215, allocations: 3.615 MB / 0.5725 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.06375, allocations: 1.212 MB / 0.5737 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006123/0.06436, allocations: 0.6094 MB / 0.5742 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002289/0.06665, allocations: 1.97 MB / 0.5762 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007904/0.06744, allocations: 0.7869 MB / 0.5769 GB, free: 2.105 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 2.846e-06/0.06745, allocations: 4 kB / 0.5769 GB, free: 2.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.00241/0.06986, allocations: 1.939 MB / 0.5788 GB, free: 156 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.06992, allocations: 132.2 kB / 0.579 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.07108, allocations: 1.247 MB / 0.5802 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.07113, allocations: 53.7 kB / 0.5802 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.07147, allocations: 0.7261 MB / 0.5809 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.0717, allocations: 491.7 kB / 0.5814 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.07191, allocations: 246.8 kB / 0.5816 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.072, allocations: 353.9 kB / 0.582 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.07253, allocations: 488 kB / 0.5824 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.07316, allocations: 0.6971 MB / 0.5831 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.07438, allocations: 1.165 MB / 0.5843 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.07438, allocations: 0 / 0.5843 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001658/0.07604, allocations: 1.555 MB / 0.5858 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.07607, allocations: 33.7 kB / 0.5858 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.07608, allocations: 4 kB / 0.5858 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.07632, allocations: 101.6 kB / 0.5859 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.0768, allocations: 275.6 kB / 0.5862 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.07868, allocations: 2.96 MB / 0.5891 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.07901, allocations: 115.3 kB / 0.5892 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.07908, allocations: 55.98 kB / 0.5892 GB, free: 5.062 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0003789/0.07945, allocations: 385.5 kB / 0.5896 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.07961, allocations: 186.8 kB / 0.5898 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.08192, allocations: 2.102 MB / 0.5918 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.08192, allocations: 16 kB / 0.5918 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.08193, allocations: 4 kB / 0.5919 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.08194, allocations: 7.969 kB / 0.5919 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.08515, allocations: 2.939 MB / 0.5947 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.08516, allocations: 3.938 kB / 0.5947 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.08561, allocations: 267.6 kB / 0.595 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.08579, allocations: 117.7 kB / 0.5951 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.08585, allocations: 51.91 kB / 0.5951 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.08728, allocations: 2.967 MB / 0.598 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.08728, allocations: 3.938 kB / 0.5981 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.0896, allocations: 2.302 MB / 0.6003 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.08998, allocations: 388.2 kB / 0.6007 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.09007, allocations: 39.88 kB / 0.6007 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.09037, allocations: 43.97 kB / 0.6007 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.0905, allocations: 117.1 kB / 0.6009 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.09055, allocations: 55.97 kB / 0.6009 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009252/0.09148, allocations: 0.8785 MB / 0.6018 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.09148, allocations: 4.062 kB / 0.6018 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008924/0.09237, allocations: 0.5965 MB / 0.6024 GB, free: 7.344 MB / 0.5105 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 (149): * Single equations (assignments): 145 * 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.001042/0.09341, allocations: 0.8352 MB / 0.6032 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.09496, allocations: 1.505 MB / 0.6046 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.09496, allocations: 4.875 kB / 0.6046 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.09576, allocations: 0.903 MB / 0.6055 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.09711, allocations: 0.6151 MB / 0.6061 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.1013, allocations: 3.485 MB / 0.6095 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.1018, allocations: 0.7632 MB / 0.6103 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.1021, allocations: 204.4 kB / 0.6105 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.1021, allocations: 7.938 kB / 0.6105 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.2098/0.3119, allocations: 42.89 MB / 0.6524 GB, free: 136.5 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.358445002697408]