Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 174.7 kB / 15.43 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.7 MB / 241.9 MB, free: 404 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.89 kB / 293.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6945/0.6945, allocations: 91.65 MB / 435.8 MB, free: 23.59 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 0.5038 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.328, allocations: 69.29 MB / 0.5715 GB, free: 45.61 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1319/0.46, allocations: 134.1 MB / 0.7024 GB, free: 4.414 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.004551/0.4646, allocations: 4.634 MB / 0.7069 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.465, allocations: 7.938 kB / 0.7069 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.4656, allocations: 179 kB / 0.7071 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.4667, allocations: 457.6 kB / 0.7075 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.4676, allocations: 335 kB / 0.7079 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.4686, allocations: 0.9378 MB / 0.7088 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.4688, allocations: 105.1 kB / 0.7089 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.4694, allocations: 290.8 kB / 0.7092 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.4699, allocations: 350.6 kB / 0.7095 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.47, allocations: 16 kB / 0.7095 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.4712, allocations: 0.6276 MB / 0.7101 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.4713, allocations: 63.62 kB / 0.7102 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.4715, allocations: 228.6 kB / 0.7104 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009663/0.4725, allocations: 0.6913 MB / 0.7111 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4725, allocations: 4 kB / 0.7111 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.978e-06/0.4725, allocations: 0 / 0.7111 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.4725, allocations: 3.938 kB / 0.7111 GB, free: 11.15 MB / 0.5105 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.00129/0.4738, allocations: 0.7119 MB / 0.7118 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4739, allocations: 15.98 kB / 0.7118 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.474, allocations: 40.47 kB / 0.7118 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.4743, allocations: 319.3 kB / 0.7121 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.4744, allocations: 29.02 kB / 0.7122 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.4745, allocations: 40.31 kB / 0.7122 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.4752, allocations: 412.4 kB / 0.7126 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4752, allocations: 4 kB / 0.7126 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.4752, allocations: 15.98 kB / 0.7126 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4753, allocations: 8 kB / 0.7126 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.4759, allocations: 390.3 kB / 0.713 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.478, allocations: 1.848 MB / 0.7148 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.4789, allocations: 439.1 kB / 0.7152 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.4792, allocations: 197.1 kB / 0.7154 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.4812, allocations: 1.615 MB / 0.717 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004727/0.4816, allocations: 248.2 kB / 0.7172 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=41): time 2.254e-06/0.4817, allocations: 0 / 0.7172 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41): time 0.001421/0.4831, allocations: 0.6548 MB / 0.7179 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4831, allocations: 63.34 kB / 0.7179 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.4834, allocations: 270.9 kB / 0.7182 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.4834, allocations: 37.7 kB / 0.7182 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4836, allocations: 192.3 kB / 0.7184 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4837, allocations: 138 kB / 0.7185 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.4837, allocations: 8 kB / 0.7185 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4838, allocations: 346.8 kB / 0.7189 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.4841, allocations: 140.8 kB / 0.719 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.4845, allocations: 201.4 kB / 0.7192 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.4851, allocations: 380 kB / 0.7196 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4851, allocations: 0 / 0.7196 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009133/0.4861, allocations: 0.5052 MB / 0.72 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4861, allocations: 29.7 kB / 0.7201 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4861, allocations: 0 / 0.7201 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.4863, allocations: 44.83 kB / 0.7201 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.4866, allocations: 79.98 kB / 0.7202 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.4878, allocations: 1.429 MB / 0.7216 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.4881, allocations: 39.67 kB / 0.7216 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.4882, allocations: 20 kB / 0.7216 GB, free: 15.51 MB / 0.5261 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.0001671/0.4883, allocations: 157.8 kB / 0.7218 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.4884, allocations: 39.56 kB / 0.7218 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4895, allocations: 0.5435 MB / 0.7224 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4895, allocations: 4 kB / 0.7224 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4895, allocations: 0 / 0.7224 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4895, allocations: 3.938 kB / 0.7224 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.4911, allocations: 1.067 MB / 0.7234 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4912, allocations: 4 kB / 0.7234 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.4914, allocations: 67.91 kB / 0.7235 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.4916, allocations: 44.84 kB / 0.7235 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.4916, allocations: 19.92 kB / 0.7235 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.4928, allocations: 1.417 MB / 0.7249 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4928, allocations: 144 / 0.7249 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.494, allocations: 0.7541 MB / 0.7257 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.4941, allocations: 116.5 kB / 0.7258 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.4942, allocations: 11.98 kB / 0.7258 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4944, allocations: 32.05 kB / 0.7258 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4946, allocations: 35.95 kB / 0.7259 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.4946, allocations: 15.98 kB / 0.7259 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001752/0.4948, allocations: 190 kB / 0.726 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.663e-06/0.4948, allocations: 4 kB / 0.7261 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005396/0.4953, allocations: 175.6 kB / 0.7262 GB, free: 10.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003813/0.4957, allocations: 235 kB / 0.7264 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.4967, allocations: 0.5452 MB / 0.727 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4968, allocations: 0 / 0.727 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.4973, allocations: 351.3 kB / 0.7273 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.4981, allocations: 128.3 kB / 0.7274 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4997, allocations: 0.9583 MB / 0.7284 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.5001, allocations: 0.8026 MB / 0.7292 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.5004, allocations: 79.11 kB / 0.7292 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5005, allocations: 43.44 kB / 0.7293 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.5005, allocations: 0 / 0.7293 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of Templates: time 0.01334/0.5139, allocations: 7.852 MB / 0.7369 GB, free: 15.54 MB / 0.5417 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","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches