Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001912/0.001912, allocations: 84.73 kB / 19.44 MB, free: 464 kB / 13.93 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.002586/0.002586, allocations: 161.7 kB / 22.75 MB, free: 1.789 MB / 18.57 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.34 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.103/1.103, allocations: 118.6 MB / 378.2 MB, free: 1.484 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 482.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.548e-05/4.833e-05, allocations: 6.766 kB / 482.9 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04834/0.04839, allocations: 36.31 MB / 0.507 GB, free: 12.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.06927, allocations: 12.3 MB / 0.519 GB, free: 404 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.07167, allocations: 79.25 kB / 0.5191 GB, free: 324 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.07463, allocations: 0.9126 MB / 0.52 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.08028, allocations: 1.517 MB / 0.5215 GB, free: 13.87 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.08443, allocations: 1.105 MB / 0.5226 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004666/0.0891, allocations: 2.255 MB / 0.5248 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.08983, allocations: 212 kB / 0.525 GB, free: 10.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.09366, allocations: 1.461 MB / 0.5264 GB, free: 8.797 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.09486, allocations: 0.5762 MB / 0.5269 GB, free: 8.219 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.09504, allocations: 92 kB / 0.527 GB, free: 8.129 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.09787, allocations: 0.7953 MB / 0.5278 GB, free: 7.332 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.0983, allocations: 358.3 kB / 0.5282 GB, free: 6.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.09913, allocations: 490.5 kB / 0.5286 GB, free: 6.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.1044, allocations: 2.223 MB / 0.5308 GB, free: 4.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1044, allocations: 0 / 0.5308 GB, free: 4.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1044, allocations: 0 / 0.5308 GB, free: 4.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.1044, allocations: 0 / 0.5308 GB, free: 4.27 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00472/0.1091, allocations: 2.151 MB / 0.5329 GB, free: 2.074 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1092, allocations: 12.02 kB / 0.5329 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.1099, allocations: 311.4 kB / 0.5332 GB, free: 1.758 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.1128, allocations: 1.309 MB / 0.5345 GB, free: 424 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.1128, allocations: 66.38 kB / 0.5345 GB, free: 356 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.113, allocations: 88.36 kB / 0.5346 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.1149, allocations: 0.938 MB / 0.5355 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.1149, allocations: 4 kB / 0.5355 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.115, allocations: 32 kB / 0.5356 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.115, allocations: 20 kB / 0.5356 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1166, allocations: 0.808 MB / 0.5364 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.1219, allocations: 2.604 MB / 0.5389 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.1232, allocations: 0.5855 MB / 0.5395 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.1238, allocations: 286.7 kB / 0.5398 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003018/0.1268, allocations: 1.101 MB / 0.5408 GB, free: 9.758 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/0.1269, allocations: 39.22 kB / 0.5409 GB, free: 9.711 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.1269, allocations: 0 / 0.5409 GB, free: 9.711 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.003178/0.13, allocations: 1.084 MB / 0.5419 GB, free: 8.613 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.1301, allocations: 64.05 kB / 0.542 GB, free: 8.539 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.1327, allocations: 1.405 MB / 0.5434 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.1327, allocations: 37.7 kB / 0.5434 GB, free: 7.086 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000792/0.1335, allocations: 0.6951 MB / 0.5441 GB, free: 6.383 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.1338, allocations: 261.7 kB / 0.5443 GB, free: 6.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.1341, allocations: 150.5 kB / 0.5445 GB, free: 5.973 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1343, allocations: 334 kB / 0.5448 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.1348, allocations: 197.9 kB / 0.545 GB, free: 5.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.1355, allocations: 0.5166 MB / 0.5455 GB, free: 4.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1366, allocations: 0.5587 MB / 0.546 GB, free: 4.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1366, allocations: 4 kB / 0.546 GB, free: 4.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001966/0.1386, allocations: 0.8764 MB / 0.5469 GB, free: 3.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.1386, allocations: 4 kB / 0.5469 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1386, allocations: 7.938 kB / 0.5469 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/0.1394, allocations: 149.9 kB / 0.5471 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.14, allocations: 143.8 kB / 0.5472 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.1435, allocations: 2.955 MB / 0.5501 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.1445, allocations: 67.55 kB / 0.5501 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/0.1445, allocations: 32.11 kB / 0.5502 GB, free: 15.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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.0007534/0.1453, allocations: 337.6 kB / 0.5505 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.1457, allocations: 194.9 kB / 0.5507 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.148, allocations: 1.086 MB / 0.5517 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.148, allocations: 8 kB / 0.5518 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.148, allocations: 0 / 0.5518 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.148, allocations: 3.984 kB / 0.5518 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.1513, allocations: 1.694 MB / 0.5534 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1513, allocations: 0 / 0.5534 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.1518, allocations: 115.8 kB / 0.5535 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.1524, allocations: 145.7 kB / 0.5537 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.1525, allocations: 19.98 kB / 0.5537 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.1559, allocations: 2.959 MB / 0.5566 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1559, allocations: 0 / 0.5566 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.1585, allocations: 1.192 MB / 0.5577 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.1592, allocations: 280.5 kB / 0.558 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.1594, allocations: 19.95 kB / 0.558 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.1599, allocations: 27.92 kB / 0.558 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.16, allocations: 56.55 kB / 0.5581 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.1601, allocations: 28.05 kB / 0.5581 GB, free: 7.324 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.1617, allocations: 0.9844 MB / 0.5591 GB, free: 6.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1617, allocations: 0 / 0.5591 GB, free: 6.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001372/0.1631, allocations: 415.2 kB / 0.5595 GB, free: 5.941 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002399/0.1655, allocations: 0.7493 MB / 0.5602 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.1674, allocations: 0.7828 MB / 0.561 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.1674, allocations: 4 kB / 0.561 GB, free: 4.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.1683, allocations: 0.5203 MB / 0.5615 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.171, allocations: 0.5409 MB / 0.562 GB, free: 3.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.1779, allocations: 2.682 MB / 0.5646 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.1791, allocations: 0.6579 MB / 0.5653 GB, free: 36 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001337/0.1804, allocations: 245.9 kB / 0.5655 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.1808, allocations: 132.5 kB / 0.5656 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.986e-06/0.1808, allocations: 0 / 0.5656 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.05116/0.2319, allocations: 23.86 MB / 0.5889 GB, free: 8.301 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.85102584795095]