Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.572/0.572, allocations: 94.59 MB / 399.6 MB, free: 15.86 MB / 334.1 MB [Timeout remaining time 89] 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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 87.86 kB / 0.5452 GB, free: 12.3 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3496, allocations: 71.83 MB / 0.6153 GB, free: 4.129 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1632/0.5128, allocations: 144.3 MB / 0.7562 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004469/0.5173, allocations: 3.636 MB / 0.7598 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.5176, allocations: 11.94 kB / 0.7598 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.5182, allocations: 174.8 kB / 0.76 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.519, allocations: 393.7 kB / 0.7603 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.5197, allocations: 291 kB / 0.7606 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.5203, allocations: 0.5251 MB / 0.7611 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.5204, allocations: 53.75 kB / 0.7612 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.5209, allocations: 254.9 kB / 0.7614 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.5212, allocations: 242.9 kB / 0.7617 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.5212, allocations: 28 kB / 0.7617 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009537/0.5222, allocations: 0.4913 MB / 0.7622 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.5223, allocations: 67.64 kB / 0.7622 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.5225, allocations: 171 kB / 0.7624 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.5233, allocations: 0.5523 MB / 0.7629 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5233, allocations: 0 / 0.7629 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5233, allocations: 4 kB / 0.7629 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5233, allocations: 0 / 0.7629 GB, free: 13.48 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001284/0.5246, allocations: 0.7494 MB / 0.7637 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5246, allocations: 12.03 kB / 0.7637 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.5247, allocations: 44.66 kB / 0.7637 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.5253, allocations: 398.4 kB / 0.7641 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5253, allocations: 20.56 kB / 0.7641 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.5254, allocations: 24 kB / 0.7642 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.5259, allocations: 265.8 kB / 0.7644 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5259, allocations: 3.938 kB / 0.7644 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.5259, allocations: 8 kB / 0.7644 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5259, allocations: 8 kB / 0.7644 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.5264, allocations: 217.6 kB / 0.7646 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5279, allocations: 1.089 MB / 0.7657 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.5284, allocations: 218.5 kB / 0.7659 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.5286, allocations: 100.8 kB / 0.766 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.5296, allocations: 0.9722 MB / 0.7669 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.53, allocations: 155.8 kB / 0.7671 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/0.53, allocations: 4 kB / 0.7671 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001138/0.5311, allocations: 471.2 kB / 0.7676 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.5311, allocations: 55.41 kB / 0.7676 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.5315, allocations: 349.7 kB / 0.7679 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.5316, allocations: 33.7 kB / 0.768 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.5317, allocations: 196.4 kB / 0.7682 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.5318, allocations: 79.31 kB / 0.7682 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.5319, allocations: 53.89 kB / 0.7683 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.532, allocations: 346.8 kB / 0.7686 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.5322, allocations: 76.19 kB / 0.7687 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.5325, allocations: 123 kB / 0.7688 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.5329, allocations: 213.1 kB / 0.769 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5329, allocations: 0 / 0.769 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006944/0.5336, allocations: 349.3 kB / 0.7693 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.5337, allocations: 33.69 kB / 0.7694 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5337, allocations: 4 kB / 0.7694 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.5339, allocations: 40.77 kB / 0.7694 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5341, allocations: 44.03 kB / 0.7695 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.5354, allocations: 1.532 MB / 0.771 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5356, allocations: 27.86 kB / 0.771 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.5357, allocations: 12 kB / 0.771 GB, free: 4.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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.0001683/0.5358, allocations: 155.7 kB / 0.7711 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.5359, allocations: 35.77 kB / 0.7712 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.5367, allocations: 349.5 kB / 0.7715 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5367, allocations: 4 kB / 0.7715 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.5367, allocations: 0 / 0.7715 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5367, allocations: 0 / 0.7715 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.5379, allocations: 0.7499 MB / 0.7722 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5379, allocations: 7.875 kB / 0.7723 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.538, allocations: 39.97 kB / 0.7723 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.5382, allocations: 40.78 kB / 0.7723 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.5382, allocations: 11.98 kB / 0.7723 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.5395, allocations: 1.52 MB / 0.7738 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5395, allocations: 0 / 0.7738 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.5404, allocations: 0.4977 MB / 0.7743 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.5405, allocations: 124.7 kB / 0.7744 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.5405, allocations: 4 kB / 0.7744 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.5407, allocations: 19.98 kB / 0.7745 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.5408, allocations: 32.02 kB / 0.7745 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.5408, allocations: 8 kB / 0.7745 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002599/0.5411, allocations: 243.2 kB / 0.7747 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5411, allocations: 3.938 kB / 0.7747 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004692/0.5415, allocations: 135.6 kB / 0.7749 GB, free: 376 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.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 (22): * Single equations (assignments): 19 * 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.0003286/0.5419, allocations: 211 kB / 0.7751 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.5427, allocations: 378.6 kB / 0.7754 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5427, allocations: 0 / 0.7754 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.5431, allocations: 238.5 kB / 0.7756 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.5437, allocations: 114.5 kB / 0.7758 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.5451, allocations: 0.7246 MB / 0.7765 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5455, allocations: 0.7871 MB / 0.7772 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.5455, allocations: 39.42 kB / 0.7773 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.5455, allocations: 0 / 0.7773 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of Templates: time 0.01027/0.5558, allocations: 7.154 MB / 0.7843 GB, free: 6.648 MB / 0.6075 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches