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.001748/0.001748, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002109/0.002109, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.7357/0.7357, allocations: 94.62 MB / 407.8 MB, free: 8.832 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.002493/0.002493, allocations: 81.98 kB / 0.5561 GB, free: 38.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1238, allocations: 73.06 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1543/0.2781, allocations: 124 MB / 0.7486 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3093/0.5874, allocations: 3.297 MB / 0.7518 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.5878, allocations: 22.41 kB / 0.7518 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.5885, allocations: 156.5 kB / 0.752 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009331/0.5894, allocations: 390.2 kB / 0.7524 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.5902, allocations: 292.7 kB / 0.7526 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.5908, allocations: 0.5229 MB / 0.7531 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.591, allocations: 60.16 kB / 0.7532 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.5916, allocations: 272.6 kB / 0.7535 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.5919, allocations: 219.3 kB / 0.7537 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.592, allocations: 24.22 kB / 0.7537 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.5929, allocations: 431.3 kB / 0.7541 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.593, allocations: 68.05 kB / 0.7542 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.5932, allocations: 141.8 kB / 0.7543 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.5939, allocations: 0.5432 MB / 0.7548 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5939, allocations: 1.188 kB / 0.7548 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5939, allocations: 0 / 0.7548 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.594, allocations: 1.031 kB / 0.7548 GB, free: 3.449 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.001431/0.5954, allocations: 0.6799 MB / 0.7555 GB, free: 18.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5954, allocations: 9.906 kB / 0.7555 GB, free: 18.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5956, allocations: 46.72 kB / 0.7556 GB, free: 18.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.5962, allocations: 326.1 kB / 0.7559 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.5962, allocations: 17.44 kB / 0.7559 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.5962, allocations: 25.64 kB / 0.7559 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.5967, allocations: 267.3 kB / 0.7562 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5967, allocations: 0 / 0.7562 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.5967, allocations: 8.891 kB / 0.7562 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5967, allocations: 5.812 kB / 0.7562 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.5972, allocations: 229.9 kB / 0.7564 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.5984, allocations: 0.716 MB / 0.7571 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.5989, allocations: 210.1 kB / 0.7573 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.5991, allocations: 104.7 kB / 0.7574 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/0.5998, allocations: 464.5 kB / 0.7578 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.6002, allocations: 158.2 kB / 0.758 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.6002, allocations: 0 / 0.758 GB, free: 18.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.00113/0.6013, allocations: 389.5 kB / 0.7584 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.6014, allocations: 55.97 kB / 0.7584 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.6017, allocations: 332.8 kB / 0.7587 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.6018, allocations: 31.11 kB / 0.7588 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.6019, allocations: 200.5 kB / 0.759 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.6019, allocations: 81.5 kB / 0.759 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.602, allocations: 47.75 kB / 0.7591 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6022, allocations: 351 kB / 0.7594 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.6024, allocations: 108 kB / 0.7595 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.6027, allocations: 139.2 kB / 0.7596 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.6031, allocations: 223.9 kB / 0.7599 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6031, allocations: 0.6562 kB / 0.7599 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006543/0.6037, allocations: 379.1 kB / 0.7602 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.6038, allocations: 36.78 kB / 0.7603 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6038, allocations: 0 / 0.7603 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.604, allocations: 41.11 kB / 0.7603 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.6042, allocations: 47.5 kB / 0.7603 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.6054, allocations: 1.395 MB / 0.7617 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.6055, allocations: 24.97 kB / 0.7617 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.6056, allocations: 13.3 kB / 0.7617 GB, free: 15.81 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.0001534/0.6057, allocations: 150.5 kB / 0.7619 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.6058, allocations: 40.38 kB / 0.7619 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.6065, allocations: 338.1 kB / 0.7622 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6065, allocations: 2.531 kB / 0.7622 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6065, allocations: 1.406 kB / 0.7622 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6065, allocations: 1.125 kB / 0.7623 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.6075, allocations: 0.6521 MB / 0.7629 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6075, allocations: 0.5938 kB / 0.7629 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.6077, allocations: 36.52 kB / 0.7629 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.6078, allocations: 50.81 kB / 0.763 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.6078, allocations: 9.109 kB / 0.763 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.6089, allocations: 1.394 MB / 0.7643 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6089, allocations: 3.562 kB / 0.7643 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.6097, allocations: 0.5001 MB / 0.7648 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.6098, allocations: 38.25 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.6098, allocations: 11.34 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.61, allocations: 12.75 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.6101, allocations: 36.56 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.6101, allocations: 7.797 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000223/0.6103, allocations: 238 kB / 0.7652 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6103, allocations: 0 / 0.7652 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004465/0.6108, allocations: 126.3 kB / 0.7653 GB, free: 13.84 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.0003315/0.6111, allocations: 223.6 kB / 0.7655 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007313/0.6118, allocations: 407.8 kB / 0.7659 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6118, allocations: 0 / 0.7659 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.6122, allocations: 237.8 kB / 0.7661 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.6128, allocations: 94.94 kB / 0.7662 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.614, allocations: 0.7306 MB / 0.7669 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.6142, allocations: 180.8 kB / 0.7671 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.6143, allocations: 35.86 kB / 0.7671 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6143, allocations: 0 / 0.7671 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of Templates: time 0.01035/0.6247, allocations: 7.207 MB / 0.7742 GB, free: 12.47 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/jenkins1/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: 8.9244453352876]