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.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.001378/0.001378, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.00138/0.00138, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.6493/0.6493, allocations: 90.3 MB / 394.8 MB, free: 3.848 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.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: Performance of FrontEnd - loaded program: time 0.003765/0.003765, allocations: 87.84 kB / 0.5386 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5479, allocations: 70.82 MB / 0.6078 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.2113/0.7592, allocations: 144.3 MB / 0.7487 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0051/0.7643, allocations: 3.61 MB / 0.7523 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.7646, allocations: 0 / 0.7523 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.7653, allocations: 178.9 kB / 0.7524 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.7663, allocations: 361.9 kB / 0.7528 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.7673, allocations: 287 kB / 0.753 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.7679, allocations: 457.9 kB / 0.7535 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.768, allocations: 52.06 kB / 0.7535 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.7685, allocations: 219.1 kB / 0.7537 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.7688, allocations: 219.2 kB / 0.7539 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.7689, allocations: 28 kB / 0.754 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7699, allocations: 0.499 MB / 0.7545 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.77, allocations: 63.77 kB / 0.7545 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.7702, allocations: 163.1 kB / 0.7547 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.7711, allocations: 493.9 kB / 0.7552 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7711, allocations: 0 / 0.7552 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7711, allocations: 0 / 0.7552 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.7711, allocations: 0 / 0.7552 GB, free: 3.977 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.001373/0.7725, allocations: 0.6835 MB / 0.7558 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7725, allocations: 16.03 kB / 0.7558 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.7726, allocations: 36.7 kB / 0.7559 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.773, allocations: 299.6 kB / 0.7562 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.773, allocations: 12.81 kB / 0.7562 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.7731, allocations: 28.12 kB / 0.7562 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.7737, allocations: 261.8 kB / 0.7564 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7737, allocations: 0 / 0.7564 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.7737, allocations: 4 kB / 0.7564 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.7737, allocations: 11.98 kB / 0.7565 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.7742, allocations: 225.5 kB / 0.7567 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.7758, allocations: 1.077 MB / 0.7577 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.7763, allocations: 206.5 kB / 0.7579 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.7766, allocations: 105.1 kB / 0.758 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.7778, allocations: 0.9916 MB / 0.759 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.7782, allocations: 143.3 kB / 0.7591 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.7782, allocations: 0 / 0.7591 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001267/0.7795, allocations: 455.9 kB / 0.7596 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.7796, allocations: 63.28 kB / 0.7596 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.7799, allocations: 275 kB / 0.7599 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.78, allocations: 33.64 kB / 0.7599 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.7801, allocations: 168.4 kB / 0.7601 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.7802, allocations: 83.3 kB / 0.7602 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.7803, allocations: 53.94 kB / 0.7602 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7805, allocations: 334.8 kB / 0.7605 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.7807, allocations: 80.19 kB / 0.7606 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.781, allocations: 112.6 kB / 0.7607 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.7815, allocations: 218.3 kB / 0.7609 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.7815, allocations: 0 / 0.7609 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007358/0.7822, allocations: 342 kB / 0.7612 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.7822, allocations: 33.7 kB / 0.7613 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7822, allocations: 4.062 kB / 0.7613 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.7825, allocations: 44.81 kB / 0.7613 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.7827, allocations: 43.92 kB / 0.7614 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.7843, allocations: 1.531 MB / 0.7629 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.7845, allocations: 31.86 kB / 0.7629 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.7845, allocations: 8 kB / 0.7629 GB, free: 11.39 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.0002042/0.7847, allocations: 152.8 kB / 0.763 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.7848, allocations: 31.81 kB / 0.7631 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.7856, allocations: 324.4 kB / 0.7634 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.7856, allocations: 7.984 kB / 0.7634 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.7856, allocations: 0 / 0.7634 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7856, allocations: 4 kB / 0.7634 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.7869, allocations: 0.7265 MB / 0.7641 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7869, allocations: 4 kB / 0.7641 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.787, allocations: 39.91 kB / 0.7641 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.7872, allocations: 52.72 kB / 0.7642 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.7872, allocations: 8 kB / 0.7642 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.7886, allocations: 1.528 MB / 0.7657 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7886, allocations: 0 / 0.7657 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.7896, allocations: 497.4 kB / 0.7662 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.7897, allocations: 116.8 kB / 0.7663 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.7897, allocations: 8 kB / 0.7663 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.7899, allocations: 15.98 kB / 0.7663 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.79, allocations: 23.91 kB / 0.7663 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.7901, allocations: 11.98 kB / 0.7663 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002355/0.7903, allocations: 198 kB / 0.7665 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7903, allocations: 0 / 0.7665 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004942/0.7908, allocations: 123.8 kB / 0.7666 GB, free: 7.293 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.0004056/0.7912, allocations: 218.9 kB / 0.7669 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000853/0.792, allocations: 377.9 kB / 0.7672 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.792, allocations: 0 / 0.7672 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.7925, allocations: 234.7 kB / 0.7674 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.7931, allocations: 107 kB / 0.7675 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.7945, allocations: 0.6173 MB / 0.7681 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.7949, allocations: 0.76 MB / 0.7689 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.7951, allocations: 46.83 kB / 0.7689 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.7952, allocations: 27.44 kB / 0.769 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.7952, allocations: 4 kB / 0.769 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.01308/0.8083, allocations: 6.386 MB / 0.7752 GB, free: 14.47 MB / 0.6075 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.383615909144282]