Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001692/0.001692, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002074/0.002074, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.408/1.408, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.7351/0.7351, allocations: 80.2 MB / 339.4 MB, free: 10.85 MB / 318.1 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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.4929 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.191e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02794/0.02796, allocations: 36.21 MB / 0.5282 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.04375, allocations: 12.21 MB / 0.5401 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.04504, allocations: 75.88 kB / 0.5402 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.04711, allocations: 0.9015 MB / 0.5411 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.05088, allocations: 1.494 MB / 0.5426 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.05391, allocations: 1.071 MB / 0.5436 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.0568, allocations: 2.179 MB / 0.5457 GB, free: 6.344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.05726, allocations: 219.5 kB / 0.5459 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.05946, allocations: 1.413 MB / 0.5473 GB, free: 5.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.06035, allocations: 0.5616 MB / 0.5479 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.06051, allocations: 95.06 kB / 0.548 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.0627, allocations: 0.7995 MB / 0.5487 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.06306, allocations: 337.4 kB / 0.5491 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.0637, allocations: 480.2 kB / 0.5495 GB, free: 4.352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.06697, allocations: 2.14 MB / 0.5516 GB, free: 3.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.06697, allocations: 0 / 0.5516 GB, free: 3.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06698, allocations: 0 / 0.5516 GB, free: 3.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.067, allocations: 0 / 0.5516 GB, free: 3.051 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003712/0.07071, allocations: 2.066 MB / 0.5536 GB, free: 1.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.07075, allocations: 10.06 kB / 0.5536 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.07125, allocations: 230.8 kB / 0.5539 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.07344, allocations: 1.159 MB / 0.555 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.07349, allocations: 65.94 kB / 0.5551 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.07363, allocations: 91.94 kB / 0.5551 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.07517, allocations: 0.9341 MB / 0.5561 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.07519, allocations: 3.938 kB / 0.5561 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.07527, allocations: 35.98 kB / 0.5561 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.07529, allocations: 20 kB / 0.5561 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.07674, allocations: 0.8003 MB / 0.5569 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.08102, allocations: 2.576 MB / 0.5594 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.08217, allocations: 0.6041 MB / 0.56 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.08272, allocations: 286.7 kB / 0.5603 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/0.08513, allocations: 1.141 MB / 0.5614 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.08518, allocations: 43.22 kB / 0.5614 GB, free: 9.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.08518, allocations: 0 / 0.5614 GB, free: 9.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=73): time 0.002623/0.08781, allocations: 1.064 MB / 0.5625 GB, free: 7.934 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.08786, allocations: 60.06 kB / 0.5625 GB, free: 7.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.08965, allocations: 1.349 MB / 0.5638 GB, free: 6.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.08972, allocations: 45.64 kB / 0.5639 GB, free: 6.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.0903, allocations: 0.6595 MB / 0.5645 GB, free: 5.785 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.09052, allocations: 261.7 kB / 0.5648 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.09075, allocations: 142.5 kB / 0.5649 GB, free: 5.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.09091, allocations: 334 kB / 0.5652 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.09136, allocations: 213.9 kB / 0.5654 GB, free: 4.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.09195, allocations: 394.8 kB / 0.5658 GB, free: 4.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.09302, allocations: 0.5743 MB / 0.5664 GB, free: 3.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.09303, allocations: 4 kB / 0.5664 GB, free: 3.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001693/0.09472, allocations: 0.8492 MB / 0.5672 GB, free: 2.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.09474, allocations: 8 kB / 0.5672 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.09475, allocations: 7.938 kB / 0.5672 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.09519, allocations: 113.9 kB / 0.5673 GB, free: 2.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.09575, allocations: 143.8 kB / 0.5675 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.09865, allocations: 2.94 MB / 0.5703 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.09921, allocations: 67.5 kB / 0.5704 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.09928, allocations: 27.98 kB / 0.5704 GB, free: 15.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * 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.0005118/0.0998, allocations: 329.5 kB / 0.5707 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.1, allocations: 163 kB / 0.5709 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.1022, allocations: 1.094 MB / 0.572 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1022, allocations: 8 kB / 0.572 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1022, allocations: 3.938 kB / 0.572 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.1022, allocations: 7.984 kB / 0.572 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.1051, allocations: 1.713 MB / 0.5737 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1051, allocations: 0 / 0.5737 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.1056, allocations: 111.9 kB / 0.5738 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/0.106, allocations: 121.7 kB / 0.5739 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.106, allocations: 23.98 kB / 0.5739 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.1088, allocations: 2.944 MB / 0.5768 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.1088, allocations: 7.969 kB / 0.5768 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.1109, allocations: 1.18 MB / 0.5779 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.1114, allocations: 272.6 kB / 0.5782 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.1116, allocations: 27.83 kB / 0.5782 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.112, allocations: 19.98 kB / 0.5782 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1122, allocations: 60.48 kB / 0.5783 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.1122, allocations: 31.98 kB / 0.5783 GB, free: 6.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.1135, allocations: 0.9389 MB / 0.5792 GB, free: 6.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1135, allocations: 0 / 0.5792 GB, free: 6.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001118/0.1146, allocations: 415.1 kB / 0.5796 GB, free: 5.629 MB / 494.1 MB 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 (63): * Single equations (assignments): 61 * 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.00194/0.1166, allocations: 0.7536 MB / 0.5804 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.1181, allocations: 0.7876 MB / 0.5811 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1181, allocations: 0.75 kB / 0.5811 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.119, allocations: 0.5323 MB / 0.5817 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.1212, allocations: 0.5065 MB / 0.5822 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.126, allocations: 2.565 MB / 0.5847 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.1267, allocations: 0.6404 MB / 0.5853 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006997/0.1274, allocations: 242.4 kB / 0.5855 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.1277, allocations: 116.5 kB / 0.5856 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1277, allocations: 0 / 0.5856 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.04101/0.1687, allocations: 23.28 MB / 0.6084 GB, free: 8.672 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 5.889524664729834]