Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.0009359/0.0009359, 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.00105/0.00105, 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.125/1.125, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.7326/0.7326, allocations: 118.6 MB / 378.9 MB, free: 1.359 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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.259e-05, allocations: 5.969 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.2184/0.2184, allocations: 13.38 MB / 444.2 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.2256, allocations: 4.395 MB / 448.6 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2267, allocations: 77.25 kB / 448.7 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.228, allocations: 0.7673 MB / 449.5 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.2309, allocations: 1.569 MB / 451.1 MB, free: 15.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2327, allocations: 0.8063 MB / 451.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.2358, allocations: 3.165 MB / 455 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.2363, allocations: 302.1 kB / 455.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.2392, allocations: 1.913 MB / 457.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2405, allocations: 0.9113 MB / 458.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.2407, allocations: 134.5 kB / 458.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.2415, allocations: 336.7 kB / 458.6 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.2417, allocations: 455.2 kB / 459.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.2423, allocations: 0.671 MB / 459.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2439, allocations: 1.806 MB / 461.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2439, allocations: 0 / 461.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2439, allocations: 0 / 461.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.98e-05/0.244, allocations: 0.5 kB / 461.5 MB, free: 11.43 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002494/0.2464, allocations: 2.398 MB / 463.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2465, allocations: 8.031 kB / 463.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.247, allocations: 349.1 kB / 464.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.2482, allocations: 1.124 MB / 465.4 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.2483, allocations: 99.66 kB / 465.5 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.2484, allocations: 136.3 kB / 465.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.2492, allocations: 1.018 MB / 466.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2492, allocations: 3.938 kB / 466.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.2493, allocations: 52 kB / 466.7 MB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2493, allocations: 32 kB / 466.7 MB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.2499, allocations: 0.5166 MB / 467.3 MB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.253, allocations: 2.645 MB / 469.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.2538, allocations: 0.8218 MB / 470.7 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2541, allocations: 285.5 kB / 471 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.256, allocations: 1.444 MB / 472.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.2564, allocations: 0.5407 MB / 473 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 2.815e-06/0.2564, allocations: 0 / 473 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.001249/0.2577, allocations: 0.9619 MB / 473.9 MB, free: 15.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.2577, allocations: 124.1 kB / 474.1 MB, free: 15.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.2585, allocations: 1.061 MB / 475.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.2586, allocations: 49.7 kB / 475.2 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.2589, allocations: 0.5109 MB / 475.7 MB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.2592, allocations: 498.7 kB / 476.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.2594, allocations: 241.7 kB / 476.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2595, allocations: 362.5 kB / 476.8 MB, free: 13.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.2598, allocations: 183.1 kB / 476.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.2602, allocations: 0.5337 MB / 477.5 MB, free: 12.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.2608, allocations: 0.6299 MB / 478.1 MB, free: 11.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2608, allocations: 0 / 478.1 MB, free: 11.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009311/0.2617, allocations: 0.7961 MB / 478.9 MB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.2618, allocations: 33.7 kB / 478.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2618, allocations: 4 kB / 478.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.2621, allocations: 93.56 kB / 479 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.2626, allocations: 287.6 kB / 479.3 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2643, allocations: 2.552 MB / 481.9 MB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.2648, allocations: 111.2 kB / 482 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.2649, allocations: 47.97 kB / 482 MB, free: 7.668 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002985/0.2652, allocations: 180.5 kB / 482.2 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.2654, allocations: 151.8 kB / 482.3 MB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.2669, allocations: 1.326 MB / 483.7 MB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.2669, allocations: 12 kB / 483.7 MB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2669, allocations: 4 kB / 483.7 MB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.2669, allocations: 3.984 kB / 483.7 MB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.2691, allocations: 1.669 MB / 485.4 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2691, allocations: 0 / 485.4 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.2696, allocations: 247.7 kB / 485.6 MB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.2698, allocations: 102.5 kB / 485.7 MB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.2699, allocations: 39.97 kB / 485.7 MB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2712, allocations: 2.554 MB / 488.3 MB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2712, allocations: 0 / 488.3 MB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.2723, allocations: 1.128 MB / 489.4 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.2727, allocations: 280.9 kB / 489.7 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.2728, allocations: 24 kB / 489.7 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.2731, allocations: 42.77 kB / 489.8 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.2733, allocations: 101 kB / 489.9 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.2733, allocations: 36.02 kB / 489.9 MB, free: 15.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004204/0.2737, allocations: 0.5602 MB / 490.5 MB, free: 15.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2737, allocations: 0 / 490.5 MB, free: 15.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008187/0.2746, allocations: 499.1 kB / 490.9 MB, free: 14.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.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 (137): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0011/0.2757, allocations: 0.5193 MB / 491.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.2766, allocations: 0.9544 MB / 492.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/0.2767, allocations: 16 kB / 492.4 MB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.2772, allocations: 0.6233 MB / 493.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.2786, allocations: 0.6382 MB / 493.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.2826, allocations: 2.977 MB / 496.7 MB, free: 9.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.2828, allocations: 316 kB / 497 MB, free: 9.008 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008564/0.2837, allocations: 346.9 kB / 497.3 MB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008618/0.2846, allocations: 0.4912 MB / 497.8 MB, free: 8.195 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2846, allocations: 0 / 497.8 MB, free: 8.195 MB / 442.7 MB Notification: Performance of Templates: time 0.03543/0.32, allocations: 28.28 MB / 0.5138 GB, free: 12.51 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_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.512097287923098]