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.001083/0.001083, allocations: 93.06 kB / 19.65 MB, free: 280 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.00131/0.00131, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7395/0.7395, allocations: 118.6 MB / 378.6 MB, free: 1.523 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 2.535e-06/2.535e-06, allocations: 3.234 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.824e-05, allocations: 7.438 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01073/0.01076, allocations: 12.85 MB / 496.5 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.01849, allocations: 3.902 MB / 0.4886 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.0208, allocations: 114.4 kB / 0.4887 GB, free: 12.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.02186, allocations: 371.9 kB / 0.4891 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.02551, allocations: 1.236 MB / 0.4903 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.02802, allocations: 0.8079 MB / 0.4911 GB, free: 11.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004872/0.03289, allocations: 3.024 MB / 0.494 GB, free: 9.535 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006983/0.03359, allocations: 308 kB / 0.4943 GB, free: 9.234 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.03728, allocations: 1.572 MB / 0.4959 GB, free: 7.977 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.03835, allocations: 0.7776 MB / 0.4966 GB, free: 7.348 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.03859, allocations: 128 kB / 0.4968 GB, free: 7.223 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.0394, allocations: 305.8 kB / 0.497 GB, free: 6.949 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.0397, allocations: 372.8 kB / 0.4974 GB, free: 6.637 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.04045, allocations: 0.6478 MB / 0.498 GB, free: 6.039 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.04293, allocations: 1.782 MB / 0.4998 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.04294, allocations: 0 / 0.4998 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04294, allocations: 0 / 0.4998 GB, free: 4.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.347e-05/0.04297, allocations: 0 / 0.4998 GB, free: 4.492 MB / 426.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.003309/0.04628, allocations: 2.504 MB / 0.5022 GB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.04633, allocations: 16.02 kB / 0.5022 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.04692, allocations: 395 kB / 0.5026 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.049, allocations: 1.433 MB / 0.504 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.04907, allocations: 90.78 kB / 0.5041 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.04919, allocations: 132.3 kB / 0.5042 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.05047, allocations: 1.003 MB / 0.5052 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.0505, allocations: 3.938 kB / 0.5052 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.05057, allocations: 56 kB / 0.5053 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.0506, allocations: 28 kB / 0.5053 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.05146, allocations: 0.5635 MB / 0.5058 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.05559, allocations: 3.865 MB / 0.5096 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.05684, allocations: 0.7788 MB / 0.5104 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.0572, allocations: 294.2 kB / 0.5107 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/0.05911, allocations: 1.333 MB / 0.512 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.05915, allocations: 54.39 kB / 0.512 GB, free: 7.605 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.056e-06/0.05915, allocations: 0 / 0.512 GB, free: 7.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.001858/0.06101, allocations: 1.119 MB / 0.5131 GB, free: 6.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.06105, allocations: 64.34 kB / 0.5132 GB, free: 6.391 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.06226, allocations: 1.337 MB / 0.5145 GB, free: 5.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.06231, allocations: 45.7 kB / 0.5145 GB, free: 4.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.06282, allocations: 0.9082 MB / 0.5154 GB, free: 4.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.06301, allocations: 345 kB / 0.5157 GB, free: 3.738 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.06319, allocations: 184.2 kB / 0.5159 GB, free: 3.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.06334, allocations: 0.5082 MB / 0.5164 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.06357, allocations: 153.9 kB / 0.5165 GB, free: 2.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.0644, allocations: 0.6801 MB / 0.5172 GB, free: 2.035 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.06508, allocations: 0.5993 MB / 0.5178 GB, free: 1.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.06508, allocations: 4 kB / 0.5178 GB, free: 1.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001167/0.06625, allocations: 0.9322 MB / 0.5187 GB, free: 408 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.06627, allocations: 4.562 kB / 0.5187 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.06628, allocations: 8 kB / 0.5187 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.06682, allocations: 194.8 kB / 0.5189 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.06722, allocations: 187.8 kB / 0.5191 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.0705, allocations: 5.608 MB / 0.5246 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/0.07123, allocations: 83.44 kB / 0.5246 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.07131, allocations: 43.98 kB / 0.5247 GB, free: 9.898 MB / 458.7 MB 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 (106): * Single equations (assignments): 103 * 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.0004813/0.07179, allocations: 212.3 kB / 0.5249 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.07204, allocations: 218.7 kB / 0.5251 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.07367, allocations: 1.321 MB / 0.5264 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.07367, allocations: 8 kB / 0.5264 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.07368, allocations: 15.88 kB / 0.5264 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.07369, allocations: 3.984 kB / 0.5264 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.07614, allocations: 1.961 MB / 0.5283 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.07614, allocations: 12.12 kB / 0.5283 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.07643, allocations: 140 kB / 0.5285 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.07687, allocations: 198.8 kB / 0.5287 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.07692, allocations: 31.98 kB / 0.5287 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.0798, allocations: 5.605 MB / 0.5342 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.0798, allocations: 4 kB / 0.5342 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.08136, allocations: 1.217 MB / 0.5354 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.08179, allocations: 254.5 kB / 0.5356 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.0819, allocations: 20 kB / 0.5356 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.08222, allocations: 23.98 kB / 0.5356 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.08235, allocations: 72.86 kB / 0.5357 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.0824, allocations: 35.98 kB / 0.5357 GB, free: 13.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008922/0.0833, allocations: 0.8468 MB / 0.5366 GB, free: 13.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0833, allocations: 3.938 kB / 0.5366 GB, free: 13.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001096/0.08439, allocations: 455.1 kB / 0.537 GB, free: 12.66 MB / 474.7 MB 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 (80): * 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: 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.0002833/0.08467, allocations: 163 kB / 0.5372 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.086, allocations: 1.087 MB / 0.5382 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.086, allocations: 0 / 0.5382 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.08666, allocations: 0.8454 MB / 0.5391 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.08842, allocations: 0.7196 MB / 0.5398 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.09263, allocations: 2.878 MB / 0.5426 GB, free: 6.789 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.09285, allocations: 278.1 kB / 0.5428 GB, free: 6.496 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007873/0.09363, allocations: 275.8 kB / 0.5431 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.09386, allocations: 140.4 kB / 0.5432 GB, free: 6.082 MB / 474.7 MB Notification: Performance of SimCode: time 2.235e-06/0.09386, allocations: 0 / 0.5432 GB, free: 6.082 MB / 474.7 MB Notification: Performance of Templates: time 0.03182/0.1257, allocations: 25.64 MB / 0.5683 GB, free: 13.1 MB / 0.4948 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.53242524433881]