Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.0009936/0.0009936, 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.001008/0.001008, allocations: 173 kB / 23.5 MB, free: 1.055 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 0.659/0.659, allocations: 118.6 MB / 378.9 MB, free: 1.52 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.529e-05, allocations: 3.188 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.04268/0.04271, allocations: 58.97 MB / 0.5299 GB, free: 5.93 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.06001, allocations: 19.88 MB / 0.5493 GB, free: 1.992 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.06207, allocations: 114.9 kB / 0.5494 GB, free: 1.879 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.06393, allocations: 0.8295 MB / 0.5502 GB, free: 1.043 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.06772, allocations: 1.912 MB / 0.5521 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.07095, allocations: 1.459 MB / 0.5535 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.07355, allocations: 3.028 MB / 0.5565 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.07403, allocations: 311.2 kB / 0.5568 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.07578, allocations: 1.636 MB / 0.5584 GB, free: 8.637 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008695/0.07665, allocations: 0.7787 MB / 0.5591 GB, free: 7.855 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.07681, allocations: 132 kB / 0.5593 GB, free: 7.727 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.07958, allocations: 1.154 MB / 0.5604 GB, free: 6.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.07984, allocations: 374.1 kB / 0.5607 GB, free: 6.203 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.08036, allocations: 0.6505 MB / 0.5614 GB, free: 5.551 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.08309, allocations: 2.409 MB / 0.5637 GB, free: 3.133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.08309, allocations: 0 / 0.5637 GB, free: 3.133 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0831, allocations: 0 / 0.5637 GB, free: 3.133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.08311, allocations: 0 / 0.5637 GB, free: 3.133 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002772/0.08588, allocations: 2.632 MB / 0.5663 GB, free: 460 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.08592, allocations: 8.031 kB / 0.5663 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.08664, allocations: 414.9 kB / 0.5667 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.08821, allocations: 1.437 MB / 0.5681 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.08826, allocations: 86.7 kB / 0.5682 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.08838, allocations: 132.3 kB / 0.5683 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.08947, allocations: 1.003 MB / 0.5693 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.08949, allocations: 11.88 kB / 0.5693 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.08956, allocations: 48 kB / 0.5693 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.08958, allocations: 28 kB / 0.5694 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.09038, allocations: 0.5635 MB / 0.5699 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.09458, allocations: 3.877 MB / 0.5737 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.09552, allocations: 0.7603 MB / 0.5744 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.09587, allocations: 281.5 kB / 0.5747 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.09778, allocations: 1.485 MB / 0.5762 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.09782, allocations: 50.33 kB / 0.5762 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 3.046e-06/0.09782, allocations: 0 / 0.5762 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.001767/0.09959, allocations: 1.17 MB / 0.5774 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.09962, allocations: 60.41 kB / 0.5774 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1007, allocations: 1.326 MB / 0.5787 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.1007, allocations: 45.7 kB / 0.5788 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.1012, allocations: 0.8966 MB / 0.5796 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.1014, allocations: 368.8 kB / 0.58 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1016, allocations: 192.2 kB / 0.5802 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.1018, allocations: 0.5121 MB / 0.5807 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1021, allocations: 169.9 kB / 0.5808 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.1025, allocations: 0.6894 MB / 0.5815 GB, free: 324 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.1032, allocations: 0.6188 MB / 0.5821 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1032, allocations: 4 kB / 0.5821 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00113/0.1044, allocations: 0.9794 MB / 0.5831 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1044, allocations: 8 kB / 0.5831 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1044, allocations: 4 kB / 0.5831 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.1049, allocations: 191 kB / 0.5833 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.1053, allocations: 195.7 kB / 0.5834 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.108, allocations: 5.612 MB / 0.5889 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1084, allocations: 87.64 kB / 0.589 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.1084, allocations: 51.97 kB / 0.5891 GB, free: 8.094 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0002497/0.1087, allocations: 224.4 kB / 0.5893 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.1089, allocations: 218.7 kB / 0.5895 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.1104, allocations: 1.397 MB / 0.5908 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1104, allocations: 12 kB / 0.5909 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1104, allocations: 0 / 0.5909 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1104, allocations: 11.91 kB / 0.5909 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.1125, allocations: 2.016 MB / 0.5928 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1125, allocations: 4 kB / 0.5928 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1128, allocations: 155.7 kB / 0.593 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.1132, allocations: 206.9 kB / 0.5932 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.1132, allocations: 31.98 kB / 0.5932 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.1157, allocations: 5.598 MB / 0.5987 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1157, allocations: 4 kB / 0.5987 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.1171, allocations: 1.256 MB / 0.5999 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.1174, allocations: 270.3 kB / 0.6002 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1175, allocations: 24 kB / 0.6002 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1177, allocations: 31.92 kB / 0.6002 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.1178, allocations: 76.86 kB / 0.6003 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.1179, allocations: 35.97 kB / 0.6003 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007983/0.1187, allocations: 0.8429 MB / 0.6012 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.1187, allocations: 0 / 0.6012 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001045/0.1197, allocations: 0.6002 MB / 0.6017 GB, free: 10.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0006991/0.1204, allocations: 0.6582 MB / 0.6024 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.1215, allocations: 1.115 MB / 0.6035 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1215, allocations: 0 / 0.6035 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.1221, allocations: 0.8598 MB / 0.6043 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.1238, allocations: 0.7353 MB / 0.605 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1272, allocations: 2.886 MB / 0.6078 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1275, allocations: 282.7 kB / 0.6081 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005903/0.1281, allocations: 290.7 kB / 0.6084 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.1283, allocations: 144.4 kB / 0.6085 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/0.1283, allocations: 0 / 0.6085 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of Templates: time 0.03584/0.1642, allocations: 33.07 MB / 0.6408 GB, free: 2.988 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_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.57549814786762]