Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001378/0.001378, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001364/0.001364, allocations: 186 kB / 20.78 MB, free: 1.539 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.592/1.592, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.7021/0.7021, allocations: 94.6 MB / 399.1 MB, free: 15.75 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.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 87.86 kB / 0.5444 GB, free: 12.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5833, allocations: 71.84 MB / 0.6145 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.05172/0.635, allocations: 37.73 MB / 0.6514 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02429/0.6593, allocations: 15.05 MB / 0.6661 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.6616, allocations: 47.19 kB / 0.6661 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.6645, allocations: 0.9563 MB / 0.6671 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.6699, allocations: 1.338 MB / 0.6684 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.6741, allocations: 1.037 MB / 0.6694 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.6783, allocations: 1.92 MB / 0.6712 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.6789, allocations: 227 kB / 0.6715 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.6819, allocations: 1.052 MB / 0.6725 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.6832, allocations: 0.705 MB / 0.6732 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.6834, allocations: 89.5 kB / 0.6733 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.6873, allocations: 0.8741 MB / 0.6741 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.6879, allocations: 333 kB / 0.6744 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009626/0.6889, allocations: 0.7169 MB / 0.6751 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.6945, allocations: 2.12 MB / 0.6772 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.6945, allocations: 4 kB / 0.6772 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6945, allocations: 0 / 0.6772 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.6946, allocations: 4 kB / 0.6772 GB, free: 4.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004344/0.6989, allocations: 2.088 MB / 0.6793 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.699, allocations: 8.031 kB / 0.6793 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.6991, allocations: 123.1 kB / 0.6794 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.6995, allocations: 194.9 kB / 0.6796 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.702, allocations: 1.222 MB / 0.6808 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.702, allocations: 61.98 kB / 0.6808 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7022, allocations: 87.95 kB / 0.6809 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.7038, allocations: 0.8532 MB / 0.6817 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.7038, allocations: 0 / 0.6817 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.704, allocations: 36 kB / 0.6818 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.704, allocations: 27.88 kB / 0.6818 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7055, allocations: 0.7886 MB / 0.6826 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.7113, allocations: 3.603 MB / 0.6861 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.7126, allocations: 0.5721 MB / 0.6866 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.7131, allocations: 302.7 kB / 0.6869 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004632/0.7178, allocations: 3.404 MB / 0.6903 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.7178, allocations: 43.16 kB / 0.6903 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.023e-06/0.7178, allocations: 3.938 kB / 0.6903 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.003127/0.721, allocations: 1.25 MB / 0.6915 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.721, allocations: 60 kB / 0.6916 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.7231, allocations: 1.331 MB / 0.6929 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.7231, allocations: 37.7 kB / 0.6929 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/0.7239, allocations: 0.6244 MB / 0.6935 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.7241, allocations: 257.7 kB / 0.6938 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.7244, allocations: 146.6 kB / 0.6939 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7245, allocations: 330 kB / 0.6942 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.725, allocations: 217.9 kB / 0.6944 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.7257, allocations: 302.3 kB / 0.6947 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7267, allocations: 0.5498 MB / 0.6953 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7267, allocations: 0 / 0.6953 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001954/0.7287, allocations: 0.8221 MB / 0.6961 GB, free: 212 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.7287, allocations: 15.97 kB / 0.6961 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7287, allocations: 0 / 0.6961 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.7292, allocations: 113.6 kB / 0.6962 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.7298, allocations: 143.8 kB / 0.6963 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.7336, allocations: 3.204 MB / 0.6994 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.7343, allocations: 67.64 kB / 0.6995 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.7344, allocations: 31.98 kB / 0.6995 GB, free: 12.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0007788/0.7352, allocations: 329.5 kB / 0.6999 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.7354, allocations: 162.9 kB / 0.7 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.7378, allocations: 1.133 MB / 0.7011 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7378, allocations: 8 kB / 0.7011 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7378, allocations: 0 / 0.7011 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7378, allocations: 3.984 kB / 0.7011 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.7419, allocations: 2.011 MB / 0.7031 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7419, allocations: 0 / 0.7031 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.7424, allocations: 123.8 kB / 0.7032 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.7428, allocations: 113.7 kB / 0.7033 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.7428, allocations: 32.05 kB / 0.7034 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.7464, allocations: 3.208 MB / 0.7065 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7464, allocations: 4.031 kB / 0.7065 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.7491, allocations: 1.233 MB / 0.7077 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.7497, allocations: 347.8 kB / 0.708 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7498, allocations: 27.92 kB / 0.708 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.7503, allocations: 16 kB / 0.7081 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7504, allocations: 68.44 kB / 0.7081 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.7505, allocations: 27.98 kB / 0.7082 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001677/0.7522, allocations: 0.9423 MB / 0.7091 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7522, allocations: 4 kB / 0.7091 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001579/0.7538, allocations: 423 kB / 0.7095 GB, free: 1.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.005089/0.7588, allocations: 2.419 MB / 0.7118 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.7608, allocations: 0.7994 MB / 0.7126 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7608, allocations: 3.938 kB / 0.7126 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.7619, allocations: 0.5445 MB / 0.7132 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.7639, allocations: 413.3 kB / 0.7136 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.781, allocations: 9.118 MB / 0.7225 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.7822, allocations: 1.2 MB / 0.7236 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001104/0.7833, allocations: 250.7 kB / 0.7239 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/0.7842, allocations: 0.5578 MB / 0.7244 GB, free: 2.262 MB / 0.545 GB Notification: Performance of SimCode: time 3.347e-06/0.7842, allocations: 0 / 0.7244 GB, free: 2.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09573/0.8799, allocations: 34.56 MB / 0.7582 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.47, allocations: 3.984 kB / 0.7582 GB, free: 15.86 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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: 19.570710540981963]