Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0007381/0.0007381, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007389/0.0007389, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8286/0.8286, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6111/0.6111, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.009e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3675/0.3675, allocations: 124.5 MB / 0.6748 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3691, allocations: 1.423 MB / 0.6762 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.3694, allocations: 30.44 kB / 0.6762 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.3699, allocations: 144.7 kB / 0.6763 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005963/0.3705, allocations: 233.7 kB / 0.6766 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.3709, allocations: 141.1 kB / 0.6767 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006973/0.3716, allocations: 465.8 kB / 0.6771 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.3718, allocations: 61.52 kB / 0.6772 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.3724, allocations: 272.2 kB / 0.6775 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3726, allocations: 153.7 kB / 0.6776 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.3727, allocations: 17.84 kB / 0.6776 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.3732, allocations: 234.7 kB / 0.6778 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.3733, allocations: 52.23 kB / 0.6779 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3734, allocations: 95.78 kB / 0.678 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006713/0.3741, allocations: 400 kB / 0.6784 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3741, allocations: 0 / 0.6784 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3741, allocations: 1.062 kB / 0.6784 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3741, allocations: 0 / 0.6784 GB, free: 6.766 MB / 0.5573 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.0008429/0.375, allocations: 0.555 MB / 0.6789 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.375, allocations: 11.53 kB / 0.6789 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.375, allocations: 55.67 kB / 0.679 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.3751, allocations: 43.47 kB / 0.679 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.3755, allocations: 320.5 kB / 0.6793 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3756, allocations: 15 kB / 0.6793 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.3756, allocations: 29.64 kB / 0.6794 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.3759, allocations: 221 kB / 0.6796 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3759, allocations: 384 / 0.6796 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3759, allocations: 9.578 kB / 0.6796 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3759, allocations: 5.188 kB / 0.6796 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3761, allocations: 134.5 kB / 0.6797 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.3769, allocations: 0.6978 MB / 0.6804 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3771, allocations: 133.7 kB / 0.6805 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.3772, allocations: 60.98 kB / 0.6806 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/0.3773, allocations: 15.62 kB / 0.6806 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3773, allocations: 38.27 kB / 0.6806 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3773, allocations: 1.281 kB / 0.6806 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001122/0.3784, allocations: 0.6093 MB / 0.6812 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3784, allocations: 57.31 kB / 0.6813 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3787, allocations: 355.2 kB / 0.6816 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3787, allocations: 30.58 kB / 0.6817 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.3788, allocations: 175.7 kB / 0.6818 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.3788, allocations: 63.31 kB / 0.6819 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3789, allocations: 34.66 kB / 0.6819 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.3789, allocations: 346.9 kB / 0.6822 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.379, allocations: 44.5 kB / 0.6823 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.379, allocations: 67.41 kB / 0.6824 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3792, allocations: 135.7 kB / 0.6825 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3792, allocations: 0 / 0.6825 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003068/0.3795, allocations: 272 kB / 0.6827 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3795, allocations: 5.469 kB / 0.6827 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3795, allocations: 0 / 0.6827 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.3797, allocations: 98.06 kB / 0.6828 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.3798, allocations: 20.81 kB / 0.6829 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.381, allocations: 1.823 MB / 0.6846 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3811, allocations: 5.719 kB / 0.6846 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3811, allocations: 4.062 kB / 0.6847 GB, free: 3.309 MB / 0.5573 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 0.0001131/0.3813, allocations: 148.3 kB / 0.6848 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.3813, allocations: 38.83 kB / 0.6848 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.3816, allocations: 286.8 kB / 0.6851 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3816, allocations: 1.625 kB / 0.6851 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3817, allocations: 2.312 kB / 0.6851 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3817, allocations: 0 / 0.6851 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3822, allocations: 0.5657 MB / 0.6857 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3822, allocations: 2.266 kB / 0.6857 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.3822, allocations: 9.219 kB / 0.6857 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.3824, allocations: 108 kB / 0.6858 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3824, allocations: 7.203 kB / 0.6858 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.3835, allocations: 1.832 MB / 0.6876 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3835, allocations: 1.844 kB / 0.6876 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.3839, allocations: 410.7 kB / 0.688 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.384, allocations: 43.64 kB / 0.688 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.384, allocations: 5.625 kB / 0.688 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.3841, allocations: 2.094 kB / 0.688 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3841, allocations: 22.72 kB / 0.688 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3841, allocations: 4.438 kB / 0.688 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001935/0.3843, allocations: 261.1 kB / 0.6883 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3843, allocations: 4 kB / 0.6883 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003496/0.3846, allocations: 79.69 kB / 0.6884 GB, free: 1.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 4 * 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.0007378/0.3854, allocations: 1.002 MB / 0.6893 GB, free: 16.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3859, allocations: 297.3 kB / 0.6896 GB, free: 16.28 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3859, allocations: 1.203 kB / 0.6896 GB, free: 16.28 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.3861, allocations: 235.1 kB / 0.6899 GB, free: 16.15 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.3867, allocations: 131.1 kB / 0.69 GB, free: 16.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3897, allocations: 3.109 MB / 0.693 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3898, allocations: 183.1 kB / 0.6932 GB, free: 14.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.39, allocations: 45.83 kB / 0.6932 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.3901, allocations: 101.5 kB / 0.6933 GB, free: 14.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/0.3901, allocations: 0 / 0.6933 GB, free: 14.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4173, allocations: 10.94 MB / 0.704 GB, free: 10.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.283, allocations: 2.438 kB / 0.704 GB, free: 10.75 MB / 0.573 GB " [Timeout remaining time 653] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.643221073783934]