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.001536/0.001536, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001683/0.001683, allocations: 161 kB / 23.01 MB, free: 4.602 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.368/1.368, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 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.7198/0.7198, allocations: 79.61 MB / 339.4 MB, free: 10.99 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.002544/0.002544, allocations: 88.05 kB / 0.4924 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1136, allocations: 74.58 MB / 0.5652 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04465/0.1583, allocations: 41.36 MB / 0.6056 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.1735, allocations: 11.36 MB / 0.6167 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1747, allocations: 75.31 kB / 0.6168 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.177, allocations: 1.076 MB / 0.6178 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.1821, allocations: 2.125 MB / 0.6199 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.1851, allocations: 1.21 MB / 0.6211 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.1886, allocations: 2.848 MB / 0.6238 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.1891, allocations: 290 kB / 0.6241 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1912, allocations: 1.456 MB / 0.6255 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.1926, allocations: 1.034 MB / 0.6266 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.1928, allocations: 132 kB / 0.6267 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.1952, allocations: 1.042 MB / 0.6277 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.1956, allocations: 442.1 kB / 0.6281 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.1965, allocations: 0.7693 MB / 0.6289 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.2005, allocations: 2.891 MB / 0.6317 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.2005, allocations: 4 kB / 0.6317 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2005, allocations: 0 / 0.6317 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.2006, allocations: 0 / 0.6317 GB, free: 1.629 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.004305/0.2049, allocations: 2.482 MB / 0.6341 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2049, allocations: 16.02 kB / 0.6341 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.2056, allocations: 275.4 kB / 0.6344 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.2078, allocations: 1.253 MB / 0.6356 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.2079, allocations: 103 kB / 0.6357 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.2081, allocations: 131.9 kB / 0.6358 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.2106, allocations: 1.551 MB / 0.6374 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.2106, allocations: 8 kB / 0.6374 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2107, allocations: 55.94 kB / 0.6374 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.2107, allocations: 32 kB / 0.6374 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.2134, allocations: 1.572 MB / 0.639 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005906/0.2193, allocations: 3.572 MB / 0.6425 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.2215, allocations: 1.212 MB / 0.6437 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2225, allocations: 0.6145 MB / 0.6443 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004001/0.2265, allocations: 1.974 MB / 0.6462 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/0.2279, allocations: 0.7869 MB / 0.647 GB, free: 1.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.376e-06/0.2279, allocations: 0 / 0.647 GB, free: 1.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.00423/0.2321, allocations: 1.94 MB / 0.6488 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.2322, allocations: 124.1 kB / 0.649 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.2338, allocations: 1.251 MB / 0.6502 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/0.2339, allocations: 53.69 kB / 0.6502 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.2345, allocations: 0.7185 MB / 0.6509 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.2349, allocations: 495.7 kB / 0.6514 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.2353, allocations: 246.8 kB / 0.6516 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2355, allocations: 353.9 kB / 0.652 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/0.2364, allocations: 488.1 kB / 0.6525 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.2376, allocations: 0.6997 MB / 0.6531 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.2399, allocations: 1.161 MB / 0.6543 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2399, allocations: 4 kB / 0.6543 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003023/0.2429, allocations: 1.543 MB / 0.6558 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.2429, allocations: 37.69 kB / 0.6558 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2429, allocations: 4 kB / 0.6558 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.2433, allocations: 105.9 kB / 0.6559 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2444, allocations: 271.6 kB / 0.6562 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.2475, allocations: 2.964 MB / 0.6591 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.2483, allocations: 115.2 kB / 0.6592 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2484, allocations: 55.97 kB / 0.6592 GB, free: 4.691 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.0006526/0.2491, allocations: 385.6 kB / 0.6596 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.2494, allocations: 182.8 kB / 0.6598 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.2535, allocations: 2.105 MB / 0.6618 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.2535, allocations: 16 kB / 0.6618 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2535, allocations: 7.938 kB / 0.6619 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.2535, allocations: 11.97 kB / 0.6619 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.2588, allocations: 2.946 MB / 0.6647 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2588, allocations: 3.938 kB / 0.6647 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.2599, allocations: 271.6 kB / 0.665 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.2602, allocations: 113.5 kB / 0.6651 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/0.2603, allocations: 52.09 kB / 0.6652 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.2632, allocations: 2.955 MB / 0.6681 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.2632, allocations: 12.05 kB / 0.6681 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.2673, allocations: 2.298 MB / 0.6703 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.2681, allocations: 392.2 kB / 0.6707 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.2683, allocations: 39.89 kB / 0.6707 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.2689, allocations: 43.97 kB / 0.6708 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.2691, allocations: 117.1 kB / 0.6709 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.2692, allocations: 55.97 kB / 0.6709 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001178/0.2704, allocations: 0.8783 MB / 0.6718 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 0 / 0.6718 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001447/0.2718, allocations: 0.5652 MB / 0.6723 GB, free: 6.996 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.002031/0.2739, allocations: 0.8316 MB / 0.6731 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.2767, allocations: 1.509 MB / 0.6746 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.2767, allocations: 4 kB / 0.6746 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.2782, allocations: 0.9039 MB / 0.6755 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.2801, allocations: 450.3 kB / 0.6759 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.2857, allocations: 3.186 MB / 0.679 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009891/0.2867, allocations: 0.7635 MB / 0.6798 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001082/0.2877, allocations: 366.2 kB / 0.6801 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.2882, allocations: 184.4 kB / 0.6803 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.2882, allocations: 0 / 0.6803 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.2732/0.5614, allocations: 27.39 MB / 0.7071 GB, free: 120.8 MB / 0.5919 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 -s ida -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: 6.366934660938568]