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.001275/0.001275, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001434/0.001434, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.7588/0.7588, allocations: 100.9 MB / 414.1 MB, free: 2.859 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002537/0.002537, allocations: 90.27 kB / 0.5653 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.124, allocations: 74.62 MB / 0.6382 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04649/0.1705, allocations: 41.36 MB / 0.6786 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.1866, allocations: 11.36 MB / 0.6896 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.188, allocations: 75.31 kB / 0.6897 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.1905, allocations: 1.072 MB / 0.6908 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.196, allocations: 2.137 MB / 0.6929 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.1994, allocations: 1.198 MB / 0.694 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.2032, allocations: 2.856 MB / 0.6968 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.2037, allocations: 282.1 kB / 0.6971 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.2059, allocations: 1.464 MB / 0.6985 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.2072, allocations: 1.026 MB / 0.6995 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.2074, allocations: 132 kB / 0.6996 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.2101, allocations: 1.046 MB / 0.7007 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.2105, allocations: 434.1 kB / 0.7011 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009972/0.2115, allocations: 0.7809 MB / 0.7018 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.2156, allocations: 2.883 MB / 0.7047 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2156, allocations: 0 / 0.7047 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2156, allocations: 0 / 0.7047 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.2156, allocations: 0 / 0.7047 GB, free: 1.625 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.004525/0.2202, allocations: 2.498 MB / 0.7071 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2202, allocations: 8.031 kB / 0.7071 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.221, allocations: 283.3 kB / 0.7074 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.2233, allocations: 1.245 MB / 0.7086 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.2234, allocations: 106.9 kB / 0.7087 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.2236, allocations: 131.9 kB / 0.7088 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.2263, allocations: 1.547 MB / 0.7103 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.2264, allocations: 0 / 0.7103 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.2265, allocations: 55.98 kB / 0.7104 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.2265, allocations: 32 kB / 0.7104 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.2291, allocations: 1.583 MB / 0.712 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.2355, allocations: 3.572 MB / 0.7154 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.2379, allocations: 1.215 MB / 0.7166 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.239, allocations: 0.6063 MB / 0.7172 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.2432, allocations: 1.978 MB / 0.7192 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.2445, allocations: 0.7791 MB / 0.7199 GB, free: 1.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.166e-06/0.2445, allocations: 0 / 0.7199 GB, free: 1.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004213/0.2488, allocations: 1.944 MB / 0.7218 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.2488, allocations: 128.1 kB / 0.7219 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.2506, allocations: 1.255 MB / 0.7232 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.2507, allocations: 53.7 kB / 0.7232 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.2513, allocations: 0.7145 MB / 0.7239 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.2519, allocations: 491.6 kB / 0.7244 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.2522, allocations: 246.8 kB / 0.7246 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2524, allocations: 353.9 kB / 0.7249 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009124/0.2533, allocations: 480.1 kB / 0.7254 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.2545, allocations: 0.7126 MB / 0.7261 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.2566, allocations: 1.161 MB / 0.7272 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2566, allocations: 0 / 0.7272 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00305/0.2597, allocations: 1.544 MB / 0.7287 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.2597, allocations: 37.7 kB / 0.7288 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2598, allocations: 4 kB / 0.7288 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.2602, allocations: 105.6 kB / 0.7289 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.2611, allocations: 271.7 kB / 0.7291 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.2641, allocations: 2.96 MB / 0.732 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.2648, allocations: 127.2 kB / 0.7322 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.265, allocations: 55.98 kB / 0.7322 GB, free: 4.672 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.0007645/0.2657, allocations: 377.5 kB / 0.7326 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.266, allocations: 178.8 kB / 0.7327 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.2701, allocations: 2.125 MB / 0.7348 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.2701, allocations: 15.94 kB / 0.7348 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2702, allocations: 8 kB / 0.7348 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/0.2702, allocations: 7.969 kB / 0.7348 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.2756, allocations: 2.935 MB / 0.7377 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.2756, allocations: 3.938 kB / 0.7377 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009633/0.2766, allocations: 271.7 kB / 0.738 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.2769, allocations: 117.6 kB / 0.7381 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.277, allocations: 43.97 kB / 0.7381 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.28, allocations: 2.963 MB / 0.741 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2801, allocations: 0 / 0.741 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.2843, allocations: 2.306 MB / 0.7433 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.2851, allocations: 392.2 kB / 0.7436 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.2853, allocations: 31.95 kB / 0.7437 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.2859, allocations: 43.97 kB / 0.7437 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.2861, allocations: 121.1 kB / 0.7438 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.2862, allocations: 55.97 kB / 0.7439 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001218/0.2874, allocations: 0.8745 MB / 0.7447 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2874, allocations: 4 kB / 0.7447 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001471/0.2889, allocations: 0.5653 MB / 0.7453 GB, free: 6.988 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 (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.002103/0.291, allocations: 0.8293 MB / 0.7461 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002796/0.2938, allocations: 1.509 MB / 0.7476 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2938, allocations: 0.875 kB / 0.7476 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.2953, allocations: 0.9108 MB / 0.7485 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.2971, allocations: 447.7 kB / 0.7489 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.3028, allocations: 3.257 MB / 0.7521 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2409/0.5438, allocations: 0.761 MB / 0.7528 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/0.5445, allocations: 203.3 kB / 0.753 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.5445, allocations: 0 / 0.753 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.04674/0.5912, allocations: 41.79 MB / 0.7938 GB, free: 82.78 MB / 0.5762 GB " [Timeout remaining time 659] 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/jenkins1/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: 10.854169941972941]