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.001138/0.001138, allocations: 92.31 kB / 20.19 MB, free: 4.352 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.001004/0.001004, allocations: 169 kB / 23.49 MB, free: 1.047 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.6918/0.6918, allocations: 118.6 MB / 378.9 MB, free: 1.477 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.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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.999e-05, allocations: 2.312 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04015/0.04018, allocations: 47.65 MB / 0.5188 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.05275, allocations: 13.03 MB / 0.5315 GB, free: 4.184 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.05517, allocations: 79.31 kB / 0.5316 GB, free: 4.105 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.05743, allocations: 1.099 MB / 0.5327 GB, free: 3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.06267, allocations: 2.325 MB / 0.535 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.06549, allocations: 1.238 MB / 0.5362 GB, free: 15.42 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.06943, allocations: 3.185 MB / 0.5393 GB, free: 12.22 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.07004, allocations: 278.3 kB / 0.5395 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.07318, allocations: 1.964 MB / 0.5415 GB, free: 9.949 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.07452, allocations: 0.9307 MB / 0.5424 GB, free: 9.016 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.07482, allocations: 136 kB / 0.5425 GB, free: 8.883 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.07743, allocations: 1.052 MB / 0.5435 GB, free: 7.828 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.07777, allocations: 454 kB / 0.544 GB, free: 7.383 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.07854, allocations: 0.6701 MB / 0.5446 GB, free: 6.711 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.08263, allocations: 2.39 MB / 0.547 GB, free: 4.312 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.08264, allocations: 0 / 0.547 GB, free: 4.312 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08264, allocations: 0 / 0.547 GB, free: 4.312 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.352e-05/0.08272, allocations: 0 / 0.547 GB, free: 4.312 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003747/0.08647, allocations: 2.655 MB / 0.5495 GB, free: 1.602 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.08651, allocations: 8.031 kB / 0.5496 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.08725, allocations: 430.9 kB / 0.55 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.0889, allocations: 1.338 MB / 0.5513 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.08896, allocations: 103 kB / 0.5514 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.08909, allocations: 136.3 kB / 0.5515 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.09056, allocations: 1.106 MB / 0.5526 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.09059, allocations: 4 kB / 0.5526 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.09066, allocations: 52 kB / 0.5526 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.09069, allocations: 32 kB / 0.5527 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.09216, allocations: 0.733 MB / 0.5534 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.09775, allocations: 3.701 MB / 0.557 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.09933, allocations: 0.9385 MB / 0.5579 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.09997, allocations: 394.4 kB / 0.5583 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003375/0.1033, allocations: 1.868 MB / 0.5601 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009168/0.1043, allocations: 0.5976 MB / 0.5607 GB, free: 5.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 4.248e-06/0.1043, allocations: 8 kB / 0.5607 GB, free: 5.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.002848/0.1071, allocations: 1.406 MB / 0.5621 GB, free: 4.484 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1072, allocations: 120.1 kB / 0.5622 GB, free: 4.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.1086, allocations: 1.239 MB / 0.5634 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/0.1086, allocations: 57.64 kB / 0.5635 GB, free: 3.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.1092, allocations: 0.7891 MB / 0.5642 GB, free: 2.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.1096, allocations: 0.4919 MB / 0.5647 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.1099, allocations: 256.4 kB / 0.565 GB, free: 1.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1101, allocations: 0.5277 MB / 0.5655 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.1106, allocations: 260.2 kB / 0.5657 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.1113, allocations: 0.6724 MB / 0.5664 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1126, allocations: 0.7957 MB / 0.5671 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.1126, allocations: 4 kB / 0.5672 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002038/0.1146, allocations: 1.186 MB / 0.5683 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.1147, allocations: 37.69 kB / 0.5683 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1147, allocations: 4 kB / 0.5683 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.1151, allocations: 119.7 kB / 0.5685 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.1159, allocations: 263.7 kB / 0.5687 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.1183, allocations: 3.754 MB / 0.5724 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.119, allocations: 116.6 kB / 0.5725 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.119, allocations: 55.98 kB / 0.5725 GB, free: 9.184 MB / 0.4948 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.0003899/0.1194, allocations: 236.2 kB / 0.5728 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.1197, allocations: 230.8 kB / 0.573 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.1226, allocations: 1.736 MB / 0.5747 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.1226, allocations: 23.94 kB / 0.5747 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1226, allocations: 0 / 0.5747 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.1226, allocations: 7.969 kB / 0.5747 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.1269, allocations: 2.584 MB / 0.5772 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.1269, allocations: 8 kB / 0.5772 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.1276, allocations: 255.7 kB / 0.5775 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.128, allocations: 131.2 kB / 0.5776 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.128, allocations: 43.98 kB / 0.5777 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.1302, allocations: 3.746 MB / 0.5813 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1302, allocations: 0 / 0.5813 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.1329, allocations: 1.669 MB / 0.5829 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.1336, allocations: 396 kB / 0.5833 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.1337, allocations: 32 kB / 0.5834 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.1342, allocations: 39.98 kB / 0.5834 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.1344, allocations: 121.1 kB / 0.5835 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.1345, allocations: 51.98 kB / 0.5836 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009039/0.1354, allocations: 0.7512 MB / 0.5843 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1354, allocations: 0 / 0.5843 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001436/0.1369, allocations: 0.6004 MB / 0.5849 GB, free: 12.21 MB / 0.5105 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.001474/0.1383, allocations: 0.7906 MB / 0.5857 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.14, allocations: 1.264 MB / 0.5869 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.14, allocations: 0 / 0.5869 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.1408, allocations: 0.8575 MB / 0.5877 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.1425, allocations: 0.6704 MB / 0.5884 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.1471, allocations: 3.073 MB / 0.5914 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1474, allocations: 324.8 kB / 0.5917 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009347/0.1483, allocations: 371.7 kB / 0.592 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.1486, allocations: 192.4 kB / 0.5922 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of SimCode: time 1.954e-06/0.1486, allocations: 0 / 0.5922 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of Templates: time 0.03581/0.1844, allocations: 31.87 MB / 0.6234 GB, free: 5.406 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.577665502903983]