Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009748/0.0009748, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00106/0.00106, allocations: 173 kB / 23.49 MB, free: 1.059 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 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.7173/0.7173, allocations: 118.6 MB / 378.9 MB, free: 1.473 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 483.6 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.721e-05, allocations: 2.312 kB / 483.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03316/0.03318, allocations: 40.9 MB / 0.5122 GB, free: 8.023 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.04643, allocations: 13.9 MB / 0.5258 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.04768, allocations: 75.25 kB / 0.5259 GB, free: 10.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.04941, allocations: 0.9049 MB / 0.5268 GB, free: 9.098 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.05254, allocations: 1.517 MB / 0.5282 GB, free: 7.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.05523, allocations: 1.113 MB / 0.5293 GB, free: 6.453 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.05738, allocations: 2.255 MB / 0.5315 GB, free: 4.184 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.05772, allocations: 219.9 kB / 0.5317 GB, free: 3.949 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.05926, allocations: 1.457 MB / 0.5332 GB, free: 2.488 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.05986, allocations: 0.5723 MB / 0.5337 GB, free: 1.914 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.05998, allocations: 92 kB / 0.5338 GB, free: 1.824 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.06156, allocations: 0.807 MB / 0.5346 GB, free: 1.016 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.0618, allocations: 354.4 kB / 0.5349 GB, free: 0.668 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.06218, allocations: 490.5 kB / 0.5354 GB, free: 192 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.06441, allocations: 1.841 MB / 0.5372 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.06442, allocations: 0 / 0.5372 GB, free: 14.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06442, allocations: 3.938 kB / 0.5372 GB, free: 14.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.06444, allocations: 0 / 0.5372 GB, free: 14.34 MB / 474.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.002236/0.06667, allocations: 2.272 MB / 0.5394 GB, free: 12.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.06671, allocations: 8.031 kB / 0.5394 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.06715, allocations: 315.4 kB / 0.5397 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.06851, allocations: 1.288 MB / 0.541 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.06856, allocations: 66.38 kB / 0.5411 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.06866, allocations: 88.31 kB / 0.5411 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.06952, allocations: 0.7113 MB / 0.5418 GB, free: 9.457 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.06954, allocations: 7.938 kB / 0.5418 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.06959, allocations: 32 kB / 0.5419 GB, free: 9.418 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.06961, allocations: 20 kB / 0.5419 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.07022, allocations: 403.6 kB / 0.5423 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.07325, allocations: 2.882 MB / 0.5451 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.07391, allocations: 0.5266 MB / 0.5456 GB, free: 5.508 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.07416, allocations: 198.3 kB / 0.5458 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.07553, allocations: 1.114 MB / 0.5469 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.07557, allocations: 49.97 kB / 0.5469 GB, free: 4.117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.07557, allocations: 4 kB / 0.5469 GB, free: 4.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.001354/0.07693, allocations: 0.8474 MB / 0.5478 GB, free: 3.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.07696, allocations: 60.06 kB / 0.5478 GB, free: 3.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.07808, allocations: 1.332 MB / 0.5491 GB, free: 1.832 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.07812, allocations: 37.7 kB / 0.5491 GB, free: 1.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.07879, allocations: 0.7464 MB / 0.5499 GB, free: 1.031 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.07893, allocations: 269.6 kB / 0.5501 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.07908, allocations: 156.2 kB / 0.5503 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.07923, allocations: 0.5004 MB / 0.5508 GB, free: 100 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.07942, allocations: 114 kB / 0.5509 GB, free: 15.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.07977, allocations: 482.7 kB / 0.5513 GB, free: 15.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.08028, allocations: 440.8 kB / 0.5518 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-06/0.08028, allocations: 4 kB / 0.5518 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008646/0.08115, allocations: 0.7023 MB / 0.5525 GB, free: 14.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.08117, allocations: 4 kB / 0.5525 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.08117, allocations: 4 kB / 0.5525 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.08157, allocations: 127.6 kB / 0.5526 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.08187, allocations: 139.8 kB / 0.5527 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.08386, allocations: 3.743 MB / 0.5564 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.08458, allocations: 71.5 kB / 0.5564 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.08462, allocations: 35.98 kB / 0.5565 GB, free: 9.82 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.0002263/0.08485, allocations: 196.5 kB / 0.5567 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.08501, allocations: 194.9 kB / 0.5568 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.08614, allocations: 0.9422 MB / 0.5578 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.08614, allocations: 8 kB / 0.5578 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.08615, allocations: 4 kB / 0.5578 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.08616, allocations: 3.984 kB / 0.5578 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.08785, allocations: 1.625 MB / 0.5594 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.08785, allocations: 8.125 kB / 0.5594 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.08807, allocations: 107.8 kB / 0.5595 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.08837, allocations: 139.1 kB / 0.5596 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.0884, allocations: 23.98 kB / 0.5596 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.09012, allocations: 3.746 MB / 0.5633 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.09012, allocations: 0 / 0.5633 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.09143, allocations: 0.9655 MB / 0.5642 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.09171, allocations: 272.6 kB / 0.5645 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.09179, allocations: 19.94 kB / 0.5645 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.09201, allocations: 19.98 kB / 0.5645 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.09211, allocations: 60.55 kB / 0.5646 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.09214, allocations: 23.98 kB / 0.5646 GB, free: 1.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007198/0.09286, allocations: 0.8125 MB / 0.5654 GB, free: 288 kB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09286, allocations: 0 / 0.5654 GB, free: 288 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.09356, allocations: 427.1 kB / 0.5658 GB, free: 15.86 MB / 0.4948 GB 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.001153/0.09472, allocations: 0.6972 MB / 0.5665 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.09555, allocations: 0.7673 MB / 0.5672 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.09555, allocations: 0 / 0.5672 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.096, allocations: 0.586 MB / 0.5678 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.09728, allocations: 0.5376 MB / 0.5683 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.1005, allocations: 2.435 MB / 0.5707 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.1007, allocations: 260.4 kB / 0.571 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.1012, allocations: 244.7 kB / 0.5712 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1014, allocations: 128.5 kB / 0.5713 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.1014, allocations: 4 kB / 0.5713 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.02692/0.1283, allocations: 23.89 MB / 0.5947 GB, free: 2.789 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.251101549016312]