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.001357/0.001357, allocations: 117.6 kB / 16.42 MB, free: 6.012 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.001506/0.001506, allocations: 184.2 kB / 17.35 MB, free: 5.629 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.695/0.695, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 75.88 kB / 0.5175 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 67.68 MB / 0.5836 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1466/0.4421, allocations: 145.3 MB / 0.7255 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.4463, allocations: 3.334 MB / 0.7288 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.4468, allocations: 19.88 kB / 0.7288 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.4475, allocations: 210.6 kB / 0.729 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.4488, allocations: 0.4933 MB / 0.7295 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.45, allocations: 397.7 kB / 0.7299 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.4509, allocations: 0.7233 MB / 0.7306 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.4512, allocations: 128.8 kB / 0.7307 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007521/0.4519, allocations: 366.4 kB / 0.731 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.4525, allocations: 350.6 kB / 0.7314 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.4526, allocations: 32 kB / 0.7314 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.4538, allocations: 0.5771 MB / 0.732 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.454, allocations: 95.61 kB / 0.7321 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.4543, allocations: 234.7 kB / 0.7323 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.4555, allocations: 0.7299 MB / 0.733 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4555, allocations: 3.938 kB / 0.733 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4555, allocations: 4 kB / 0.733 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4555, allocations: 0 / 0.733 GB, free: 4.594 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00163/0.4571, allocations: 0.8326 MB / 0.7338 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4572, allocations: 8.031 kB / 0.7338 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4573, allocations: 52.28 kB / 0.7339 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.458, allocations: 426 kB / 0.7343 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.458, allocations: 29.38 kB / 0.7343 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.4581, allocations: 28.38 kB / 0.7343 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.4588, allocations: 432.1 kB / 0.7348 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4589, allocations: 7.938 kB / 0.7348 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.4589, allocations: 8 kB / 0.7348 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4589, allocations: 12 kB / 0.7348 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.4597, allocations: 366.4 kB / 0.7351 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.4618, allocations: 1.849 MB / 0.7369 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2557/0.7175, allocations: 333.4 kB / 0.7373 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.718, allocations: 167 kB / 0.7374 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.72, allocations: 1.532 MB / 0.7389 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004582/0.7204, allocations: 214.2 kB / 0.7391 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.775e-06/0.7205, allocations: 0 / 0.7391 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001463/0.7219, allocations: 0.5977 MB / 0.7397 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.722, allocations: 59.72 kB / 0.7398 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.7224, allocations: 368.4 kB / 0.7401 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.7224, allocations: 32.7 kB / 0.7401 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7226, allocations: 221.7 kB / 0.7403 GB, free: 153 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.7227, allocations: 124.1 kB / 0.7405 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.7228, allocations: 74.08 kB / 0.7405 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.7229, allocations: 354.5 kB / 0.7409 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.7232, allocations: 119.3 kB / 0.741 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.7235, allocations: 175.4 kB / 0.7412 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.7241, allocations: 336.7 kB / 0.7415 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7242, allocations: 3.938 kB / 0.7415 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009332/0.7251, allocations: 470.2 kB / 0.7419 GB, free: 152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.7251, allocations: 36.59 kB / 0.742 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7252, allocations: 1.969 kB / 0.742 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.7254, allocations: 44.47 kB / 0.742 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.7257, allocations: 75.58 kB / 0.7421 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.7267, allocations: 1.533 MB / 0.7436 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.727, allocations: 40.23 kB / 0.7436 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.7271, allocations: 17.45 kB / 0.7436 GB, free: 150.4 MB / 0.5762 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 (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.0001739/0.7273, allocations: 171.5 kB / 0.7438 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.7273, allocations: 40.44 kB / 0.7438 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.7285, allocations: 0.5195 MB / 0.7443 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.7285, allocations: 1.828 kB / 0.7443 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7285, allocations: 10.09 kB / 0.7444 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.7286, allocations: 121.6 kB / 0.7445 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.7287, allocations: 7.453 kB / 0.7445 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.7289, allocations: 15 kB / 0.7445 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.729, allocations: 33.33 kB / 0.7445 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001124/0.7301, allocations: 479.7 kB / 0.745 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001247/0.7314, allocations: 0.6823 MB / 0.7456 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003822/0.7318, allocations: 161.5 kB / 0.7458 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003401/0.7322, allocations: 266 kB / 0.7461 GB, free: 149 MB / 0.5762 GB Notification: Performance of Backend: time 7.41e-07/0.7322, allocations: 1.5 kB / 0.7461 GB, free: 149 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.7337, allocations: 0.6374 MB / 0.7467 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001633/0.7354, allocations: 1.272 MB / 0.7479 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01277/0.7482, allocations: 8.755 MB / 0.7565 GB, free: 140.9 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches