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.001928/0.001928, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002348/0.002348, allocations: 216.2 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.75/0.75, allocations: 94.55 MB / 407 MB, free: 9.176 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 90.88 kB / 0.5554 GB, free: 38.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1314, allocations: 73.04 MB / 0.6268 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05388/0.1853, allocations: 45.89 MB / 0.6716 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.2037, allocations: 12.5 MB / 0.6838 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.2059, allocations: 83.25 kB / 0.6839 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.209, allocations: 1.158 MB / 0.685 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.2153, allocations: 2.152 MB / 0.6871 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.219, allocations: 1.211 MB / 0.6883 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004606/0.2236, allocations: 2.86 MB / 0.6911 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.2243, allocations: 302 kB / 0.6914 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.2272, allocations: 1.456 MB / 0.6928 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2291, allocations: 1.124 MB / 0.6939 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.2295, allocations: 136 kB / 0.694 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.2332, allocations: 1.217 MB / 0.6952 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.2338, allocations: 442.1 kB / 0.6956 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.2351, allocations: 0.9633 MB / 0.6966 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.2405, allocations: 2.918 MB / 0.6994 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2405, allocations: 4 kB / 0.6994 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2405, allocations: 0 / 0.6994 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.175e-05/0.2406, allocations: 0 / 0.6994 GB, free: 5.254 MB / 0.5294 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.005047/0.2456, allocations: 2.49 MB / 0.7019 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2457, allocations: 12.03 kB / 0.7019 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.2461, allocations: 243.4 kB / 0.7021 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.2485, allocations: 1.265 MB / 0.7033 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.2486, allocations: 98.97 kB / 0.7034 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.2488, allocations: 139.9 kB / 0.7036 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.2517, allocations: 1.517 MB / 0.705 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.2517, allocations: 3.938 kB / 0.705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.2518, allocations: 52 kB / 0.7051 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.2519, allocations: 28 kB / 0.7051 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.2548, allocations: 1.615 MB / 0.7067 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008881/0.2637, allocations: 6.225 MB / 0.7128 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.2661, allocations: 1.211 MB / 0.714 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.2672, allocations: 0.6093 MB / 0.7146 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004834/0.272, allocations: 2.258 MB / 0.7168 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.2733, allocations: 0.6809 MB / 0.7174 GB, free: 2.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 2.966e-06/0.2733, allocations: 0 / 0.7174 GB, free: 2.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004451/0.2778, allocations: 1.99 MB / 0.7194 GB, free: 36 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.2778, allocations: 64.72 kB / 0.7194 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.2797, allocations: 1.321 MB / 0.7207 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.2798, allocations: 53.7 kB / 0.7208 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/0.2805, allocations: 0.7033 MB / 0.7215 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.2809, allocations: 495.7 kB / 0.7219 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.2813, allocations: 250.8 kB / 0.7222 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2815, allocations: 353.9 kB / 0.7225 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.2824, allocations: 466.4 kB / 0.723 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.2836, allocations: 0.6279 MB / 0.7236 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.2858, allocations: 1.167 MB / 0.7247 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2858, allocations: 4 kB / 0.7247 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003233/0.289, allocations: 1.549 MB / 0.7262 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.2891, allocations: 33.7 kB / 0.7263 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2891, allocations: 256 / 0.7263 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.2895, allocations: 109.6 kB / 0.7264 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.2906, allocations: 275.6 kB / 0.7266 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.2938, allocations: 3.033 MB / 0.7296 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009218/0.2947, allocations: 127.2 kB / 0.7297 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2948, allocations: 55.98 kB / 0.7298 GB, free: 4.988 MB / 0.5606 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.000749/0.2956, allocations: 385.4 kB / 0.7301 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.2959, allocations: 186.8 kB / 0.7303 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.3004, allocations: 2.292 MB / 0.7325 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.3004, allocations: 16 kB / 0.7326 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3004, allocations: 7.938 kB / 0.7326 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.3005, allocations: 7.969 kB / 0.7326 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006478/0.3069, allocations: 3.437 MB / 0.7359 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3069, allocations: 0 / 0.7359 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/0.3079, allocations: 279.6 kB / 0.7362 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.3083, allocations: 113.7 kB / 0.7363 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/0.3084, allocations: 47.97 kB / 0.7363 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.3115, allocations: 3.044 MB / 0.7393 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3115, allocations: 0 / 0.7393 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.3161, allocations: 2.402 MB / 0.7417 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009229/0.3171, allocations: 416.1 kB / 0.7421 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.3173, allocations: 35.94 kB / 0.7421 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.3179, allocations: 43.97 kB / 0.7421 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.3181, allocations: 133 kB / 0.7423 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.3183, allocations: 55.97 kB / 0.7423 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001374/0.3196, allocations: 0.9235 MB / 0.7432 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 0.7432 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001655/0.3213, allocations: 0.6081 MB / 0.7438 GB, free: 6.27 MB / 0.5762 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.002119/0.3234, allocations: 0.8392 MB / 0.7446 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.3263, allocations: 1.515 MB / 0.7461 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3263, allocations: 0 / 0.7461 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.3279, allocations: 0.9427 MB / 0.747 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.33, allocations: 0.4957 MB / 0.7475 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2827/0.6127, allocations: 3.231 MB / 0.7507 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.6139, allocations: 1.352 MB / 0.752 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001561/0.6154, allocations: 402.4 kB / 0.7524 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.6159, allocations: 196.5 kB / 0.7526 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.6159, allocations: 0 / 0.7526 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04942/0.6653, allocations: 30.83 MB / 0.7827 GB, free: 100.4 MB / 0.5762 GB " [Timeout remaining time 659] 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.081657733302563]