Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.0009239/0.0009239, allocations: 80.94 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.001533/0.001533, allocations: 177 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 0.8656/0.8656, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.6465/0.6465, allocations: 118.6 MB / 378.9 MB, free: 1.367 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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 4 kB / 430.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/1.117e-05, allocations: 2.312 kB / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2357/0.2357, allocations: 128.8 MB / 0.5465 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.2364, allocations: 0.7897 MB / 0.5472 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2366, allocations: 31.69 kB / 0.5473 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.2369, allocations: 82.66 kB / 0.5473 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.2371, allocations: 170.8 kB / 0.5475 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.2373, allocations: 135.6 kB / 0.5476 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.2377, allocations: 469.6 kB / 0.5481 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2378, allocations: 62.16 kB / 0.5481 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.2381, allocations: 283 kB / 0.5484 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2383, allocations: 147.6 kB / 0.5485 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2383, allocations: 20 kB / 0.5486 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2384, allocations: 83.88 kB / 0.5486 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2384, allocations: 55.7 kB / 0.5487 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.2385, allocations: 95.7 kB / 0.5488 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.2388, allocations: 302.8 kB / 0.5491 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2388, allocations: 0 / 0.5491 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2388, allocations: 0 / 0.5491 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2388, allocations: 0 / 0.5491 GB, free: 7.953 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005288/0.2393, allocations: 0.5414 MB / 0.5496 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.2393, allocations: 12.03 kB / 0.5496 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.2394, allocations: 44.89 kB / 0.5497 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2397, allocations: 326.3 kB / 0.55 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2397, allocations: 16.75 kB / 0.55 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.2398, allocations: 24.31 kB / 0.55 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2399, allocations: 167.4 kB / 0.5502 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2399, allocations: 192 / 0.5502 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2399, allocations: 8.375 kB / 0.5502 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.24, allocations: 7.938 kB / 0.5502 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.24, allocations: 42.81 kB / 0.5502 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.2405, allocations: 493.8 kB / 0.5507 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2407, allocations: 106.4 kB / 0.5508 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.2407, allocations: 32.84 kB / 0.5508 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.2407, allocations: 4 kB / 0.5508 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2408, allocations: 38.56 kB / 0.5509 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 8.52e-07/0.2408, allocations: 0 / 0.5509 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006831/0.2414, allocations: 450 kB / 0.5513 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2415, allocations: 55.41 kB / 0.5513 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.2418, allocations: 267 kB / 0.5516 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2418, allocations: 25.7 kB / 0.5516 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2419, allocations: 161 kB / 0.5518 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2419, allocations: 59.52 kB / 0.5518 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.242, allocations: 29.72 kB / 0.5519 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.242, allocations: 354.6 kB / 0.5522 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2421, allocations: 12 kB / 0.5522 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.2421, allocations: 37.64 kB / 0.5523 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.2422, allocations: 75.5 kB / 0.5523 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2422, allocations: 0 / 0.5523 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001703/0.2423, allocations: 152.7 kB / 0.5525 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.2423, allocations: 4 kB / 0.5525 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2423, allocations: 4 kB / 0.5525 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.2425, allocations: 74 kB / 0.5525 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.2425, allocations: 19.98 kB / 0.5526 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008526/0.2434, allocations: 1.446 MB / 0.554 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.2434, allocations: 8 kB / 0.554 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2434, allocations: 4 kB / 0.554 GB, free: 2.625 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.2435, allocations: 124.7 kB / 0.5541 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.2435, allocations: 15.98 kB / 0.5541 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.2437, allocations: 201.2 kB / 0.5543 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2438, allocations: 0 / 0.5543 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2438, allocations: 4 kB / 0.5543 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2438, allocations: 0 / 0.5543 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.2441, allocations: 427.3 kB / 0.5547 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2441, allocations: 1.938 kB / 0.5547 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.2441, allocations: 15.98 kB / 0.5547 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.2443, allocations: 88.81 kB / 0.5548 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2443, allocations: 4 kB / 0.5548 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007749/0.2451, allocations: 1.446 MB / 0.5562 GB, free: 168 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2451, allocations: 8.484 kB / 0.5563 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2453, allocations: 300.3 kB / 0.5565 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.2453, allocations: 35.73 kB / 0.5566 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2454, allocations: 4.75 kB / 0.5566 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.2454, allocations: 11.94 kB / 0.5566 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.2454, allocations: 15.97 kB / 0.5566 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2454, allocations: 3.984 kB / 0.5566 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.2455, allocations: 108.8 kB / 0.5567 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.2455, allocations: 0 / 0.5567 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001963/0.2457, allocations: 79.92 kB / 0.5568 GB, free: 15.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.2458, allocations: 94.16 kB / 0.5569 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.2461, allocations: 266 kB / 0.5571 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2461, allocations: 4 kB / 0.5571 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2463, allocations: 231.1 kB / 0.5574 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2465, allocations: 72.34 kB / 0.5574 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.2474, allocations: 0.6306 MB / 0.558 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.2474, allocations: 96.61 kB / 0.5581 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.2475, allocations: 35.05 kB / 0.5582 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.2478, allocations: 99.34 kB / 0.5583 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.2478, allocations: 0 / 0.5583 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.005664/0.2535, allocations: 4.195 MB / 0.5624 GB, free: 9.887 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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: 3.187106748111546]