Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.0008256/0.0008256, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007744/0.0007744, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8806/0.8806, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4983/0.4983, allocations: 80.18 MB / 340.1 MB, free: 7.547 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 3.938 kB / 0.4936 GB, free: 6.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.697e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.03091/0.03093, allocations: 52.08 MB / 0.5445 GB, free: 3.746 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.04375, allocations: 17.38 MB / 0.5614 GB, free: 2.316 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.04494, allocations: 110.9 kB / 0.5615 GB, free: 2.207 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.04632, allocations: 0.8256 MB / 0.5624 GB, free: 1.375 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.04918, allocations: 1.881 MB / 0.5642 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.0515, allocations: 1.385 MB / 0.5655 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.05364, allocations: 2.903 MB / 0.5684 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004185/0.05406, allocations: 306.9 kB / 0.5687 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.05568, allocations: 1.578 MB / 0.5702 GB, free: 9.254 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.05629, allocations: 0.7592 MB / 0.571 GB, free: 8.492 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.05641, allocations: 128 kB / 0.5711 GB, free: 8.367 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.05837, allocations: 1.154 MB / 0.5722 GB, free: 7.211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.05857, allocations: 354.2 kB / 0.5725 GB, free: 6.863 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.05898, allocations: 0.6272 MB / 0.5732 GB, free: 6.234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.06119, allocations: 2.745 MB / 0.5758 GB, free: 3.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.06119, allocations: 0 / 0.5758 GB, free: 3.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.06119, allocations: 0 / 0.5758 GB, free: 3.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.06121, allocations: 0 / 0.5758 GB, free: 3.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002251/0.06346, allocations: 2.412 MB / 0.5782 GB, free: 1.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.06349, allocations: 13.47 kB / 0.5782 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.06382, allocations: 266.5 kB / 0.5785 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.06522, allocations: 1.231 MB / 0.5797 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.06526, allocations: 86.33 kB / 0.5797 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.06537, allocations: 120 kB / 0.5799 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.06658, allocations: 1.326 MB / 0.5811 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.0666, allocations: 11.94 kB / 0.5812 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.06665, allocations: 44 kB / 0.5812 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.06667, allocations: 31.94 kB / 0.5812 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.06781, allocations: 1.157 MB / 0.5824 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.07099, allocations: 3.511 MB / 0.5858 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.07191, allocations: 0.8692 MB / 0.5866 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.07234, allocations: 419.2 kB / 0.587 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/0.07418, allocations: 1.551 MB / 0.5886 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.07421, allocations: 43.56 kB / 0.5886 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 1.903e-06/0.07421, allocations: 0 / 0.5886 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.001907/0.07612, allocations: 1.462 MB / 0.59 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.07615, allocations: 64.41 kB / 0.5901 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.07713, allocations: 1.268 MB / 0.5913 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.07718, allocations: 45.7 kB / 0.5914 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.07758, allocations: 0.8166 MB / 0.5922 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.07775, allocations: 372.7 kB / 0.5925 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.07791, allocations: 174.6 kB / 0.5927 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.07799, allocations: 345.9 kB / 0.593 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.07834, allocations: 293.9 kB / 0.5933 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.0788, allocations: 0.5573 MB / 0.5938 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.07966, allocations: 0.8203 MB / 0.5946 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.07966, allocations: 0 / 0.5946 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001271/0.08093, allocations: 1.182 MB / 0.5958 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.08095, allocations: 8.469 kB / 0.5958 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.08096, allocations: 4 kB / 0.5958 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.08129, allocations: 170.4 kB / 0.596 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.08166, allocations: 199.7 kB / 0.5962 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.08407, allocations: 4.416 MB / 0.6005 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.0844, allocations: 91.34 kB / 0.6006 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.08446, allocations: 47.98 kB / 0.6006 GB, free: 9.266 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0003127/0.08477, allocations: 273.7 kB / 0.6009 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.08492, allocations: 178.9 kB / 0.601 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.08658, allocations: 1.566 MB / 0.6026 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.08658, allocations: 8 kB / 0.6026 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.08659, allocations: 4 kB / 0.6026 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.08659, allocations: 7.984 kB / 0.6026 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.0888, allocations: 2.207 MB / 0.6047 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.0888, allocations: 4.031 kB / 0.6047 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.08908, allocations: 155.7 kB / 0.6049 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.08935, allocations: 170.3 kB / 0.6051 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.08939, allocations: 39.86 kB / 0.6051 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.09161, allocations: 4.423 MB / 0.6094 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09161, allocations: 4.031 kB / 0.6094 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.09319, allocations: 1.559 MB / 0.6109 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.09347, allocations: 266.5 kB / 0.6112 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.09356, allocations: 27.89 kB / 0.6112 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.09384, allocations: 31.92 kB / 0.6113 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.09393, allocations: 76.84 kB / 0.6113 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.09397, allocations: 39.98 kB / 0.6114 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007352/0.09471, allocations: 0.8859 MB / 0.6122 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.09471, allocations: 0 / 0.6122 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009483/0.09566, allocations: 0.5808 MB / 0.6128 GB, free: 12.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006259/0.09628, allocations: 0.6753 MB / 0.6135 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.09744, allocations: 1.134 MB / 0.6146 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.09744, allocations: 0 / 0.6146 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.09807, allocations: 0.7676 MB / 0.6153 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.09954, allocations: 0.6752 MB / 0.616 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.1028, allocations: 2.99 MB / 0.6189 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1033, allocations: 0.6933 MB / 0.6196 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.1035, allocations: 152.4 kB / 0.6197 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/0.1035, allocations: 0 / 0.6197 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of Templates: time 0.2004/0.3039, allocations: 49.26 MB / 0.6678 GB, free: 125.6 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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: 8.669822157360613]