Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001567/0.001567, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001874/0.001874, allocations: 160.5 kB / 23.01 MB, free: 4.949 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.384/1.384, allocations: 177.2 MB / 203.4 MB, free: 9.246 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7424/0.7424, allocations: 79.6 MB / 339.4 MB, free: 11.5 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 84.72 kB / 0.4923 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.116, allocations: 74.59 MB / 0.5652 GB, free: 6.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.153/0.2691, allocations: 125.3 MB / 0.6875 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00426/0.2733, allocations: 3.058 MB / 0.6905 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.2737, allocations: 19.81 kB / 0.6906 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.2743, allocations: 198.7 kB / 0.6907 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2753, allocations: 493.1 kB / 0.6912 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.2762, allocations: 402.7 kB / 0.6916 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000754/0.277, allocations: 0.7233 MB / 0.6923 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2772, allocations: 81.31 kB / 0.6924 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.2779, allocations: 498.2 kB / 0.6929 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.2784, allocations: 342.5 kB / 0.6932 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.2785, allocations: 36 kB / 0.6932 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009323/0.2794, allocations: 0.4913 MB / 0.6937 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2795, allocations: 95.56 kB / 0.6938 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.2797, allocations: 191.1 kB / 0.694 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.2807, allocations: 0.7316 MB / 0.6947 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2807, allocations: 3.938 kB / 0.6947 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2807, allocations: 0 / 0.6947 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2807, allocations: 0 / 0.6947 GB, free: 1.02 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001409/0.2821, allocations: 0.7722 MB / 0.6954 GB, free: 212 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2821, allocations: 13.47 kB / 0.6955 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2823, allocations: 56.61 kB / 0.6955 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2335/0.5158, allocations: 362 kB / 0.6959 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.5158, allocations: 25.94 kB / 0.6959 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.5159, allocations: 39.81 kB / 0.6959 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.5167, allocations: 427.9 kB / 0.6963 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5167, allocations: 2.047 kB / 0.6963 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.5167, allocations: 12.34 kB / 0.6963 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5167, allocations: 9.312 kB / 0.6963 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.5174, allocations: 385.5 kB / 0.6967 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.5191, allocations: 1.22 MB / 0.6979 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.5198, allocations: 317.4 kB / 0.6982 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.5202, allocations: 155.1 kB / 0.6984 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.5217, allocations: 0.7025 MB / 0.699 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.5221, allocations: 215.3 kB / 0.6992 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.355e-06/0.5221, allocations: 0 / 0.6992 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.0013/0.5234, allocations: 0.5218 MB / 0.6998 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5234, allocations: 66.7 kB / 0.6998 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.5237, allocations: 326.1 kB / 0.7001 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5238, allocations: 36.3 kB / 0.7002 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5239, allocations: 229.1 kB / 0.7004 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.5239, allocations: 132.9 kB / 0.7005 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5241, allocations: 77.67 kB / 0.7006 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.5241, allocations: 349.6 kB / 0.7009 GB, free: 132 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5244, allocations: 145.7 kB / 0.7011 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.5247, allocations: 207.7 kB / 0.7013 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.5253, allocations: 331.2 kB / 0.7016 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5253, allocations: 0.7812 kB / 0.7016 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008899/0.5262, allocations: 0.4989 MB / 0.7021 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.5262, allocations: 32.55 kB / 0.7021 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5262, allocations: 1.781 kB / 0.7021 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.5264, allocations: 42.03 kB / 0.7021 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.5267, allocations: 76.73 kB / 0.7022 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008828/0.5276, allocations: 1.401 MB / 0.7036 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5278, allocations: 37.86 kB / 0.7036 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.5278, allocations: 17.14 kB / 0.7036 GB, free: 129.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.528, allocations: 162 kB / 0.7038 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.5281, allocations: 40.11 kB / 0.7038 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009463/0.529, allocations: 0.5277 MB / 0.7043 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.529, allocations: 3.344 kB / 0.7043 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.529, allocations: 3.938 kB / 0.7043 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.529, allocations: 1.688 kB / 0.7043 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5303, allocations: 0.8521 MB / 0.7052 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5303, allocations: 0 / 0.7052 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.5305, allocations: 64.58 kB / 0.7052 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.5307, allocations: 47.39 kB / 0.7053 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5307, allocations: 16.78 kB / 0.7053 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007563/0.5315, allocations: 1.393 MB / 0.7067 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5315, allocations: 2.625 kB / 0.7067 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.5324, allocations: 0.6483 MB / 0.7073 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.5325, allocations: 42.7 kB / 0.7073 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5325, allocations: 14.95 kB / 0.7073 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.5327, allocations: 16.53 kB / 0.7074 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.5328, allocations: 34.39 kB / 0.7074 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5328, allocations: 15.59 kB / 0.7074 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001939/0.533, allocations: 243.6 kB / 0.7076 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.533, allocations: 0 / 0.7076 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000477/0.5335, allocations: 164 kB / 0.7078 GB, free: 127.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000307/0.5338, allocations: 254 kB / 0.708 GB, free: 127 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.5346, allocations: 0.4989 MB / 0.7085 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5346, allocations: 0 / 0.7085 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.535, allocations: 287.4 kB / 0.7088 GB, free: 126.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.5356, allocations: 116.9 kB / 0.7089 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.537, allocations: 0.8446 MB / 0.7097 GB, free: 126 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.5372, allocations: 210.5 kB / 0.7099 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000247/0.5375, allocations: 83.27 kB / 0.71 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5376, allocations: 48.78 kB / 0.7101 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5376, allocations: 3.938 kB / 0.7101 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01359/0.5512, allocations: 7.787 MB / 0.7177 GB, free: 122.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.667568497825414]