Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 175.8 kB / 15.43 MB, free: 6.203 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.228/1.228, allocations: 225.7 MB / 241.9 MB, free: 14.45 MB / 202.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.0007333/0.0007332, allocations: 92.53 kB / 293 MB, free: 4.902 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.7223/0.7223, allocations: 91.64 MB / 435.8 MB, free: 32.68 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 0.5038 GB, free: 4.047 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3394, allocations: 69.29 MB / 0.5714 GB, free: 33.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6011/0.9405, allocations: 350.6 MB / 0.9138 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03831/0.9788, allocations: 46.8 MB / 0.9595 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.9803, allocations: 25.66 kB / 0.9595 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.9834, allocations: 1.294 MB / 0.9608 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.9947, allocations: 4.066 MB / 0.9647 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007729/1.002, allocations: 2.679 MB / 0.9674 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003472/1.006, allocations: 3.116 MB / 0.9704 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/1.007, allocations: 0.5144 MB / 0.9709 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/1.009, allocations: 1.119 MB / 0.972 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/1.011, allocations: 0.8432 MB / 0.9728 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/1.011, allocations: 48 kB / 0.9729 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/1.033, allocations: 11.7 MB / 0.9843 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006812/1.034, allocations: 360.8 kB / 0.9846 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.035, allocations: 0.6733 MB / 0.9853 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/1.052, allocations: 6.711 MB / 0.9919 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.052, allocations: 0 / 0.9919 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.204e-06/1.052, allocations: 0 / 0.9919 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.354e-05/1.052, allocations: 0 / 0.9919 GB, free: 15.07 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005729/1.058, allocations: 2.489 MB / 0.9943 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.058, allocations: 11.98 kB / 0.9943 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/1.058, allocations: 154.2 kB / 0.9944 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.059, allocations: 0.6974 MB / 0.9951 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/1.059, allocations: 88.72 kB / 0.9952 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.06, allocations: 127.1 kB / 0.9953 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/1.062, allocations: 1.788 MB / 0.9971 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.062, allocations: 0 / 0.9971 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/1.062, allocations: 54.66 kB / 0.9971 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/1.062, allocations: 107.6 kB / 0.9972 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.065, allocations: 1.908 MB / 0.9991 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008186/1.073, allocations: 8.071 MB / 1.007 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.074, allocations: 0.9459 MB / 1.008 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/1.075, allocations: 0.7192 MB / 1.009 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/1.079, allocations: 4.355 MB / 1.013 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.079, allocations: 43.56 kB / 1.013 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 3.937e-06/1.079, allocations: 0 / 1.013 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.007359/1.086, allocations: 3.975 MB / 1.017 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/1.086, allocations: 60.41 kB / 1.017 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/1.087, allocations: 0.503 MB / 1.017 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/1.087, allocations: 41.7 kB / 1.017 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.087, allocations: 499.9 kB / 1.018 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/1.087, allocations: 364.9 kB / 1.018 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/1.087, allocations: 20 kB / 1.018 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.088, allocations: 390.7 kB / 1.019 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/1.088, allocations: 0.5291 MB / 1.019 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/1.089, allocations: 0.6115 MB / 1.02 GB, free: 3.496 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/1.091, allocations: 1.303 MB / 1.021 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.091, allocations: 0 / 1.021 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002563/1.094, allocations: 1.557 MB / 1.022 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.094, allocations: 8 kB / 1.022 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.094, allocations: 0 / 1.022 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/1.094, allocations: 169.4 kB / 1.023 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/1.095, allocations: 200.2 kB / 1.023 GB, free: 264 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/1.098, allocations: 2.462 MB / 1.025 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/1.098, allocations: 103.8 kB / 1.025 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.099, allocations: 91.95 kB / 1.025 GB, free: 13.49 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005637/1.099, allocations: 318.5 kB / 1.026 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.099, allocations: 82.97 kB / 1.026 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/1.103, allocations: 1.978 MB / 1.028 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.103, allocations: 12 kB / 1.028 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.103, allocations: 3.938 kB / 1.028 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.103, allocations: 7.984 kB / 1.028 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/1.109, allocations: 3.503 MB / 1.031 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.109, allocations: 0 / 1.031 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/1.109, allocations: 206.8 kB / 1.031 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/1.11, allocations: 160.7 kB / 1.032 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.11, allocations: 51.95 kB / 1.032 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/1.113, allocations: 2.479 MB / 1.034 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.113, allocations: 0 / 1.034 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/1.117, allocations: 2.539 MB / 1.036 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.117, allocations: 152.1 kB / 1.037 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.117, allocations: 28 kB / 1.037 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/1.118, allocations: 99.67 kB / 1.037 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.118, allocations: 96.86 kB / 1.037 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.118, allocations: 91.95 kB / 1.037 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004165/1.118, allocations: 354.5 kB / 1.037 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.118, allocations: 0 / 1.037 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002969/1.121, allocations: 1.174 MB / 1.038 GB, free: 8 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 90 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004187/1.126, allocations: 1.66 MB / 1.04 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002826/1.128, allocations: 1.647 MB / 1.042 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.128, allocations: 4.188 kB / 1.042 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.13, allocations: 1.007 MB / 1.043 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.132, allocations: 328.3 kB / 1.043 GB, free: 11.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/1.136, allocations: 3.183 MB / 1.046 GB, free: 8.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/1.137, allocations: 1.187 MB / 1.047 GB, free: 7.098 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001436/1.139, allocations: 373.7 kB / 1.048 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/1.139, allocations: 151.3 kB / 1.048 GB, free: 6.578 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.139, allocations: 0 / 1.048 GB, free: 6.578 MB / 0.698 GB Notification: Performance of Templates: time 0.2902/1.429, allocations: 39.32 MB / 1.086 GB, free: 283.5 MB / 0.698 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches