Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.001825/0.001825, allocations: 114.7 kB / 17.6 MB, free: 4.691 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.002179/0.002179, allocations: 182 kB / 20.77 MB, free: 1.535 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.678/1.678, allocations: 225.6 MB / 249.4 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.735/0.735, allocations: 94.6 MB / 399.1 MB, free: 15.78 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 83.86 kB / 0.5444 GB, free: 12.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5655, allocations: 71.84 MB / 0.6145 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2421/0.8077, allocations: 165.4 MB / 0.7761 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.8287, allocations: 13.07 MB / 0.7888 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.83, allocations: 39.75 kB / 0.7889 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.8323, allocations: 0.5824 MB / 0.7894 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.8363, allocations: 0.9047 MB / 0.7903 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.8391, allocations: 0.8136 MB / 0.7911 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.8416, allocations: 1.361 MB / 0.7924 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006886/0.8423, allocations: 203 kB / 0.7926 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.8436, allocations: 0.5679 MB / 0.7932 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000948/0.8445, allocations: 0.6769 MB / 0.7938 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.8447, allocations: 80 kB / 0.7939 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.8482, allocations: 1.4 MB / 0.7953 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.8484, allocations: 199.1 kB / 0.7955 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.849, allocations: 0.5128 MB / 0.796 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.8526, allocations: 1.597 MB / 0.7975 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8526, allocations: 0 / 0.7975 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8526, allocations: 3.938 kB / 0.7975 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.8526, allocations: 0 / 0.7975 GB, free: 8.977 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002697/0.8553, allocations: 1.466 MB / 0.799 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.8553, allocations: 12.03 kB / 0.799 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.8555, allocations: 110.7 kB / 0.7991 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.8558, allocations: 132.1 kB / 0.7992 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8571, allocations: 0.7882 MB / 0.8 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.8572, allocations: 50 kB / 0.8 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.8573, allocations: 71.95 kB / 0.8001 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.8586, allocations: 0.7391 MB / 0.8008 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.8586, allocations: 0 / 0.8008 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.8588, allocations: 28 kB / 0.8009 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.8588, allocations: 16 kB / 0.8009 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.8599, allocations: 0.6364 MB / 0.8015 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.864, allocations: 3.105 MB / 0.8045 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.8654, allocations: 0.5345 MB / 0.805 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.8658, allocations: 226.5 kB / 0.8053 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002869/0.8687, allocations: 2.596 MB / 0.8078 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.8688, allocations: 39.12 kB / 0.8078 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=55): time 2.244e-06/0.8688, allocations: 0 / 0.8078 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56): time 0.003751/0.8725, allocations: 1.798 MB / 0.8096 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.8726, allocations: 59.97 kB / 0.8096 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.8736, allocations: 0.6928 MB / 0.8103 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.8736, allocations: 37.7 kB / 0.8104 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.874, allocations: 440.9 kB / 0.8108 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.8741, allocations: 210.2 kB / 0.811 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.8743, allocations: 90.25 kB / 0.8111 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8744, allocations: 326 kB / 0.8114 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.8748, allocations: 169 kB / 0.8115 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.8752, allocations: 227.2 kB / 0.8118 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.876, allocations: 427.8 kB / 0.8122 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.876, allocations: 7.938 kB / 0.8122 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001405/0.8774, allocations: 0.6397 MB / 0.8128 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8774, allocations: 8 kB / 0.8128 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8774, allocations: 0 / 0.8128 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.8779, allocations: 116.7 kB / 0.8129 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.8782, allocations: 103.9 kB / 0.813 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.8811, allocations: 2.043 MB / 0.815 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.8815, allocations: 20.02 kB / 0.815 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.8815, allocations: 23.94 kB / 0.8151 GB, free: 5.863 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003408/0.8819, allocations: 217.7 kB / 0.8153 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.882, allocations: 91.39 kB / 0.8153 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.8838, allocations: 0.8644 MB / 0.8162 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.8838, allocations: 8 kB / 0.8162 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8838, allocations: 0 / 0.8162 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8838, allocations: 7.922 kB / 0.8162 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.8864, allocations: 1.543 MB / 0.8177 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.8864, allocations: 4.094 kB / 0.8177 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.8869, allocations: 87.89 kB / 0.8178 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.8873, allocations: 112.7 kB / 0.8179 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.8874, allocations: 20 kB / 0.8179 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.89, allocations: 2.051 MB / 0.8199 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.89, allocations: 4.031 kB / 0.8199 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.8919, allocations: 0.9806 MB / 0.8209 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.8921, allocations: 156.5 kB / 0.821 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.8922, allocations: 12 kB / 0.8211 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.8925, allocations: 19.98 kB / 0.8211 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8926, allocations: 52.38 kB / 0.8211 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.8927, allocations: 27.97 kB / 0.8211 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00077/0.8934, allocations: 0.5029 MB / 0.8216 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.8934, allocations: 0 / 0.8216 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001106/0.8945, allocations: 335.5 kB / 0.822 GB, free: 14.49 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003015/0.8975, allocations: 1.896 MB / 0.8238 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.899, allocations: 0.5957 MB / 0.8244 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.899, allocations: 0 / 0.8244 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.8999, allocations: 422.1 kB / 0.8248 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.9013, allocations: 264.5 kB / 0.825 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.9127, allocations: 6.316 MB / 0.8312 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.9134, allocations: 1.009 MB / 0.8322 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006298/0.914, allocations: 149.9 kB / 0.8323 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.9146, allocations: 375.3 kB / 0.8327 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of SimCode: time 1.553e-06/0.9146, allocations: 0 / 0.8327 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/0.9856, allocations: 25.96 MB / 0.8581 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.08, allocations: 7.328 kB / 0.8581 GB, free: 9.43 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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: 18.522918886999832]