Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 105 kB / 15.98 MB, free: 6.348 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.001365/0.001365, allocations: 197.7 kB / 16.91 MB, free: 6.188 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7392/0.7392, allocations: 93.69 MB / 384.4 MB, free: 5.465 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.86 kB / 463.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 68.27 MB / 0.5194 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.222/0.3484, allocations: 45.59 MB / 0.5639 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3612, allocations: 12.37 MB / 0.576 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3633, allocations: 65.84 kB / 0.576 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.3662, allocations: 1.051 MB / 0.5771 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.3716, allocations: 1.904 MB / 0.5789 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.3751, allocations: 1.084 MB / 0.58 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.3792, allocations: 2.805 MB / 0.5827 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.3803, allocations: 469.1 kB / 0.5832 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.3831, allocations: 1.329 MB / 0.5845 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.3852, allocations: 1.102 MB / 0.5855 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006191/0.3858, allocations: 133.6 kB / 0.5857 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.3898, allocations: 1.161 MB / 0.5868 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.3905, allocations: 427.6 kB / 0.5872 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3923, allocations: 0.9686 MB / 0.5881 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.3962, allocations: 2.113 MB / 0.5902 GB, free: 1.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3962, allocations: 0 / 0.5902 GB, free: 1.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3963, allocations: 1.781 kB / 0.5902 GB, free: 1.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3964, allocations: 1.031 kB / 0.5902 GB, free: 1.961 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006285/0.4027, allocations: 2.471 MB / 0.5926 GB, free: 392 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4027, allocations: 10.41 kB / 0.5926 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/0.4034, allocations: 225.5 kB / 0.5929 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.406, allocations: 1.266 MB / 0.5941 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.4062, allocations: 104.3 kB / 0.5942 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.4065, allocations: 134.2 kB / 0.5943 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.4098, allocations: 1.495 MB / 0.5958 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.4099, allocations: 0 / 0.5958 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.41, allocations: 51.22 kB / 0.5958 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.41, allocations: 35.78 kB / 0.5959 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.4132, allocations: 1.561 MB / 0.5974 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.4233, allocations: 6.263 MB / 0.6035 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.426, allocations: 1.3 MB / 0.6048 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.4274, allocations: 0.6926 MB / 0.6054 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007172/0.4346, allocations: 4.575 MB / 0.6099 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.4361, allocations: 0.6815 MB / 0.6106 GB, free: 1.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=139): time 3.617e-06/0.4361, allocations: 0 / 0.6106 GB, free: 1.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.005087/0.4412, allocations: 2.124 MB / 0.6127 GB, free: 14.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4413, allocations: 68.72 kB / 0.6127 GB, free: 14.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.4437, allocations: 1.293 MB / 0.614 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.4439, allocations: 61.62 kB / 0.614 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/0.4447, allocations: 0.6886 MB / 0.6147 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/0.4453, allocations: 469.1 kB / 0.6152 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004977/0.4458, allocations: 254.6 kB / 0.6154 GB, free: 12.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.446, allocations: 353.9 kB / 0.6157 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.447, allocations: 466.4 kB / 0.6162 GB, free: 11.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.4483, allocations: 0.6201 MB / 0.6168 GB, free: 10.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.4506, allocations: 1.163 MB / 0.6179 GB, free: 9.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.4506, allocations: 0 / 0.6179 GB, free: 9.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003542/0.4542, allocations: 1.525 MB / 0.6194 GB, free: 7.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.4543, allocations: 33.7 kB / 0.6194 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4543, allocations: 4 kB / 0.6195 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.4548, allocations: 120.2 kB / 0.6196 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4558, allocations: 267.7 kB / 0.6198 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.4592, allocations: 3.24 MB / 0.623 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4605, allocations: 138.9 kB / 0.6231 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.4607, allocations: 59.97 kB / 0.6232 GB, free: 3.688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009288/0.4617, allocations: 385.4 kB / 0.6235 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/0.4623, allocations: 177.7 kB / 0.6237 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.4674, allocations: 2.286 MB / 0.6259 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.4674, allocations: 16 kB / 0.626 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4675, allocations: 3.938 kB / 0.626 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.4675, allocations: 15.72 kB / 0.626 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.4748, allocations: 3.457 MB / 0.6294 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4749, allocations: 0 / 0.6294 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.476, allocations: 287.8 kB / 0.6296 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/0.4764, allocations: 115.2 kB / 0.6297 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.4765, allocations: 55.84 kB / 0.6298 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.4797, allocations: 3.22 MB / 0.6329 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4797, allocations: 0 / 0.6329 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.485, allocations: 2.383 MB / 0.6353 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.4861, allocations: 474.1 kB / 0.6357 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.4865, allocations: 41.44 kB / 0.6358 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.4876, allocations: 83.84 kB / 0.6358 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.4879, allocations: 125.1 kB / 0.636 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.488, allocations: 55.97 kB / 0.636 GB, free: 6.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.4897, allocations: 0.9112 MB / 0.6369 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4897, allocations: 4 kB / 0.6369 GB, free: 5.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002281/0.492, allocations: 0.5927 MB / 0.6375 GB, free: 4.676 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.4945, allocations: 0.8375 MB / 0.6383 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005198/0.4997, allocations: 1.652 MB / 0.6399 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4997, allocations: 0 / 0.6399 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.5017, allocations: 0.9896 MB / 0.6409 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.5045, allocations: 0.4945 MB / 0.6414 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.5118, allocations: 3.981 MB / 0.6452 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.5131, allocations: 1.345 MB / 0.6466 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.5139, allocations: 211.4 kB / 0.6468 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5139, allocations: 0 / 0.6468 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.06097/0.5748, allocations: 41.81 MB / 0.6876 GB, free: 1.699 MB / 0.5294 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches