Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 106.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7641/0.7641, allocations: 94.57 MB / 397.2 MB, free: 300 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 87.72 kB / 0.5421 GB, free: 42.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1147, allocations: 71.84 MB / 0.6122 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07251/0.1872, allocations: 65.62 MB / 0.6763 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.211, allocations: 17.65 MB / 0.6935 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.2134, allocations: 79.5 kB / 0.6936 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.2169, allocations: 1.203 MB / 0.6948 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.2247, allocations: 2.862 MB / 0.6976 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.2294, allocations: 1.546 MB / 0.6991 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00612/0.2355, allocations: 3.895 MB / 0.7029 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.2366, allocations: 390.6 kB / 0.7033 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.2398, allocations: 1.626 MB / 0.7049 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.2425, allocations: 1.567 MB / 0.7064 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006258/0.2431, allocations: 192 kB / 0.7066 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.2484, allocations: 1.728 MB / 0.7083 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007401/0.2491, allocations: 0.494 MB / 0.7087 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.2511, allocations: 1.259 MB / 0.71 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.2587, allocations: 3.837 MB / 0.7137 GB, free: 1.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2587, allocations: 0 / 0.7137 GB, free: 1.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2587, allocations: 0 / 0.7137 GB, free: 1.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.882e-05/0.2588, allocations: 0 / 0.7137 GB, free: 1.289 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.006777/0.2656, allocations: 3.073 MB / 0.7167 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2656, allocations: 12.03 kB / 0.7167 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006662/0.2663, allocations: 291.1 kB / 0.717 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.2691, allocations: 1.493 MB / 0.7185 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2693, allocations: 148.1 kB / 0.7186 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.2696, allocations: 192.3 kB / 0.7188 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.2739, allocations: 2.162 MB / 0.7209 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.2739, allocations: 0 / 0.7209 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.2741, allocations: 76 kB / 0.721 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.2742, allocations: 44 kB / 0.721 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/0.2785, allocations: 2.279 MB / 0.7232 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.2944, allocations: 8.966 MB / 0.732 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.2981, allocations: 1.781 MB / 0.7337 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.2999, allocations: 0.8813 MB / 0.7346 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009483/0.3093, allocations: 6.789 MB / 0.7412 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/0.3113, allocations: 0.9522 MB / 0.7422 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 4.418e-06/0.3113, allocations: 0 / 0.7422 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.2789/0.5903, allocations: 2.997 MB / 0.7451 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.5903, allocations: 84.25 kB / 0.7452 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5919, allocations: 1.237 MB / 0.7464 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.5922, allocations: 61.14 kB / 0.7464 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.5927, allocations: 0.8704 MB / 0.7473 GB, free: 126 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/0.5931, allocations: 0.695 MB / 0.748 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000494/0.5936, allocations: 329.9 kB / 0.7483 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.5937, allocations: 307 kB / 0.7486 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.5948, allocations: 0.6479 MB / 0.7492 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.5962, allocations: 0.8863 MB / 0.7501 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.5989, allocations: 1.67 MB / 0.7517 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.5989, allocations: 2.594 kB / 0.7517 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004056/0.6029, allocations: 2.162 MB / 0.7538 GB, free: 123 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.603, allocations: 33.62 kB / 0.7538 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.603, allocations: 4.828 kB / 0.7538 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.6036, allocations: 159 kB / 0.754 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.605, allocations: 405.6 kB / 0.7544 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.6086, allocations: 4.842 MB / 0.7591 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6099, allocations: 162.6 kB / 0.7593 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.6101, allocations: 86.84 kB / 0.7593 GB, free: 118.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0006603/0.6107, allocations: 362.2 kB / 0.7597 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.6111, allocations: 205.9 kB / 0.7599 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/0.6173, allocations: 3.411 MB / 0.7632 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.6173, allocations: 23.91 kB / 0.7632 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6173, allocations: 1.594 kB / 0.7632 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.6174, allocations: 13.55 kB / 0.7633 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.6242, allocations: 4.781 MB / 0.7679 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.6242, allocations: 4 kB / 0.7679 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6254, allocations: 403.6 kB / 0.7683 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.6259, allocations: 156.5 kB / 0.7685 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.626, allocations: 76.8 kB / 0.7685 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.6286, allocations: 4.839 MB / 0.7733 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6286, allocations: 3.969 kB / 0.7733 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.6336, allocations: 3.326 MB / 0.7765 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.6342, allocations: 0.5322 MB / 0.777 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.6344, allocations: 60.42 kB / 0.7771 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.6352, allocations: 54.25 kB / 0.7771 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.6355, allocations: 177.2 kB / 0.7773 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.6356, allocations: 83.59 kB / 0.7774 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008533/0.6365, allocations: 0.8626 MB / 0.7782 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6365, allocations: 3.422 kB / 0.7782 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001787/0.6383, allocations: 0.8693 MB / 0.7791 GB, free: 106.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.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 (225): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009539/0.6392, allocations: 0.8449 MB / 0.7799 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.6423, allocations: 2.138 MB / 0.782 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6423, allocations: 0 / 0.782 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.6441, allocations: 1.369 MB / 0.7833 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6467, allocations: 0.654 MB / 0.784 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.652, allocations: 3.921 MB / 0.7878 GB, free: 97.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.6526, allocations: 1.473 MB / 0.7892 GB, free: 96.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00149/0.6541, allocations: 0.5161 MB / 0.7897 GB, free: 95.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.6547, allocations: 239.3 kB / 0.79 GB, free: 95.74 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.6547, allocations: 0 / 0.79 GB, free: 95.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.05251/0.7072, allocations: 41.9 MB / 0.8309 GB, free: 54.14 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.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: 7.320763790979981]