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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008807/0.008807, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6607/0.6607, allocations: 91.33 MB / 382.8 MB, free: 9.641 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 13.28 kB / 462.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 69.22 MB / 0.5195 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3823/0.496, allocations: 141.5 MB / 0.6577 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.5003, allocations: 3.363 MB / 0.661 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.5008, allocations: 19.81 kB / 0.661 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.5014, allocations: 171 kB / 0.6612 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5025, allocations: 464.7 kB / 0.6616 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.5035, allocations: 340.8 kB / 0.6619 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.5044, allocations: 0.9321 MB / 0.6628 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.5047, allocations: 115 kB / 0.663 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.5054, allocations: 313.4 kB / 0.6632 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.5058, allocations: 338.8 kB / 0.6636 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.5059, allocations: 16.66 kB / 0.6636 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.507, allocations: 0.5643 MB / 0.6641 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5072, allocations: 75.91 kB / 0.6642 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.5074, allocations: 240 kB / 0.6644 GB, free: 420 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009494/0.5084, allocations: 0.6688 MB / 0.6651 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5084, allocations: 1.844 kB / 0.6651 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5084, allocations: 0 / 0.6651 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.5084, allocations: 0 / 0.6651 GB, free: 15.98 MB / 494.1 MB 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.001337/0.5097, allocations: 0.7646 MB / 0.6658 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5098, allocations: 11.34 kB / 0.6659 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.5099, allocations: 52.97 kB / 0.6659 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.5104, allocations: 400.8 kB / 0.6663 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.5105, allocations: 29.28 kB / 0.6663 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.5105, allocations: 36.12 kB / 0.6663 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.5112, allocations: 432.2 kB / 0.6668 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5112, allocations: 0 / 0.6668 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5113, allocations: 16.59 kB / 0.6668 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.5113, allocations: 8.688 kB / 0.6668 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.512, allocations: 380.5 kB / 0.6671 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.5141, allocations: 1.858 MB / 0.669 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.5149, allocations: 359.2 kB / 0.6693 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.5152, allocations: 175.1 kB / 0.6695 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.5172, allocations: 1.556 MB / 0.671 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.5177, allocations: 215.4 kB / 0.6712 GB, free: 10.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.5177, allocations: 1.812 kB / 0.6712 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001423/0.5191, allocations: 0.6137 MB / 0.6718 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5192, allocations: 56.44 kB / 0.6719 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.5195, allocations: 367.1 kB / 0.6722 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.5196, allocations: 36.52 kB / 0.6722 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5198, allocations: 226.1 kB / 0.6725 GB, free: 9.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.5199, allocations: 128 kB / 0.6726 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.5199, allocations: 36.58 kB / 0.6726 GB, free: 9.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5201, allocations: 357.6 kB / 0.6729 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.5204, allocations: 123.1 kB / 0.6731 GB, free: 9.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.5207, allocations: 183.5 kB / 0.6732 GB, free: 9.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.5213, allocations: 341.7 kB / 0.6736 GB, free: 8.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5214, allocations: 0 / 0.6736 GB, free: 8.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009229/0.5223, allocations: 485.8 kB / 0.674 GB, free: 8.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5223, allocations: 34.33 kB / 0.6741 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5224, allocations: 2.812 kB / 0.6741 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.5226, allocations: 51.78 kB / 0.6741 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.5229, allocations: 76.69 kB / 0.6742 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5241, allocations: 1.429 MB / 0.6756 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.5245, allocations: 51.52 kB / 0.6756 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.5245, allocations: 19.98 kB / 0.6757 GB, free: 6.879 MB / 494.1 MB 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.0001983/0.5247, allocations: 161.8 kB / 0.6758 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.5248, allocations: 43.47 kB / 0.6758 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.5259, allocations: 0.5314 MB / 0.6764 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5259, allocations: 4 kB / 0.6764 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5259, allocations: 0 / 0.6764 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.526, allocations: 3.938 kB / 0.6764 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.5276, allocations: 0.9777 MB / 0.6773 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5276, allocations: 64 / 0.6773 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.5278, allocations: 67.91 kB / 0.6774 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.528, allocations: 44.81 kB / 0.6774 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.5281, allocations: 8 kB / 0.6774 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.5292, allocations: 1.429 MB / 0.6788 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5292, allocations: 8.016 kB / 0.6788 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.5304, allocations: 0.6613 MB / 0.6795 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.5306, allocations: 128.6 kB / 0.6796 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.5306, allocations: 8 kB / 0.6796 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.5309, allocations: 23.92 kB / 0.6796 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.531, allocations: 39.75 kB / 0.6797 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.5311, allocations: 12 kB / 0.6797 GB, free: 2.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.5314, allocations: 271.1 kB / 0.68 GB, free: 2.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5314, allocations: 4 kB / 0.68 GB, free: 2.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.532, allocations: 159.8 kB / 0.6801 GB, free: 2.051 MB / 494.1 MB 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.0003914/0.5324, allocations: 231 kB / 0.6803 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009974/0.5334, allocations: 0.5018 MB / 0.6808 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5334, allocations: 320 / 0.6808 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.5339, allocations: 310.5 kB / 0.6811 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009108/0.5349, allocations: 135.6 kB / 0.6812 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.5367, allocations: 1.056 MB / 0.6823 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.5371, allocations: 0.8196 MB / 0.6831 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.5374, allocations: 84.19 kB / 0.6832 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5375, allocations: 47.42 kB / 0.6832 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.5375, allocations: 0 / 0.6832 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.01428/0.5518, allocations: 7.738 MB / 0.6908 GB, free: 7.125 MB / 0.4981 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (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) 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) Reference file matches