Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7149/0.7149, allocations: 74.91 MB / 334.7 MB, free: 15.55 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 90.78 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1341, allocations: 73.03 MB / 0.556 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1858/0.3199, allocations: 143 MB / 0.6957 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.3659/0.6857, allocations: 11.86 MB / 0.7073 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.6867, allocations: 57.78 kB / 0.7073 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.6882, allocations: 0.5052 MB / 0.7078 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.6902, allocations: 0.8917 MB / 0.7087 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.6925, allocations: 0.8084 MB / 0.7095 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.6939, allocations: 1.367 MB / 0.7108 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.6943, allocations: 191.8 kB / 0.711 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.6953, allocations: 0.5935 MB / 0.7116 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009809/0.6962, allocations: 0.6262 MB / 0.7122 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.6964, allocations: 75.44 kB / 0.7123 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.6991, allocations: 1.215 MB / 0.7134 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.6993, allocations: 197.3 kB / 0.7136 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005344/0.6998, allocations: 425.1 kB / 0.714 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.7025, allocations: 1.572 MB / 0.7156 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7025, allocations: 1.344 kB / 0.7156 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7025, allocations: 0 / 0.7156 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.7025, allocations: 1.531 kB / 0.7156 GB, free: 3.316 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002768/0.7053, allocations: 1.395 MB / 0.7169 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7053, allocations: 8.156 kB / 0.7169 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.7055, allocations: 134.3 kB / 0.7171 GB, free: 18.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.7067, allocations: 0.7033 MB / 0.7178 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.7067, allocations: 50.84 kB / 0.7178 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.7068, allocations: 73.02 kB / 0.7179 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.708, allocations: 0.7453 MB / 0.7186 GB, free: 18.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.708, allocations: 0 / 0.7186 GB, free: 18.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.708, allocations: 26.19 kB / 0.7186 GB, free: 18.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.708, allocations: 19.59 kB / 0.7186 GB, free: 18.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7091, allocations: 0.6499 MB / 0.7193 GB, free: 18.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.7118, allocations: 1.742 MB / 0.721 GB, free: 17.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.7128, allocations: 0.5177 MB / 0.7215 GB, free: 17.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.7131, allocations: 228.2 kB / 0.7217 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.7146, allocations: 0.8984 MB / 0.7226 GB, free: 17.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7146, allocations: 43.25 kB / 0.7226 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=55): time 1.793e-06/0.7146, allocations: 1.094 kB / 0.7226 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56): time 0.002986/0.7176, allocations: 1.559 MB / 0.7242 GB, free: 16.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.7176, allocations: 59.67 kB / 0.7242 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.7183, allocations: 0.6538 MB / 0.7248 GB, free: 16.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.7183, allocations: 34.48 kB / 0.7249 GB, free: 16.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.7186, allocations: 461.8 kB / 0.7253 GB, free: 16.58 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.7186, allocations: 204.1 kB / 0.7255 GB, free: 16.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7188, allocations: 91.09 kB / 0.7256 GB, free: 16.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7189, allocations: 330 kB / 0.7259 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.7192, allocations: 162.2 kB / 0.7261 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.7195, allocations: 224.3 kB / 0.7263 GB, free: 16.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.7202, allocations: 431.2 kB / 0.7267 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7202, allocations: 0.9688 kB / 0.7267 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001178/0.7214, allocations: 0.6476 MB / 0.7273 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7214, allocations: 6.312 kB / 0.7273 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7214, allocations: 0.9062 kB / 0.7273 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/0.7218, allocations: 115.5 kB / 0.7274 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.7221, allocations: 100 kB / 0.7275 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7242, allocations: 1.904 MB / 0.7294 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.7245, allocations: 17.97 kB / 0.7294 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.7246, allocations: 21.66 kB / 0.7294 GB, free: 14.69 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.7248, allocations: 210.8 kB / 0.7296 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.725, allocations: 92.27 kB / 0.7297 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.7264, allocations: 0.8605 MB / 0.7306 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7264, allocations: 5.438 kB / 0.7306 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7264, allocations: 7.094 kB / 0.7306 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.7264, allocations: 3.953 kB / 0.7306 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.7284, allocations: 1.327 MB / 0.7319 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7284, allocations: 1.859 kB / 0.7319 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.7287, allocations: 93.16 kB / 0.732 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.729, allocations: 115.3 kB / 0.7321 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.729, allocations: 16.06 kB / 0.7321 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.731, allocations: 1.896 MB / 0.7339 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.731, allocations: 8.344 kB / 0.734 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.7324, allocations: 0.9762 MB / 0.7349 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.7325, allocations: 83.25 kB / 0.735 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.7326, allocations: 10.78 kB / 0.735 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.7329, allocations: 20.66 kB / 0.735 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.733, allocations: 49.61 kB / 0.7351 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.733, allocations: 20.22 kB / 0.7351 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000506/0.7335, allocations: 483.1 kB / 0.7355 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7335, allocations: 0 / 0.7355 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009255/0.7345, allocations: 327.4 kB / 0.7359 GB, free: 12.46 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007569/0.7352, allocations: 486.4 kB / 0.7363 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.7363, allocations: 0.5858 MB / 0.7369 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7363, allocations: 2.266 kB / 0.7369 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.737, allocations: 421.7 kB / 0.7373 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7381, allocations: 240.7 kB / 0.7375 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.7408, allocations: 1.602 MB / 0.7391 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.7412, allocations: 417.9 kB / 0.7395 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.7415, allocations: 136.8 kB / 0.7396 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.7417, allocations: 75.52 kB / 0.7397 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7417, allocations: 1 kB / 0.7397 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Templates: time 0.0263/0.768, allocations: 16.26 MB / 0.7556 GB, free: 7.941 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.363432834041305]