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.001484/0.001484, allocations: 85.38 kB / 19.43 MB, free: 1.992 MB / 14.72 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.001491/0.001491, allocations: 163.8 kB / 22.75 MB, free: 4.777 MB / 14.72 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.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.8222/0.8222, allocations: 80.2 MB / 339.7 MB, free: 10.73 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.423e-06/1.423e-06, allocations: 0 / 430.5 MB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.943e-05, allocations: 6.25 kB / 430.5 MB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.2476/0.2476, allocations: 52.06 MB / 482.5 MB, free: 44.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2635, allocations: 17.39 MB / 499.9 MB, free: 44.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.2652, allocations: 104.5 kB / 0.4883 GB, free: 44.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.2673, allocations: 0.8148 MB / 0.4891 GB, free: 44.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.2718, allocations: 1.891 MB / 0.491 GB, free: 43.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.2754, allocations: 1.379 MB / 0.4923 GB, free: 43.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.2786, allocations: 2.907 MB / 0.4951 GB, free: 42.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.2792, allocations: 303.3 kB / 0.4954 GB, free: 42.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.2818, allocations: 1.575 MB / 0.497 GB, free: 42.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.2829, allocations: 0.7651 MB / 0.4977 GB, free: 42.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.2831, allocations: 126.7 kB / 0.4978 GB, free: 42.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.2862, allocations: 1.149 MB / 0.499 GB, free: 42.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.2865, allocations: 365.4 kB / 0.4993 GB, free: 41.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.2873, allocations: 0.622 MB / 0.4999 GB, free: 41.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004794/0.2921, allocations: 2.748 MB / 0.5026 GB, free: 40.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2921, allocations: 0 / 0.5026 GB, free: 40.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2921, allocations: 0 / 0.5026 GB, free: 40.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.22e-05/0.2921, allocations: 0 / 0.5026 GB, free: 40.92 MB / 446.1 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.004111/0.2963, allocations: 2.413 MB / 0.505 GB, free: 39.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2963, allocations: 10 kB / 0.505 GB, free: 39.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008072/0.2971, allocations: 394.3 kB / 0.5053 GB, free: 39.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.2993, allocations: 1.326 MB / 0.5066 GB, free: 38.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.2993, allocations: 88.39 kB / 0.5067 GB, free: 38.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.2995, allocations: 118.7 kB / 0.5068 GB, free: 38.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3015, allocations: 1.327 MB / 0.5081 GB, free: 37.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.3015, allocations: 1.625 kB / 0.5081 GB, free: 37.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.3016, allocations: 50.47 kB / 0.5082 GB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3016, allocations: 29.28 kB / 0.5082 GB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.3034, allocations: 1.16 MB / 0.5093 GB, free: 37.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.3091, allocations: 3.55 MB / 0.5128 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.3105, allocations: 0.8545 MB / 0.5136 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.3111, allocations: 424.3 kB / 0.5141 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003372/0.3145, allocations: 1.566 MB / 0.5156 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3145, allocations: 40.16 kB / 0.5156 GB, free: 34.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=103): time 3.386e-06/0.3145, allocations: 1.156 kB / 0.5156 GB, free: 34.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=103): time 0.003499/0.318, allocations: 1.493 MB / 0.5171 GB, free: 33.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3181, allocations: 63.14 kB / 0.5171 GB, free: 33.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.3198, allocations: 1.278 MB / 0.5184 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.3198, allocations: 42.08 kB / 0.5184 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.3203, allocations: 0.8123 MB / 0.5192 GB, free: 32.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.3206, allocations: 371.8 kB / 0.5196 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.3208, allocations: 180.3 kB / 0.5197 GB, free: 31.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.3209, allocations: 346.7 kB / 0.5201 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3214, allocations: 297.9 kB / 0.5204 GB, free: 31.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.3222, allocations: 0.5553 MB / 0.5209 GB, free: 31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3234, allocations: 0.8225 MB / 0.5217 GB, free: 30.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3234, allocations: 1.781 kB / 0.5217 GB, free: 30.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00235/0.3258, allocations: 1.214 MB / 0.5229 GB, free: 29.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3258, allocations: 6.578 kB / 0.5229 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3258, allocations: 5.781 kB / 0.5229 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/0.3265, allocations: 166.7 kB / 0.5231 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.3272, allocations: 203.8 kB / 0.5233 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.3303, allocations: 4.427 MB / 0.5276 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.3312, allocations: 90.3 kB / 0.5277 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.3313, allocations: 48.36 kB / 0.5277 GB, free: 25.73 MB / 446.1 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 (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.0004748/0.3318, allocations: 281 kB / 0.528 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.3321, allocations: 208.4 kB / 0.5282 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.335, allocations: 1.571 MB / 0.5297 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.335, allocations: 12.62 kB / 0.5297 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.335, allocations: 2.125 kB / 0.5297 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.335, allocations: 6.312 kB / 0.5297 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.339, allocations: 2.207 MB / 0.5319 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.339, allocations: 4.938 kB / 0.5319 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.3396, allocations: 155.5 kB / 0.532 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/0.3401, allocations: 162.3 kB / 0.5322 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.3402, allocations: 43.58 kB / 0.5322 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.3431, allocations: 4.418 MB / 0.5366 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3431, allocations: 7.375 kB / 0.5366 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.3458, allocations: 1.592 MB / 0.5381 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.3464, allocations: 269.1 kB / 0.5384 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.3466, allocations: 28.2 kB / 0.5384 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.3472, allocations: 26.03 kB / 0.5384 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.3474, allocations: 79.91 kB / 0.5385 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/0.3475, allocations: 40.19 kB / 0.5385 GB, free: 18.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.3486, allocations: 0.888 MB / 0.5394 GB, free: 18.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3486, allocations: 0 / 0.5394 GB, free: 18.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001658/0.3503, allocations: 0.5859 MB / 0.54 GB, free: 17.84 MB / 446.1 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 (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.0009107/0.3512, allocations: 0.6704 MB / 0.5406 GB, free: 17.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.3531, allocations: 1.14 MB / 0.5417 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3531, allocations: 0 / 0.5417 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3541, allocations: 0.7698 MB / 0.5425 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.3571, allocations: 0.7126 MB / 0.5432 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.3624, allocations: 2.975 MB / 0.5461 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.3629, allocations: 0.695 MB / 0.5468 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.364, allocations: 291.8 kB / 0.5471 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.3642, allocations: 131.2 kB / 0.5472 GB, free: 14.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3642, allocations: 0 / 0.5472 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Templates: time 0.05084/0.4151, allocations: 32.12 MB / 0.5785 GB, free: 1.637 MB / 462.1 MB " [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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.696895368397236]