Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001661/0.001661, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001803/0.001803, allocations: 213 kB / 22.24 MB, free: 5.258 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7388/0.7388, allocations: 100.9 MB / 413.3 MB, free: 2.883 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [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.002471/0.002471, allocations: 90.59 kB / 0.5646 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1187, allocations: 74.61 MB / 0.6374 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05423/0.173, allocations: 49.07 MB / 0.6853 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.1973, allocations: 19.75 MB / 0.7046 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1992, allocations: 99.06 kB / 0.7047 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.2018, allocations: 0.7952 MB / 0.7055 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.2068, allocations: 1.696 MB / 0.7072 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.2105, allocations: 1.339 MB / 0.7085 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.2142, allocations: 2.583 MB / 0.711 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.2149, allocations: 302.7 kB / 0.7113 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.2169, allocations: 1.116 MB / 0.7124 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2183, allocations: 0.8741 MB / 0.7132 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.2186, allocations: 128 kB / 0.7133 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.2217, allocations: 1.132 MB / 0.7144 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.2221, allocations: 346.4 kB / 0.7148 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009211/0.223, allocations: 0.7265 MB / 0.7155 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004366/0.2274, allocations: 2.657 MB / 0.7181 GB, free: 3.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2274, allocations: 4 kB / 0.7181 GB, free: 3.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2274, allocations: 3.938 kB / 0.7181 GB, free: 3.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.534e-05/0.2274, allocations: 0 / 0.7181 GB, free: 3.051 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004532/0.232, allocations: 2.349 MB / 0.7204 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.232, allocations: 17.47 kB / 0.7204 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.2326, allocations: 250.5 kB / 0.7206 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.235, allocations: 1.175 MB / 0.7218 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.2351, allocations: 94.28 kB / 0.7219 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.2353, allocations: 123.9 kB / 0.722 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2374, allocations: 1.274 MB / 0.7232 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.2374, allocations: 7.938 kB / 0.7232 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.2375, allocations: 47.94 kB / 0.7233 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.2375, allocations: 28 kB / 0.7233 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.2394, allocations: 1.133 MB / 0.7244 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.2447, allocations: 2.961 MB / 0.7273 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2461, allocations: 0.8734 MB / 0.7282 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.2468, allocations: 418.3 kB / 0.7286 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003338/0.2502, allocations: 1.547 MB / 0.7301 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.2502, allocations: 43.56 kB / 0.7301 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.645e-06/0.2502, allocations: 0 / 0.7301 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003313/0.2535, allocations: 1.454 MB / 0.7315 GB, free: 5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2536, allocations: 64.41 kB / 0.7316 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.2551, allocations: 1.193 MB / 0.7328 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.2552, allocations: 45.7 kB / 0.7328 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.2558, allocations: 0.7616 MB / 0.7336 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.2561, allocations: 372.8 kB / 0.7339 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.2564, allocations: 166.6 kB / 0.7341 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2565, allocations: 341.9 kB / 0.7344 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.2571, allocations: 285.9 kB / 0.7347 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.2578, allocations: 0.5195 MB / 0.7352 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.2591, allocations: 0.7723 MB / 0.7359 GB, free: 360 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2591, allocations: 0 / 0.7359 GB, free: 360 kB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002136/0.2613, allocations: 1.135 MB / 0.737 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2613, allocations: 8 kB / 0.737 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2613, allocations: 0 / 0.737 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.2619, allocations: 162.7 kB / 0.7372 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.2626, allocations: 191.7 kB / 0.7374 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.2668, allocations: 4.408 MB / 0.7417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.2675, allocations: 83.39 kB / 0.7418 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.2676, allocations: 43.98 kB / 0.7418 GB, free: 9.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0004775/0.268, allocations: 281.7 kB / 0.7421 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.2683, allocations: 162.9 kB / 0.7422 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.271, allocations: 1.561 MB / 0.7438 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.271, allocations: 8 kB / 0.7438 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.271, allocations: 4 kB / 0.7438 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2711, allocations: 3.984 kB / 0.7438 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.2748, allocations: 2.198 MB / 0.7459 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.2748, allocations: 4.188 kB / 0.7459 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.2753, allocations: 151.8 kB / 0.7461 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.2758, allocations: 174.5 kB / 0.7462 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.2759, allocations: 35.97 kB / 0.7463 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.2799, allocations: 4.411 MB / 0.7506 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2799, allocations: 0 / 0.7506 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2689/0.5489, allocations: 1.553 MB / 0.7521 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.5494, allocations: 253.2 kB / 0.7523 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.5496, allocations: 32.19 kB / 0.7524 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.5501, allocations: 28.62 kB / 0.7524 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.5503, allocations: 83 kB / 0.7525 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.5504, allocations: 37.8 kB / 0.7525 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001214/0.5516, allocations: 0.8378 MB / 0.7533 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5516, allocations: 3.688 kB / 0.7533 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001371/0.553, allocations: 0.5505 MB / 0.7539 GB, free: 108.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0008542/0.5538, allocations: 0.6541 MB / 0.7545 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.5558, allocations: 1.123 MB / 0.7556 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5558, allocations: 0.5625 kB / 0.7556 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5568, allocations: 0.7634 MB / 0.7564 GB, free: 108 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.5587, allocations: 494.3 kB / 0.7568 GB, free: 108 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.5629, allocations: 2.77 MB / 0.7595 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.5636, allocations: 0.6707 MB / 0.7602 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000869/0.5645, allocations: 272.2 kB / 0.7604 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.5647, allocations: 125 kB / 0.7606 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.5647, allocations: 0 / 0.7606 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03981/0.6045, allocations: 30.2 MB / 0.7901 GB, free: 87.83 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.519023776054382]