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.001622/0.001622, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001923/0.001923, allocations: 219.3 kB / 23 MB, free: 4.914 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7275/0.7275, allocations: 94.64 MB / 407.8 MB, free: 8.91 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.00253/0.00253, allocations: 95.3 kB / 0.5562 GB, free: 38.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.11, allocations: 73.04 MB / 0.6275 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04895/0.1589, allocations: 41.38 MB / 0.6679 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.175, allocations: 11.35 MB / 0.679 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.1767, allocations: 75.31 kB / 0.6791 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.1794, allocations: 1.076 MB / 0.6801 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.185, allocations: 2.125 MB / 0.6822 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.1883, allocations: 1.208 MB / 0.6834 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003869/0.1922, allocations: 2.86 MB / 0.6862 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.1928, allocations: 286.1 kB / 0.6864 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.1953, allocations: 1.467 MB / 0.6879 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1967, allocations: 1.026 MB / 0.6889 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.197, allocations: 136 kB / 0.689 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.1997, allocations: 1.038 MB / 0.69 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.2001, allocations: 438.1 kB / 0.6904 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000895/0.201, allocations: 0.7732 MB / 0.6912 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.2054, allocations: 2.887 MB / 0.694 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2055, allocations: 4 kB / 0.694 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2055, allocations: 0 / 0.694 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.2055, allocations: 0 / 0.694 GB, free: 11.32 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.004647/0.2101, allocations: 2.49 MB / 0.6964 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2102, allocations: 8.031 kB / 0.6965 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/0.2109, allocations: 283.3 kB / 0.6967 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.2133, allocations: 1.257 MB / 0.698 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.2134, allocations: 98.95 kB / 0.698 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.2136, allocations: 131.9 kB / 0.6982 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.2162, allocations: 1.547 MB / 0.6997 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.2162, allocations: 0 / 0.6997 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2163, allocations: 56 kB / 0.6997 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2164, allocations: 32 kB / 0.6998 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.2191, allocations: 1.579 MB / 0.7013 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/0.2256, allocations: 3.572 MB / 0.7048 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.2278, allocations: 1.208 MB / 0.706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.2289, allocations: 0.6008 MB / 0.7066 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004502/0.2334, allocations: 1.978 MB / 0.7085 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.2348, allocations: 0.7912 MB / 0.7093 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.377e-06/0.2348, allocations: 4 kB / 0.7093 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004395/0.2392, allocations: 1.94 MB / 0.7112 GB, free: 9.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.2393, allocations: 124 kB / 0.7113 GB, free: 9.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.241, allocations: 1.255 MB / 0.7125 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.2411, allocations: 49.7 kB / 0.7126 GB, free: 7.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.2418, allocations: 0.7262 MB / 0.7133 GB, free: 7.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.2422, allocations: 483.7 kB / 0.7137 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.2426, allocations: 250.8 kB / 0.714 GB, free: 6.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2428, allocations: 353.9 kB / 0.7143 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.2437, allocations: 484.1 kB / 0.7148 GB, free: 5.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.2449, allocations: 0.701 MB / 0.7155 GB, free: 4.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.247, allocations: 1.164 MB / 0.7166 GB, free: 3.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.247, allocations: 0 / 0.7166 GB, free: 3.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003084/0.2501, allocations: 1.544 MB / 0.7181 GB, free: 2.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.2501, allocations: 35.89 kB / 0.7181 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2501, allocations: 7.938 kB / 0.7181 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/0.2506, allocations: 109.6 kB / 0.7182 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2516, allocations: 275.6 kB / 0.7185 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.2545, allocations: 2.964 MB / 0.7214 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.2554, allocations: 119.2 kB / 0.7215 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.2556, allocations: 51.98 kB / 0.7216 GB, free: 14.38 MB / 0.5606 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.0007217/0.2563, allocations: 389.5 kB / 0.7219 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.2566, allocations: 174.9 kB / 0.7221 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.2607, allocations: 2.11 MB / 0.7242 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.2607, allocations: 12 kB / 0.7242 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2607, allocations: 7.984 kB / 0.7242 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2608, allocations: 3.984 kB / 0.7242 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0056/0.2664, allocations: 2.939 MB / 0.7271 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2664, allocations: 8.062 kB / 0.7271 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.2674, allocations: 267.7 kB / 0.7273 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.2678, allocations: 105.6 kB / 0.7274 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.268, allocations: 47.97 kB / 0.7275 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.2712, allocations: 2.975 MB / 0.7304 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2712, allocations: 0 / 0.7304 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.2762, allocations: 2.306 MB / 0.7326 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.2773, allocations: 392.2 kB / 0.733 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.2775, allocations: 28 kB / 0.733 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.2782, allocations: 48.03 kB / 0.7331 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.2785, allocations: 125 kB / 0.7332 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.2786, allocations: 55.97 kB / 0.7332 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001278/0.2798, allocations: 0.8783 MB / 0.7341 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2798, allocations: 0 / 0.7341 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001518/0.2814, allocations: 0.5691 MB / 0.7347 GB, free: 0.6914 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 (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.002064/0.2834, allocations: 0.8205 MB / 0.7355 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.2864, allocations: 1.509 MB / 0.7369 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2864, allocations: 0 / 0.7369 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.2879, allocations: 0.9027 MB / 0.7378 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.29, allocations: 448.4 kB / 0.7382 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.2961, allocations: 3.262 MB / 0.7414 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.297, allocations: 0.7666 MB / 0.7422 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/0.2977, allocations: 195.4 kB / 0.7424 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.2977, allocations: 0 / 0.7424 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of Templates: time 0.2931/0.5907, allocations: 41.81 MB / 0.7832 GB, free: 99.93 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/jenkins1/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: 10.724651878233999]