Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001347/0.001347, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001078/0.001078, allocations: 177 kB / 23.36 MB, free: 1.129 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7425/0.7425, allocations: 118.6 MB / 378.9 MB, free: 1.336 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.278e-05, allocations: 2.312 kB / 430.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.2324/0.2324, allocations: 17.2 MB / 448.1 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008945/0.2414, allocations: 5.067 MB / 453.1 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2437, allocations: 117.2 kB / 453.2 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.2448, allocations: 0.5402 MB / 453.8 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.2488, allocations: 1.938 MB / 455.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.2515, allocations: 0.9691 MB / 456.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.2565, allocations: 4.376 MB / 461.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.2572, allocations: 407.2 kB / 461.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.2605, allocations: 2.2 MB / 463.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.262, allocations: 1.258 MB / 464.9 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003736/0.2624, allocations: 190.6 kB / 465.1 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2634, allocations: 394.4 kB / 465.5 MB, free: 9.125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.2636, allocations: 0.5114 MB / 466 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008219/0.2644, allocations: 0.9274 MB / 466.9 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.2666, allocations: 2.288 MB / 469.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2666, allocations: 0 / 469.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2666, allocations: 0 / 469.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.965e-05/0.2667, allocations: 0 / 469.2 MB, free: 5.391 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: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.002903/0.2696, allocations: 2.879 MB / 472.1 MB, free: 2.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2697, allocations: 12.03 kB / 472.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/0.2703, allocations: 475.9 kB / 472.6 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2718, allocations: 1.29 MB / 473.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.2718, allocations: 148.1 kB / 474 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2719, allocations: 192.3 kB / 474.2 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2734, allocations: 1.463 MB / 475.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2734, allocations: 192 / 475.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.2735, allocations: 78.53 kB / 475.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.2735, allocations: 47.94 kB / 475.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.2745, allocations: 0.7506 MB / 476.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/0.2793, allocations: 3.771 MB / 480.3 MB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2805, allocations: 1.216 MB / 481.5 MB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.2809, allocations: 414.8 kB / 481.9 MB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00304/0.284, allocations: 2.012 MB / 483.9 MB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.2847, allocations: 0.764 MB / 484.7 MB, free: 5.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 4.097e-06/0.2847, allocations: 0 / 484.7 MB, free: 5.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.001853/0.2865, allocations: 1.352 MB / 486 MB, free: 4.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.2866, allocations: 158.5 kB / 486.2 MB, free: 4.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.2874, allocations: 1.092 MB / 487.3 MB, free: 3.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/0.2875, allocations: 61.7 kB / 487.4 MB, free: 2.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.2878, allocations: 0.6643 MB / 488 MB, free: 2.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.2882, allocations: 0.7008 MB / 488.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.2885, allocations: 315.3 kB / 489 MB, free: 1.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2887, allocations: 305.1 kB / 489.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.289, allocations: 256.4 kB / 489.6 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.2895, allocations: 0.7746 MB / 490.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.2905, allocations: 0.9008 MB / 491.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.2905, allocations: 0 / 491.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001482/0.292, allocations: 1.099 MB / 492.4 MB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.292, allocations: 41.7 kB / 492.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.292, allocations: 4 kB / 492.4 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.2924, allocations: 146 kB / 492.5 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.2931, allocations: 407.4 kB / 492.9 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.2953, allocations: 3.827 MB / 496.8 MB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.2961, allocations: 159.9 kB / 496.9 MB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.2962, allocations: 59.97 kB / 497 MB, free: 8.777 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0004555/0.2966, allocations: 220.2 kB / 497.2 MB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.2968, allocations: 187.8 kB / 497.4 MB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.299, allocations: 1.993 MB / 499.4 MB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.299, allocations: 20 kB / 499.4 MB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.299, allocations: 4 kB / 499.4 MB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.299, allocations: 11.95 kB / 499.4 MB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.3021, allocations: 2.269 MB / 0.4899 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3021, allocations: 0 / 0.4899 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.3027, allocations: 359.7 kB / 0.4903 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.303, allocations: 152.4 kB / 0.4904 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/0.3031, allocations: 55.95 kB / 0.4905 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.3051, allocations: 3.839 MB / 0.4942 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3051, allocations: 0 / 0.4942 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3067, allocations: 1.529 MB / 0.4957 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.3072, allocations: 304.1 kB / 0.496 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3073, allocations: 47.97 kB / 0.496 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.3077, allocations: 51.97 kB / 0.4961 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.3079, allocations: 149.6 kB / 0.4962 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.308, allocations: 47.97 kB / 0.4963 GB, free: 13.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.3084, allocations: 0.5783 MB / 0.4968 GB, free: 12.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3084, allocations: 0 / 0.4968 GB, free: 12.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001179/0.3096, allocations: 0.6824 MB / 0.4975 GB, free: 12 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.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 (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000305/0.3099, allocations: 183.9 kB / 0.4977 GB, free: 11.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.3114, allocations: 1.362 MB / 0.499 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/0.3114, allocations: 16.75 kB / 0.499 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.3122, allocations: 0.9153 MB / 0.4999 GB, free: 9.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.314, allocations: 0.8626 MB / 0.5008 GB, free: 8.586 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.3195, allocations: 3.711 MB / 0.5044 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3199, allocations: 377.6 kB / 0.5047 GB, free: 4.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.3211, allocations: 443.4 kB / 0.5052 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.3223, allocations: 0.6513 MB / 0.5058 GB, free: 3.348 MB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3223, allocations: 4 kB / 0.5058 GB, free: 3.344 MB / 458.7 MB Notification: Performance of Templates: time 0.04752/0.3698, allocations: 38.74 MB / 0.5436 GB, free: 13.37 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.7182392119430006]