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.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.0008197/0.0008197, 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.0007889/0.0007889, 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.8341/0.8341, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6042/0.6042, allocations: 116 MB / 376 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.365e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.02679/0.02681, allocations: 42.01 MB / 0.5955 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009919/0.03673, allocations: 11.48 MB / 0.6067 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.03758, allocations: 83.25 kB / 0.6068 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.03904, allocations: 1.103 MB / 0.6079 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.04238, allocations: 2.302 MB / 0.6101 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.04439, allocations: 1.225 MB / 0.6113 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.04668, allocations: 3.138 MB / 0.6144 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.04703, allocations: 274.2 kB / 0.6146 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.04859, allocations: 1.928 MB / 0.6165 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.04931, allocations: 0.923 MB / 0.6174 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.04944, allocations: 136 kB / 0.6176 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.05127, allocations: 1.052 MB / 0.6186 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.05154, allocations: 438.1 kB / 0.619 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007658/0.05231, allocations: 0.6623 MB / 0.6197 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.05467, allocations: 2.944 MB / 0.6225 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.05467, allocations: 0 / 0.6225 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.405e-06/0.05467, allocations: 0 / 0.6225 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.05469, allocations: 0 / 0.6225 GB, free: 6.875 MB / 0.5417 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.002463/0.05715, allocations: 2.478 MB / 0.625 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.05719, allocations: 8.031 kB / 0.625 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.05758, allocations: 279.4 kB / 0.6252 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.05891, allocations: 1.256 MB / 0.6265 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.05897, allocations: 111 kB / 0.6266 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.05933, allocations: 132.3 kB / 0.6267 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.06079, allocations: 1.552 MB / 0.6282 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.06081, allocations: 3.938 kB / 0.6282 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.06088, allocations: 52 kB / 0.6283 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.0609, allocations: 28 kB / 0.6283 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.06248, allocations: 1.583 MB / 0.6298 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.06607, allocations: 3.604 MB / 0.6333 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.06766, allocations: 1.219 MB / 0.6345 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.06828, allocations: 0.605 MB / 0.6351 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.07061, allocations: 1.989 MB / 0.6371 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007994/0.07141, allocations: 0.7869 MB / 0.6378 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=139): time 2.354e-06/0.07142, allocations: 0 / 0.6378 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=139): time 0.00241/0.07383, allocations: 1.943 MB / 0.6397 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.07388, allocations: 128.1 kB / 0.6399 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.07504, allocations: 1.255 MB / 0.6411 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.07509, allocations: 45.7 kB / 0.6411 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.07545, allocations: 0.7223 MB / 0.6418 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.07568, allocations: 499.5 kB / 0.6423 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.0759, allocations: 246.8 kB / 0.6425 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.07598, allocations: 353.9 kB / 0.6429 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.07653, allocations: 484.1 kB / 0.6433 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.07717, allocations: 0.6971 MB / 0.644 GB, free: 432 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2374/0.3145, allocations: 1.153 MB / 0.6451 GB, free: 94.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.3145, allocations: 2.094 kB / 0.6452 GB, free: 94.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002026/0.3166, allocations: 1.552 MB / 0.6467 GB, free: 94.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.3166, allocations: 38.75 kB / 0.6467 GB, free: 94.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3166, allocations: 3.781 kB / 0.6467 GB, free: 94.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.3169, allocations: 103.2 kB / 0.6468 GB, free: 94.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.3174, allocations: 275.9 kB / 0.6471 GB, free: 94.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.3188, allocations: 2.956 MB / 0.65 GB, free: 91.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.3192, allocations: 110.5 kB / 0.6501 GB, free: 91.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/0.3193, allocations: 61.14 kB / 0.6501 GB, free: 91.57 MB / 0.5573 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.0004959/0.3198, allocations: 381.5 kB / 0.6505 GB, free: 91.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3199, allocations: 187.2 kB / 0.6507 GB, free: 91.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.322, allocations: 2.11 MB / 0.6527 GB, free: 90.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.322, allocations: 14.75 kB / 0.6527 GB, free: 90.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.322, allocations: 6.875 kB / 0.6527 GB, free: 90.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.322, allocations: 6.656 kB / 0.6527 GB, free: 90.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3247, allocations: 2.941 MB / 0.6556 GB, free: 89.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3247, allocations: 0 / 0.6556 GB, free: 89.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.3251, allocations: 271.4 kB / 0.6559 GB, free: 89.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.3253, allocations: 109.5 kB / 0.656 GB, free: 89.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.3254, allocations: 46.77 kB / 0.656 GB, free: 89.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.3264, allocations: 2.956 MB / 0.6589 GB, free: 86.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3264, allocations: 2.625 kB / 0.6589 GB, free: 86.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3286, allocations: 2.303 MB / 0.6612 GB, free: 85.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.329, allocations: 393.5 kB / 0.6615 GB, free: 85.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.3291, allocations: 36.94 kB / 0.6616 GB, free: 85.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3294, allocations: 48.52 kB / 0.6616 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.3295, allocations: 122.9 kB / 0.6617 GB, free: 85.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.3296, allocations: 59.91 kB / 0.6618 GB, free: 85.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007719/0.3304, allocations: 0.8792 MB / 0.6627 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3304, allocations: 0.7812 kB / 0.6627 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001137/0.3315, allocations: 0.5949 MB / 0.6632 GB, free: 84.58 MB / 0.5573 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.001147/0.3327, allocations: 0.8358 MB / 0.6641 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.3343, allocations: 1.506 MB / 0.6655 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3343, allocations: 1.062 kB / 0.6655 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.3351, allocations: 0.9035 MB / 0.6664 GB, free: 83.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.3365, allocations: 0.613 MB / 0.667 GB, free: 83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.3405, allocations: 3.482 MB / 0.6704 GB, free: 81.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.3411, allocations: 0.768 MB / 0.6712 GB, free: 81.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.3415, allocations: 198.8 kB / 0.6713 GB, free: 81.19 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.3415, allocations: 0 / 0.6713 GB, free: 81.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.02307/0.3645, allocations: 42.83 MB / 0.7132 GB, free: 44.96 MB / 0.5573 GB " [Timeout remaining time 660] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5834530564025044]