Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001668/0.001668, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001987/0.001987, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7666/0.7666, allocations: 94.61 MB / 407 MB, free: 8.852 MB / 318.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/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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.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.002604/0.002604, allocations: 93.25 kB / 0.5554 GB, free: 38.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1321, allocations: 73.05 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1657/0.2978, allocations: 124 MB / 0.7479 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3267/0.6245, allocations: 3.295 MB / 0.7511 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.625, allocations: 21.62 kB / 0.7511 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.6258, allocations: 157.6 kB / 0.7512 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.6268, allocations: 391.1 kB / 0.7516 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008785/0.6277, allocations: 295.4 kB / 0.7519 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.6283, allocations: 0.5231 MB / 0.7524 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.6285, allocations: 58.62 kB / 0.7525 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.629, allocations: 270.2 kB / 0.7527 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.6294, allocations: 219.2 kB / 0.7529 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.6295, allocations: 23.5 kB / 0.753 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.6305, allocations: 431.4 kB / 0.7534 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.6306, allocations: 68.88 kB / 0.7534 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.6307, allocations: 144.2 kB / 0.7536 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.6316, allocations: 0.5405 MB / 0.7541 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6316, allocations: 3.719 kB / 0.7541 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6316, allocations: 0 / 0.7541 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6316, allocations: 1.594 kB / 0.7541 GB, free: 3.516 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001382/0.633, allocations: 0.6791 MB / 0.7548 GB, free: 19.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.633, allocations: 10.03 kB / 0.7548 GB, free: 19.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.6331, allocations: 47.62 kB / 0.7548 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.6337, allocations: 327.5 kB / 0.7551 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6337, allocations: 17.5 kB / 0.7551 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.6338, allocations: 25.64 kB / 0.7552 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.6343, allocations: 266.5 kB / 0.7554 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6343, allocations: 0.7812 kB / 0.7554 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.6343, allocations: 8.219 kB / 0.7554 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6343, allocations: 8.531 kB / 0.7554 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.6347, allocations: 223.5 kB / 0.7557 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.636, allocations: 0.7133 MB / 0.7564 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.6365, allocations: 213.8 kB / 0.7566 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.6367, allocations: 101 kB / 0.7567 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007927/0.6375, allocations: 469 kB / 0.7571 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.6379, allocations: 161.1 kB / 0.7573 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.6379, allocations: 1.031 kB / 0.7573 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001192/0.6391, allocations: 385.6 kB / 0.7576 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.6391, allocations: 56.2 kB / 0.7577 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.6395, allocations: 329.9 kB / 0.758 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.6396, allocations: 32.94 kB / 0.758 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.6397, allocations: 204.7 kB / 0.7582 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.6397, allocations: 79.92 kB / 0.7583 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.6398, allocations: 50.11 kB / 0.7583 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.64, allocations: 350.5 kB / 0.7587 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.6402, allocations: 108.3 kB / 0.7588 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.6405, allocations: 139.4 kB / 0.7589 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.6409, allocations: 217.7 kB / 0.7591 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6409, allocations: 1.125 kB / 0.7591 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008284/0.6417, allocations: 380.5 kB / 0.7595 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.6418, allocations: 33.14 kB / 0.7595 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6418, allocations: 4.062 kB / 0.7595 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.642, allocations: 47 kB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.6422, allocations: 40.97 kB / 0.7596 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.6437, allocations: 1.399 MB / 0.761 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.644, allocations: 27.3 kB / 0.761 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.644, allocations: 11.09 kB / 0.761 GB, free: 15.88 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.00019/0.6442, allocations: 150.9 kB / 0.7611 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.6442, allocations: 37.03 kB / 0.7612 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.645, allocations: 337.7 kB / 0.7615 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.645, allocations: 3.938 kB / 0.7615 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.645, allocations: 3.594 kB / 0.7615 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.645, allocations: 1.312 kB / 0.7615 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6462, allocations: 0.6471 MB / 0.7621 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6462, allocations: 0.6094 kB / 0.7621 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.6464, allocations: 43.75 kB / 0.7622 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.6465, allocations: 41.33 kB / 0.7622 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.6465, allocations: 13.14 kB / 0.7622 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.6477, allocations: 1.394 MB / 0.7636 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6477, allocations: 0 / 0.7636 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.6486, allocations: 0.505 MB / 0.7641 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.6486, allocations: 39.67 kB / 0.7641 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.6487, allocations: 8.672 kB / 0.7641 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.6489, allocations: 15.59 kB / 0.7642 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.649, allocations: 31.05 kB / 0.7642 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.649, allocations: 11.83 kB / 0.7642 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000246/0.6493, allocations: 234.1 kB / 0.7644 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6493, allocations: 0.9375 kB / 0.7644 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005052/0.6498, allocations: 125.4 kB / 0.7645 GB, free: 13.91 MB / 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.0003437/0.6501, allocations: 222.8 kB / 0.7648 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007802/0.6509, allocations: 408.2 kB / 0.7651 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6509, allocations: 0.9688 kB / 0.7651 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.6513, allocations: 236.2 kB / 0.7654 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.6519, allocations: 98.62 kB / 0.7655 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.6532, allocations: 0.7015 MB / 0.7661 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.6534, allocations: 179.3 kB / 0.7663 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.6537, allocations: 50.73 kB / 0.7664 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.6537, allocations: 35.22 kB / 0.7664 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6537, allocations: 3.281 kB / 0.7664 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.01366/0.6674, allocations: 6.959 MB / 0.7732 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.13087478466332]