Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004961/0.004962, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001315/0.001315, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9732/0.9732, allocations: 93.71 MB / 384.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 91.84 kB / 0.5204 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.19, allocations: 68.25 MB / 0.5871 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 1.315/1.505, allocations: 284.6 MB / 0.865 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0344/1.539, allocations: 27.35 MB / 0.8917 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/1.542, allocations: 50.06 kB / 0.8917 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003763/1.545, allocations: 1.39 MB / 0.8931 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01585/1.561, allocations: 4.689 MB / 0.8977 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007192/1.569, allocations: 2.029 MB / 0.8997 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004426/1.573, allocations: 2.255 MB / 0.9019 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.574, allocations: 0.6354 MB / 0.9025 GB, free: 17.51 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/1.578, allocations: 1.366 MB / 0.9038 GB, free: 17.49 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/1.581, allocations: 0.9867 MB / 0.9048 GB, free: 17.49 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003354/1.581, allocations: 136.6 kB / 0.9049 GB, free: 17.49 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01826/1.599, allocations: 8.896 MB / 0.9136 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.601, allocations: 490.1 kB / 0.9141 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/1.603, allocations: 0.8443 MB / 0.9149 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02269/1.625, allocations: 5.565 MB / 0.9203 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.625, allocations: 0 / 0.9203 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.944e-06/1.625, allocations: 0 / 0.9203 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.717e-05/1.626, allocations: 0.8125 kB / 0.9203 GB, free: 16.83 MB / 0.7012 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.008748/1.634, allocations: 2.799 MB / 0.9231 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.634, allocations: 8.125 kB / 0.9231 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/1.635, allocations: 187.5 kB / 0.9232 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/1.637, allocations: 1.025 MB / 0.9242 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/1.637, allocations: 88.94 kB / 0.9243 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/1.637, allocations: 118.7 kB / 0.9244 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/1.64, allocations: 1.773 MB / 0.9262 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/1.64, allocations: 3.953 kB / 0.9262 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.64, allocations: 47.89 kB / 0.9262 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/1.64, allocations: 108.7 kB / 0.9263 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/1.643, allocations: 1.883 MB / 0.9282 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/1.654, allocations: 7.981 MB / 0.936 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/1.656, allocations: 0.9095 MB / 0.9368 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/1.657, allocations: 0.6869 MB / 0.9375 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002159/1.659, allocations: 2.354 MB / 0.9398 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/1.659, allocations: 54.16 kB / 0.9399 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 4.198e-06/1.659, allocations: 0.9375 kB / 0.9399 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.007012/1.666, allocations: 3.858 MB / 0.9436 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/1.666, allocations: 66.28 kB / 0.9437 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.667, allocations: 0.8034 MB / 0.9445 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/1.668, allocations: 42.83 kB / 0.9445 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/1.668, allocations: 0.6165 MB / 0.9451 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/1.668, allocations: 369.6 kB / 0.9455 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/1.669, allocations: 187.4 kB / 0.9457 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.669, allocations: 342.7 kB / 0.946 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/1.67, allocations: 0.4964 MB / 0.9465 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/1.67, allocations: 0.5724 MB / 0.947 GB, free: 4.758 MB / 0.7012 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.00171/1.672, allocations: 1.237 MB / 0.9482 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.672, allocations: 0 / 0.9482 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002605/1.675, allocations: 1.513 MB / 0.9497 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.675, allocations: 12.73 kB / 0.9497 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.675, allocations: 0 / 0.9497 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/1.675, allocations: 165.3 kB / 0.9499 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/1.676, allocations: 186.6 kB / 0.9501 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/1.679, allocations: 2.703 MB / 0.9527 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/1.68, allocations: 30.7 kB / 0.9527 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.68, allocations: 64.06 kB / 0.9528 GB, free: 2.453 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (95): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007438/1.681, allocations: 339.2 kB / 0.9531 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/1.681, allocations: 123.3 kB / 0.9532 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/1.685, allocations: 2.133 MB / 0.9553 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.685, allocations: 10.22 kB / 0.9553 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.685, allocations: 2.375 kB / 0.9553 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.685, allocations: 7.922 kB / 0.9553 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/1.69, allocations: 3.358 MB / 0.9586 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.69, allocations: 7 kB / 0.9586 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/1.691, allocations: 183.5 kB / 0.9588 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006114/1.692, allocations: 176.5 kB / 0.959 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/1.692, allocations: 37.78 kB / 0.959 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/1.695, allocations: 2.697 MB / 0.9616 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.695, allocations: 0 / 0.9616 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/1.699, allocations: 2.365 MB / 0.9639 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/1.7, allocations: 186.6 kB / 0.9641 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.7, allocations: 20.06 kB / 0.9641 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/1.7, allocations: 26.17 kB / 0.9642 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.7, allocations: 89.69 kB / 0.9643 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.701, allocations: 66.16 kB / 0.9643 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008358/1.701, allocations: 0.587 MB / 0.9649 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/1.701, allocations: 3.188 kB / 0.9649 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003355/1.705, allocations: 0.9399 MB / 0.9658 GB, free: 10.94 MB / 0.7169 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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * 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 {(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.003935/1.709, allocations: 1.213 MB / 0.967 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003163/1.712, allocations: 1.528 MB / 0.9685 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.712, allocations: 3.938 kB / 0.9685 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.714, allocations: 0.932 MB / 0.9694 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.716, allocations: 416.2 kB / 0.9698 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/1.721, allocations: 2.779 MB / 0.9725 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.722, allocations: 1.268 MB / 0.9738 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001754/1.724, allocations: 0.6097 MB / 0.9743 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.725, allocations: 135.4 kB / 0.9745 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/1.725, allocations: 0 / 0.9745 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.06417/1.789, allocations: 36.65 MB / 1.01 GB, free: 14.21 MB / 0.7637 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches