Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.000787/0.000787, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002026, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001085/0.001085, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002273, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9253/0.9253, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08994/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6761/0.6761, allocations: 118.7 MB / 362.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05354/0.7296, allocations: 35.84 MB / 398.7 MB, free: 13.07 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.728e-05, allocations: 2.312 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.01162/0.01164, allocations: 17.27 MB / 417.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007955/0.01959, allocations: 5.083 MB / 422.4 MB, free: 5.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.02127, allocations: 111 kB / 422.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.0222, allocations: 0.5578 MB / 423 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.02515, allocations: 1.928 MB / 425 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.02683, allocations: 0.9546 MB / 425.9 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.181/0.2078, allocations: 4.382 MB / 430.3 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000795/0.2086, allocations: 403 kB / 430.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.2123, allocations: 2.381 MB / 433.1 MB, free: 4.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.2143, allocations: 1.249 MB / 434.3 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004711/0.2148, allocations: 195.1 kB / 434.5 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2159, allocations: 402.2 kB / 434.9 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.2162, allocations: 375.3 kB / 435.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008886/0.217, allocations: 0.7838 MB / 436.1 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.219, allocations: 2.137 MB / 438.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.2191, allocations: 3.5 kB / 438.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2191, allocations: 0 / 438.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.2192, allocations: 0 / 438.2 MB, free: 3.633 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.004663/0.2238, allocations: 3.545 MB / 441.7 MB, free: 18.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2239, allocations: 10.69 kB / 441.7 MB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.2245, allocations: 464.9 kB / 442.2 MB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.2261, allocations: 1.291 MB / 443.5 MB, free: 17.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.2262, allocations: 146.6 kB / 443.6 MB, free: 17.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.2264, allocations: 195.8 kB / 443.8 MB, free: 17.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2279, allocations: 1.456 MB / 445.3 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2279, allocations: 4.281 kB / 445.3 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.228, allocations: 76.84 kB / 445.4 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.228, allocations: 50.22 kB / 445.4 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.2288, allocations: 0.7544 MB / 446.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.2338, allocations: 3.784 MB / 450 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2352, allocations: 1.219 MB / 451.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.2357, allocations: 415.8 kB / 451.6 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003436/0.2391, allocations: 1.995 MB / 453.6 MB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/0.24, allocations: 0.7587 MB / 454.3 MB, free: 11.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 4.118e-06/0.24, allocations: 0.7188 kB / 454.3 MB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.002238/0.2422, allocations: 1.357 MB / 455.7 MB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.2423, allocations: 154.4 kB / 455.8 MB, free: 10.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/0.2432, allocations: 1.092 MB / 456.9 MB, free: 9.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.2432, allocations: 60.58 kB / 457 MB, free: 9.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.2439, allocations: 0.6666 MB / 457.7 MB, free: 8.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.2443, allocations: 0.6947 MB / 458.4 MB, free: 8.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.2447, allocations: 328.3 kB / 458.7 MB, free: 7.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.2447, allocations: 305.1 kB / 459 MB, free: 7.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.2451, allocations: 257.1 kB / 459.2 MB, free: 7.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.2457, allocations: 0.7778 MB / 460 MB, free: 6.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2467, allocations: 0.9126 MB / 460.9 MB, free: 5.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.2468, allocations: 0 / 460.9 MB, free: 5.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001496/0.2483, allocations: 1.104 MB / 462 MB, free: 4.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.2483, allocations: 35.73 kB / 462.1 MB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2483, allocations: 4 kB / 462.1 MB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.2487, allocations: 142.8 kB / 462.2 MB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2498, allocations: 470.6 kB / 462.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.2524, allocations: 3.827 MB / 466.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.2533, allocations: 159.5 kB / 466.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2534, allocations: 61.16 kB / 466.7 MB, free: 15.62 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.0004578/0.2539, allocations: 213.8 kB / 466.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.2541, allocations: 194.4 kB / 467.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.2567, allocations: 1.993 MB / 469.1 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2567, allocations: 20 kB / 469.1 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2568, allocations: 0 / 469.1 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.2568, allocations: 15.52 kB / 469.1 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.2604, allocations: 2.27 MB / 471.4 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.2604, allocations: 8.188 kB / 471.4 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/0.2613, allocations: 396.4 kB / 471.8 MB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.2618, allocations: 306 kB / 472.1 MB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003745/0.2622, allocations: 150.9 kB / 472.2 MB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.2623, allocations: 55.95 kB / 472.3 MB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.2647, allocations: 3.823 MB / 476.1 MB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2647, allocations: 0 / 476.1 MB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.2666, allocations: 1.531 MB / 477.6 MB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.2668, allocations: 47.89 kB / 477.7 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.2673, allocations: 51.97 kB / 477.7 MB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.2676, allocations: 150.4 kB / 477.9 MB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.2677, allocations: 48.16 kB / 477.9 MB, free: 4.637 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.2682, allocations: 0.5728 MB / 478.5 MB, free: 4.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2682, allocations: 0 / 478.5 MB, free: 4.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001392/0.2696, allocations: 0.6863 MB / 479.2 MB, free: 3.449 MB / 442.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.0003132/0.2699, allocations: 195.8 kB / 479.4 MB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.2717, allocations: 1.372 MB / 480.8 MB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.175e-05/0.2717, allocations: 27.38 kB / 480.8 MB, free: 1.852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2728, allocations: 1.061 MB / 481.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/0.2765, allocations: 4.398 MB / 486.2 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.308, allocations: 3.886 MB / 490.1 MB, free: 7.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3083, allocations: 381 kB / 490.5 MB, free: 7.348 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.3097, allocations: 445.1 kB / 490.9 MB, free: 6.949 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.3108, allocations: 0.6544 MB / 491.6 MB, free: 6.281 MB / 458.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3108, allocations: 4 kB / 491.6 MB, free: 6.277 MB / 458.7 MB Notification: Performance of Templates: time 0.04706/0.3579, allocations: 40.25 MB / 0.5194 GB, free: 15 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.324063539505005]