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.001036/0.001036, allocations: 80.88 kB / 19.94 MB, free: 4.547 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: 181 kB / 23.36 MB, free: 1.133 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.081/1.081, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.7772/0.7772, allocations: 118.6 MB / 378.9 MB, free: 1.379 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.854e-06/1.854e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.115e-05, allocations: 10.25 kB / 430.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01199/0.01201, allocations: 12.74 MB / 443.6 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2434/0.2554, allocations: 4.013 MB / 447.6 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.2569, allocations: 119.1 kB / 447.7 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.2577, allocations: 374.3 kB / 448.1 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.26, allocations: 1.25 MB / 449.3 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.2623, allocations: 0.7951 MB / 450.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.2652, allocations: 3.025 MB / 453.2 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.2657, allocations: 328 kB / 453.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.2679, allocations: 1.577 MB / 455.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.269, allocations: 0.7629 MB / 455.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.2692, allocations: 131.2 kB / 456 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/0.27, allocations: 301.9 kB / 456.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.2702, allocations: 368.6 kB / 456.6 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.2708, allocations: 0.6412 MB / 457.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2723, allocations: 1.777 MB / 459 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2723, allocations: 0 / 459 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2723, allocations: 2.875 kB / 459 MB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.213e-05/0.2724, allocations: 0 / 459 MB, free: 12.28 MB / 410.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.002172/0.2746, allocations: 2.376 MB / 461.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2746, allocations: 9.812 kB / 461.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.275, allocations: 312.6 kB / 461.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.2764, allocations: 1.301 MB / 463 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.2765, allocations: 92.08 kB / 463.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/0.2766, allocations: 128.3 kB / 463.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.2773, allocations: 0.9218 MB / 464.2 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2773, allocations: 4.375 kB / 464.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2773, allocations: 51.94 kB / 464.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2773, allocations: 28 kB / 464.2 MB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.2777, allocations: 414.6 kB / 464.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.2802, allocations: 2.659 MB / 467.3 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.2807, allocations: 0.6424 MB / 467.9 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.2809, allocations: 216.6 kB / 468.2 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.2821, allocations: 1.041 MB / 469.2 MB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2822, allocations: 43.56 kB / 469.2 MB, free: 3.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.814e-06/0.2822, allocations: 0 / 469.2 MB, free: 3.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.001043/0.2832, allocations: 0.7855 MB / 470 MB, free: 3.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.2832, allocations: 64.39 kB / 470.1 MB, free: 2.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.284, allocations: 1.223 MB / 471.3 MB, free: 1.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.284, allocations: 41.7 kB / 471.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.2842, allocations: 0.5649 MB / 471.9 MB, free: 1.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2844, allocations: 357.6 kB / 472.3 MB, free: 1.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.2845, allocations: 177.4 kB / 472.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2845, allocations: 350 kB / 472.8 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2846, allocations: 97.95 kB / 472.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.2849, allocations: 0.5471 MB / 473.4 MB, free: 15.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.2853, allocations: 484.4 kB / 473.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2853, allocations: 4 kB / 473.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007012/0.286, allocations: 0.6188 MB / 474.5 MB, free: 14.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2861, allocations: 13.34 kB / 474.5 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2861, allocations: 4 kB / 474.5 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.2865, allocations: 185.5 kB / 474.7 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.2869, allocations: 203.7 kB / 474.9 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.2891, allocations: 3.805 MB / 478.7 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.2895, allocations: 91.39 kB / 478.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2895, allocations: 32.69 kB / 478.8 MB, free: 10.17 MB / 426.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.0002153/0.2897, allocations: 172.4 kB / 479 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2899, allocations: 139.8 kB / 479.1 MB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2909, allocations: 1.097 MB / 480.2 MB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2909, allocations: 8 kB / 480.3 MB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2909, allocations: 4 kB / 480.3 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.291, allocations: 4.797 kB / 480.3 MB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.2924, allocations: 1.351 MB / 481.6 MB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2924, allocations: 0 / 481.6 MB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.2927, allocations: 147.8 kB / 481.8 MB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.2931, allocations: 190.9 kB / 481.9 MB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.2931, allocations: 23.98 kB / 482 MB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.2951, allocations: 3.823 MB / 485.8 MB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2951, allocations: 0 / 485.8 MB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.2959, allocations: 0.8387 MB / 486.6 MB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.2962, allocations: 201.3 kB / 486.8 MB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.2963, allocations: 27.89 kB / 486.9 MB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2965, allocations: 23.98 kB / 486.9 MB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2966, allocations: 72.86 kB / 486.9 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2966, allocations: 19.98 kB / 487 MB, free: 1.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004831/0.2971, allocations: 0.6728 MB / 487.6 MB, free: 1.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2971, allocations: 4 kB / 487.6 MB, free: 1.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000699/0.2978, allocations: 451.1 kB / 488.1 MB, free: 0.9062 MB / 426.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.0002209/0.298, allocations: 157.1 kB / 488.2 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007687/0.2988, allocations: 0.8083 MB / 489 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.2988, allocations: 16.19 kB / 489.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.2993, allocations: 0.6398 MB / 489.7 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.3008, allocations: 0.7084 MB / 490.4 MB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.3046, allocations: 2.812 MB / 493.2 MB, free: 11.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3048, allocations: 278 kB / 493.5 MB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006989/0.3055, allocations: 279 kB / 493.8 MB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008512/0.3064, allocations: 0.5029 MB / 494.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3064, allocations: 0 / 494.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of Templates: time 0.03415/0.3405, allocations: 27.89 MB / 0.5099 GB, free: 15.52 MB / 474.7 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=240 -s gbode -gbm=radauIIA3 -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.4032257767394185]