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.001388/0.001388, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001156/0.001156, allocations: 181 kB / 23.36 MB, free: 1.125 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.946/0.946, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.6983/0.6983, allocations: 118.6 MB / 378.9 MB, free: 1.375 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 1.963e-06/1.963e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.546e-05, allocations: 5.547 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2944/0.2945, allocations: 128.8 MB / 0.5465 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.2954, allocations: 0.7897 MB / 0.5473 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2955, allocations: 27.75 kB / 0.5473 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.2959, allocations: 82.67 kB / 0.5474 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.2962, allocations: 182.7 kB / 0.5476 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2965, allocations: 123.7 kB / 0.5477 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.2968, allocations: 461.6 kB / 0.5481 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.297, allocations: 70.09 kB / 0.5482 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.2973, allocations: 279.1 kB / 0.5485 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2975, allocations: 151.6 kB / 0.5486 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2975, allocations: 19.94 kB / 0.5486 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.2977, allocations: 79.88 kB / 0.5487 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.2977, allocations: 51.77 kB / 0.5488 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.2978, allocations: 99.7 kB / 0.5489 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.2981, allocations: 298.8 kB / 0.5492 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2981, allocations: 0 / 0.5492 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2981, allocations: 8 kB / 0.5492 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2981, allocations: 0 / 0.5492 GB, free: 7.855 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.000543/0.2986, allocations: 0.5413 MB / 0.5497 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2987, allocations: 8.031 kB / 0.5497 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.2987, allocations: 40.89 kB / 0.5497 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.2991, allocations: 342.3 kB / 0.5501 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2991, allocations: 12.75 kB / 0.5501 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.2991, allocations: 24.33 kB / 0.5501 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2993, allocations: 155.4 kB / 0.5502 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2993, allocations: 192 / 0.5502 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2993, allocations: 12.31 kB / 0.5503 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2993, allocations: 7.938 kB / 0.5503 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.2994, allocations: 54.73 kB / 0.5503 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.2999, allocations: 493.8 kB / 0.5508 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3, allocations: 94.47 kB / 0.5509 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3001, allocations: 36.84 kB / 0.5509 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.3001, allocations: 4 kB / 0.5509 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3001, allocations: 38.48 kB / 0.551 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 9.71e-07/0.3001, allocations: 4 kB / 0.551 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006868/0.3008, allocations: 444.7 kB / 0.5514 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3009, allocations: 55.39 kB / 0.5514 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.301, allocations: 271 kB / 0.5517 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.301, allocations: 25.7 kB / 0.5517 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.3011, allocations: 161 kB / 0.5519 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3011, allocations: 63.53 kB / 0.5519 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3011, allocations: 33.69 kB / 0.552 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.3012, allocations: 350.7 kB / 0.5523 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.3012, allocations: 15.98 kB / 0.5523 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.3013, allocations: 37.59 kB / 0.5523 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.268e-05/0.3013, allocations: 61.61 kB / 0.5524 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3013, allocations: 0 / 0.5524 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001765/0.3015, allocations: 153.8 kB / 0.5526 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3015, allocations: 6.031 kB / 0.5526 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3015, allocations: 0 / 0.5526 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.3017, allocations: 81.94 kB / 0.5526 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.3017, allocations: 19.98 kB / 0.5527 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.3029, allocations: 1.453 MB / 0.5541 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.3029, allocations: 4 kB / 0.5541 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3029, allocations: 4 kB / 0.5541 GB, free: 2.523 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.332e-05/0.303, allocations: 132.5 kB / 0.5542 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.303, allocations: 19.98 kB / 0.5542 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3033, allocations: 193.3 kB / 0.5544 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3033, allocations: 0 / 0.5544 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3033, allocations: 1.812 kB / 0.5544 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3033, allocations: 4 kB / 0.5544 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.3036, allocations: 427.3 kB / 0.5548 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3036, allocations: 0 / 0.5548 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.3037, allocations: 20.09 kB / 0.5548 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.3038, allocations: 88.7 kB / 0.5549 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3038, allocations: 8 kB / 0.5549 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008189/0.3046, allocations: 1.451 MB / 0.5564 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3046, allocations: 3.938 kB / 0.5564 GB, free: 44 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.3049, allocations: 300.4 kB / 0.5566 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.3049, allocations: 27.81 kB / 0.5567 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3049, allocations: 8 kB / 0.5567 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.305, allocations: 9 kB / 0.5567 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.305, allocations: 15.97 kB / 0.5567 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.305, allocations: 7.984 kB / 0.5567 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.018e-05/0.3051, allocations: 116.7 kB / 0.5568 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3051, allocations: 0 / 0.5568 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002009/0.3053, allocations: 71.94 kB / 0.5569 GB, free: 15.46 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.0001161/0.3054, allocations: 101.1 kB / 0.557 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3057, allocations: 250.8 kB / 0.5572 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3057, allocations: 4 kB / 0.5572 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3059, allocations: 233.7 kB / 0.5575 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.3061, allocations: 76.3 kB / 0.5575 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.307, allocations: 0.6447 MB / 0.5582 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3072, allocations: 100.6 kB / 0.5583 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3073, allocations: 26.98 kB / 0.5583 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.3074, allocations: 103.3 kB / 0.5584 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.3074, allocations: 0 / 0.5584 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.005921/0.3133, allocations: 4.176 MB / 0.5625 GB, free: 9.781 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 -s gbode -gbm=radauIIA3 -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.635663101449609]