Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001345/0.001345, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001302/0.001302, allocations: 186 kB / 20.78 MB, free: 1.547 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6029/0.6029, allocations: 90.3 MB / 394.8 MB, free: 3.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.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_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_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 83.88 kB / 0.5387 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3913, allocations: 70.82 MB / 0.6078 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1776/0.5689, allocations: 145.8 MB / 0.7502 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.5735, allocations: 3.329 MB / 0.7535 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.5738, allocations: 7.938 kB / 0.7535 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.5745, allocations: 206.7 kB / 0.7537 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5757, allocations: 473.3 kB / 0.7542 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.5767, allocations: 402.6 kB / 0.7545 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000816/0.5775, allocations: 0.6688 MB / 0.7552 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.5777, allocations: 79.78 kB / 0.7553 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.5784, allocations: 326.7 kB / 0.7556 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.5789, allocations: 358.7 kB / 0.7559 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.579, allocations: 32 kB / 0.7559 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.5804, allocations: 0.5848 MB / 0.7565 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5805, allocations: 87.62 kB / 0.7566 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.5807, allocations: 214.9 kB / 0.7568 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.5819, allocations: 0.6721 MB / 0.7575 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5819, allocations: 4 kB / 0.7575 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5819, allocations: 0 / 0.7575 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5819, allocations: 0 / 0.7575 GB, free: 1.602 MB / 0.5762 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.001502/0.5834, allocations: 0.7816 MB / 0.7582 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5835, allocations: 12.03 kB / 0.7582 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.5836, allocations: 44.66 kB / 0.7583 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.584, allocations: 319.6 kB / 0.7586 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.584, allocations: 37.31 kB / 0.7586 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.5841, allocations: 40.31 kB / 0.7587 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007768/0.5849, allocations: 424.2 kB / 0.7591 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5849, allocations: 0 / 0.7591 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.5849, allocations: 12 kB / 0.7591 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.5849, allocations: 12 kB / 0.7591 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.5857, allocations: 370.4 kB / 0.7594 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.588, allocations: 1.83 MB / 0.7612 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.5889, allocations: 322.7 kB / 0.7615 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.5892, allocations: 154.1 kB / 0.7617 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/0.5915, allocations: 1.527 MB / 0.7632 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/0.592, allocations: 207.3 kB / 0.7634 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.592, allocations: 0 / 0.7634 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001484/0.5935, allocations: 0.5923 MB / 0.764 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.5935, allocations: 55.41 kB / 0.764 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.5939, allocations: 300.5 kB / 0.7643 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.5939, allocations: 29.7 kB / 0.7643 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.5941, allocations: 196.6 kB / 0.7645 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5942, allocations: 134.8 kB / 0.7646 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.5943, allocations: 78.02 kB / 0.7647 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5945, allocations: 350.7 kB / 0.765 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.5948, allocations: 116.7 kB / 0.7652 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.5952, allocations: 170.7 kB / 0.7653 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.5958, allocations: 338.9 kB / 0.7656 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5958, allocations: 0 / 0.7656 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009779/0.5968, allocations: 468.8 kB / 0.7661 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.5968, allocations: 33.7 kB / 0.7661 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5968, allocations: 0 / 0.7661 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.5971, allocations: 48.92 kB / 0.7662 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.5974, allocations: 75.89 kB / 0.7662 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.5989, allocations: 1.535 MB / 0.7677 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.5992, allocations: 35.8 kB / 0.7678 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.5992, allocations: 16.14 kB / 0.7678 GB, free: 6.223 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.0002194/0.5995, allocations: 169.6 kB / 0.768 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.5995, allocations: 35.77 kB / 0.768 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.6007, allocations: 0.5254 MB / 0.7685 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6007, allocations: 7.938 kB / 0.7685 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.6007, allocations: 0 / 0.7685 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6007, allocations: 0 / 0.7685 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.6024, allocations: 0.9582 MB / 0.7694 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6024, allocations: 0 / 0.7694 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.6027, allocations: 55.97 kB / 0.7695 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.6028, allocations: 52.81 kB / 0.7695 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.6029, allocations: 8 kB / 0.7696 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.6043, allocations: 1.535 MB / 0.7711 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6043, allocations: 0 / 0.7711 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.6055, allocations: 0.6391 MB / 0.7717 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6057, allocations: 120.8 kB / 0.7718 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.6057, allocations: 11.94 kB / 0.7718 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.606, allocations: 19.92 kB / 0.7718 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6061, allocations: 35.95 kB / 0.7719 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.6061, allocations: 12 kB / 0.7719 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002548/0.6064, allocations: 227.1 kB / 0.7721 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6064, allocations: 0 / 0.7721 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005837/0.6069, allocations: 159.7 kB / 0.7722 GB, free: 1.387 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.0004138/0.6074, allocations: 242.1 kB / 0.7725 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.6084, allocations: 486.1 kB / 0.7729 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6084, allocations: 0 / 0.7729 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.6089, allocations: 286.9 kB / 0.7732 GB, free: 360 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/0.6097, allocations: 129.5 kB / 0.7733 GB, free: 236 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.6114, allocations: 0.7743 MB / 0.7741 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.6119, allocations: 0.8001 MB / 0.7749 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.6121, allocations: 77.27 kB / 0.7749 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6123, allocations: 47.42 kB / 0.775 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.6123, allocations: 0 / 0.775 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.01602/0.6283, allocations: 8.216 MB / 0.783 GB, free: 6.332 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 6.06929572019726]