Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.000847/0.0008471, allocations: 173.9 kB / 15.43 MB, free: 5.891 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.242/1.242, allocations: 225.7 MB / 241.9 MB, free: 372 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.0007303/0.0007305, allocations: 91.86 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7392/0.7392, allocations: 90.99 MB / 435.2 MB, free: 24.39 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 4 kB / 0.5029 GB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 69.1 MB / 0.5704 GB, free: 45.51 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6353/0.9758, allocations: 350.6 MB / 0.9128 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04413/1.02, allocations: 46.79 MB / 0.9585 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.022, allocations: 23.88 kB / 0.9585 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003732/1.025, allocations: 1.287 MB / 0.9598 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/1.038, allocations: 4.056 MB / 0.9637 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008362/1.046, allocations: 2.693 MB / 0.9663 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004041/1.05, allocations: 3.114 MB / 0.9694 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/1.051, allocations: 0.519 MB / 0.9699 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/1.054, allocations: 1.121 MB / 0.971 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/1.055, allocations: 0.8364 MB / 0.9718 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.055, allocations: 48 kB / 0.9719 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02154/1.077, allocations: 11.71 MB / 0.9833 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007676/1.078, allocations: 362.7 kB / 0.9836 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/1.079, allocations: 0.6702 MB / 0.9843 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/1.098, allocations: 6.702 MB / 0.9908 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.098, allocations: 3.938 kB / 0.9908 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.405e-06/1.098, allocations: 0 / 0.9908 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.274e-05/1.098, allocations: 0 / 0.9908 GB, free: 14.68 MB / 0.6667 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.006835/1.105, allocations: 2.495 MB / 0.9933 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.105, allocations: 11.98 kB / 0.9933 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/1.105, allocations: 150.2 kB / 0.9934 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.107, allocations: 0.7043 MB / 0.9941 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.107, allocations: 90.31 kB / 0.9942 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.107, allocations: 119.9 kB / 0.9943 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/1.11, allocations: 1.796 MB / 0.9961 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/1.11, allocations: 0 / 0.9961 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.11, allocations: 47.98 kB / 0.9961 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/1.11, allocations: 114.3 kB / 0.9962 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/1.113, allocations: 1.899 MB / 0.9981 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009099/1.122, allocations: 8.072 MB / 1.006 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.124, allocations: 0.9572 MB / 1.007 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009799/1.125, allocations: 0.7254 MB / 1.008 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003391/1.128, allocations: 4.341 MB / 1.012 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.128, allocations: 51.55 kB / 1.012 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=105): time 5.039e-06/1.128, allocations: 0 / 1.012 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107): time 0.00657/1.135, allocations: 3.977 MB / 1.016 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.135, allocations: 68.41 kB / 1.016 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/1.135, allocations: 0.4914 MB / 1.016 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/1.136, allocations: 41.7 kB / 1.016 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/1.136, allocations: 0.4921 MB / 1.017 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/1.136, allocations: 362.6 kB / 1.017 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/1.136, allocations: 23.94 kB / 1.017 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.136, allocations: 386.8 kB / 1.018 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/1.137, allocations: 0.5291 MB / 1.018 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/1.138, allocations: 0.6154 MB / 1.019 GB, free: 104 kB / 0.6823 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.2414/1.379, allocations: 1.295 MB / 1.02 GB, free: 287.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.379, allocations: 4.625 kB / 1.02 GB, free: 287.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002427/1.382, allocations: 1.551 MB / 1.021 GB, free: 287.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.382, allocations: 9.5 kB / 1.021 GB, free: 287.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.382, allocations: 2.938 kB / 1.021 GB, free: 287.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/1.382, allocations: 165.8 kB / 1.022 GB, free: 287.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.383, allocations: 199.7 kB / 1.022 GB, free: 287.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.385, allocations: 2.454 MB / 1.024 GB, free: 286.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/1.386, allocations: 97.83 kB / 1.024 GB, free: 286.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.386, allocations: 92.17 kB / 1.024 GB, free: 286.3 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.0004448/1.387, allocations: 320.3 kB / 1.025 GB, free: 286.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.387, allocations: 82.69 kB / 1.025 GB, free: 286.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.39, allocations: 1.981 MB / 1.027 GB, free: 285.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.39, allocations: 8.75 kB / 1.027 GB, free: 285.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.39, allocations: 5.5 kB / 1.027 GB, free: 285.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.39, allocations: 5.859 kB / 1.027 GB, free: 285.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/1.394, allocations: 3.509 MB / 1.03 GB, free: 283.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.394, allocations: 2.844 kB / 1.03 GB, free: 283.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.395, allocations: 200.8 kB / 1.03 GB, free: 283.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/1.395, allocations: 171.6 kB / 1.031 GB, free: 283.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/1.395, allocations: 54.55 kB / 1.031 GB, free: 283.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/1.397, allocations: 2.457 MB / 1.033 GB, free: 281.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.397, allocations: 6.812 kB / 1.033 GB, free: 281.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/1.4, allocations: 2.534 MB / 1.035 GB, free: 280.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.401, allocations: 151.2 kB / 1.036 GB, free: 280.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.401, allocations: 21.44 kB / 1.036 GB, free: 280.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/1.401, allocations: 107.4 kB / 1.036 GB, free: 280.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.402, allocations: 101.5 kB / 1.036 GB, free: 280.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.402, allocations: 94.3 kB / 1.036 GB, free: 280.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003636/1.402, allocations: 347.8 kB / 1.036 GB, free: 280.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.402, allocations: 0 / 1.036 GB, free: 280.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002932/1.405, allocations: 1.176 MB / 1.037 GB, free: 280.1 MB / 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.002954/1.408, allocations: 1.679 MB / 1.039 GB, free: 279.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.41, allocations: 1.641 MB / 1.041 GB, free: 279.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.41, allocations: 0 / 1.041 GB, free: 279.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.411, allocations: 1.005 MB / 1.042 GB, free: 278.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.413, allocations: 336.4 kB / 1.042 GB, free: 278.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.416, allocations: 3.182 MB / 1.045 GB, free: 276.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/1.416, allocations: 1.183 MB / 1.046 GB, free: 276.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001151/1.417, allocations: 381 kB / 1.047 GB, free: 276 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/1.418, allocations: 150.8 kB / 1.047 GB, free: 276 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/1.418, allocations: 1.062 kB / 1.047 GB, free: 276 MB / 0.6823 GB Notification: Performance of Templates: time 0.04905/1.467, allocations: 39.32 MB / 1.085 GB, free: 257.3 MB / 0.6823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches