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.001409/0.001409, 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.001659/0.001659, allocations: 220.3 kB / 22.26 MB, free: 5.125 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: 8.004 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.8043/0.8043, allocations: 100.3 MB / 412.7 MB, free: 3.68 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.002709/0.002709, allocations: 82.33 kB / 0.5638 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1253, allocations: 74.47 MB / 0.6365 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05199/0.1773, allocations: 45.87 MB / 0.6813 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.1946, allocations: 12.5 MB / 0.6935 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.1962, allocations: 75.31 kB / 0.6936 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.1988, allocations: 1.158 MB / 0.6947 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.2044, allocations: 2.156 MB / 0.6968 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.2078, allocations: 1.217 MB / 0.698 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004135/0.2119, allocations: 2.852 MB / 0.7008 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.2125, allocations: 294 kB / 0.7011 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.215, allocations: 1.46 MB / 0.7025 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.2171, allocations: 1.12 MB / 0.7036 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.2174, allocations: 140 kB / 0.7037 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.2209, allocations: 1.217 MB / 0.7049 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.2214, allocations: 442.1 kB / 0.7053 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.2225, allocations: 0.9672 MB / 0.7063 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.228, allocations: 2.918 MB / 0.7091 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.228, allocations: 0 / 0.7091 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.228, allocations: 0 / 0.7091 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.228, allocations: 0 / 0.7091 GB, free: 12.46 MB / 0.545 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.005036/0.233, allocations: 2.502 MB / 0.7116 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2331, allocations: 8.031 kB / 0.7116 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.2335, allocations: 239.4 kB / 0.7118 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.236, allocations: 1.261 MB / 0.713 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.2361, allocations: 94.97 kB / 0.7131 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.2363, allocations: 139.9 kB / 0.7132 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.239, allocations: 1.517 MB / 0.7147 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.239, allocations: 0 / 0.7147 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2392, allocations: 55.98 kB / 0.7148 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.2392, allocations: 32 kB / 0.7148 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.242, allocations: 1.615 MB / 0.7164 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008671/0.2507, allocations: 6.222 MB / 0.7225 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.2531, allocations: 1.211 MB / 0.7236 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.2543, allocations: 0.6164 MB / 0.7243 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004944/0.2592, allocations: 2.254 MB / 0.7265 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.2605, allocations: 0.6809 MB / 0.7271 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=139): time 3.446e-06/0.2605, allocations: 0 / 0.7271 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=139): time 0.004648/0.2652, allocations: 1.99 MB / 0.7291 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.2653, allocations: 68.72 kB / 0.7291 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.2671, allocations: 1.314 MB / 0.7304 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.2672, allocations: 53.7 kB / 0.7305 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/0.2679, allocations: 0.7033 MB / 0.7311 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.2683, allocations: 499.6 kB / 0.7316 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.2687, allocations: 246.8 kB / 0.7319 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2689, allocations: 353.9 kB / 0.7322 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009486/0.2698, allocations: 466.4 kB / 0.7326 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.271, allocations: 0.6279 MB / 0.7333 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.2733, allocations: 1.167 MB / 0.7344 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2733, allocations: 0 / 0.7344 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003336/0.2766, allocations: 1.553 MB / 0.7359 GB, free: 52 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.2766, allocations: 33.7 kB / 0.7359 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2767, allocations: 4 kB / 0.7359 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.2772, allocations: 117.8 kB / 0.7361 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.2783, allocations: 275.6 kB / 0.7363 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.2815, allocations: 3.025 MB / 0.7393 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2825, allocations: 127.2 kB / 0.7394 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.2827, allocations: 59.97 kB / 0.7395 GB, free: 12.18 MB / 0.5762 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.0007404/0.2834, allocations: 385.4 kB / 0.7398 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.2838, allocations: 186.8 kB / 0.74 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.2883, allocations: 2.291 MB / 0.7422 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.2883, allocations: 16 kB / 0.7423 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.2884, allocations: 11.92 kB / 0.7423 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.2884, allocations: 3.984 kB / 0.7423 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.2951, allocations: 3.441 MB / 0.7456 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.2951, allocations: 4 kB / 0.7456 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.2961, allocations: 279.6 kB / 0.7459 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.2965, allocations: 117.7 kB / 0.746 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.2966, allocations: 51.97 kB / 0.7461 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/0.2997, allocations: 3.032 MB / 0.749 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2997, allocations: 4.031 kB / 0.749 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2794/0.5791, allocations: 2.394 MB / 0.7514 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.5801, allocations: 413.5 kB / 0.7518 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.5803, allocations: 36.28 kB / 0.7518 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.581, allocations: 45.73 kB / 0.7518 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.5813, allocations: 130.3 kB / 0.752 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.5814, allocations: 59.55 kB / 0.752 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001412/0.5828, allocations: 0.9262 MB / 0.7529 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5828, allocations: 2.094 kB / 0.7529 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001591/0.5844, allocations: 0.6016 MB / 0.7535 GB, free: 108.3 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.002031/0.5864, allocations: 0.8535 MB / 0.7543 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.5893, allocations: 1.505 MB / 0.7558 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5893, allocations: 0 / 0.7558 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.5908, allocations: 0.9458 MB / 0.7567 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.593, allocations: 0.4917 MB / 0.7572 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.5983, allocations: 3.243 MB / 0.7604 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.5991, allocations: 1.347 MB / 0.7617 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001284/0.6004, allocations: 395.3 kB / 0.7621 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.6009, allocations: 198.2 kB / 0.7623 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.6009, allocations: 0 / 0.7623 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.04608/0.6469, allocations: 30.83 MB / 0.7924 GB, free: 86.32 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/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.040951996576041]