Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.001667/0.001667, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.001887/0.001887, allocations: 219 kB / 22.25 MB, free: 5.133 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.023 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.79/0.79, allocations: 100.3 MB / 412.7 MB, free: 3.684 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [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.00259/0.00259, allocations: 93.42 kB / 0.5638 GB, free: 35.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1318, allocations: 74.46 MB / 0.6365 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.5031/0.6349, allocations: 150.3 MB / 0.7832 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00555/0.6405, allocations: 4.672 MB / 0.7878 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000794/0.6413, allocations: 40.38 kB / 0.7878 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009662/0.6422, allocations: 289.3 kB / 0.7881 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.6442, allocations: 0.6846 MB / 0.7888 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.6457, allocations: 0.5179 MB / 0.7893 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.6473, allocations: 0.9988 MB / 0.7902 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.6475, allocations: 105 kB / 0.7903 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.6487, allocations: 0.5415 MB / 0.7909 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.6493, allocations: 474.6 kB / 0.7913 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.6494, allocations: 43.06 kB / 0.7914 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.6511, allocations: 0.796 MB / 0.7921 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.6512, allocations: 122.9 kB / 0.7923 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.6516, allocations: 315 kB / 0.7926 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.6531, allocations: 0.9663 MB / 0.7935 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6531, allocations: 0 / 0.7935 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6531, allocations: 0 / 0.7935 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.6531, allocations: 0 / 0.7935 GB, free: 14.55 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001626/0.6547, allocations: 0.9185 MB / 0.7944 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6548, allocations: 12.53 kB / 0.7944 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6549, allocations: 76.92 kB / 0.7945 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.6557, allocations: 487.7 kB / 0.795 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.6558, allocations: 31.66 kB / 0.795 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.6558, allocations: 43.78 kB / 0.795 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.6565, allocations: 0.518 MB / 0.7955 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.6566, allocations: 0 / 0.7955 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.6566, allocations: 18.97 kB / 0.7956 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6566, allocations: 8.406 kB / 0.7956 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.6573, allocations: 498.1 kB / 0.796 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.6598, allocations: 2.14 MB / 0.7981 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.6605, allocations: 331.3 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.6608, allocations: 184.3 kB / 0.7986 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.6626, allocations: 0.9243 MB / 0.7995 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.6626, allocations: 36.91 kB / 0.7996 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.6626, allocations: 0 / 0.7996 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.00144/0.6641, allocations: 0.6442 MB / 0.8002 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.6641, allocations: 60.36 kB / 0.8002 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.6646, allocations: 489.7 kB / 0.8007 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.6646, allocations: 39.8 kB / 0.8007 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.6648, allocations: 270.7 kB / 0.801 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.6649, allocations: 170.6 kB / 0.8012 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.665, allocations: 79.61 kB / 0.8012 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6652, allocations: 371.2 kB / 0.8016 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.6654, allocations: 125.2 kB / 0.8017 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.6657, allocations: 187.5 kB / 0.8019 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.6662, allocations: 345.7 kB / 0.8022 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6662, allocations: 4 kB / 0.8022 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008325/0.667, allocations: 0.4983 MB / 0.8027 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.667, allocations: 5.406 kB / 0.8027 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.667, allocations: 4.297 kB / 0.8027 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.6673, allocations: 69.2 kB / 0.8028 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.6676, allocations: 89.23 kB / 0.8029 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.6699, allocations: 2.721 MB / 0.8055 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.6702, allocations: 40.61 kB / 0.8056 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.6702, allocations: 17.95 kB / 0.8056 GB, free: 8.355 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.6705, allocations: 177.1 kB / 0.8058 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6706, allocations: 67.61 kB / 0.8058 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.6717, allocations: 0.704 MB / 0.8065 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.6718, allocations: 9.906 kB / 0.8065 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6718, allocations: 8.469 kB / 0.8065 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6718, allocations: 2.578 kB / 0.8065 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.6735, allocations: 1.162 MB / 0.8077 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6735, allocations: 2.578 kB / 0.8077 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.6738, allocations: 74.94 kB / 0.8077 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.674, allocations: 67.66 kB / 0.8078 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.674, allocations: 20.16 kB / 0.8078 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.6762, allocations: 2.721 MB / 0.8105 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6762, allocations: 0 / 0.8105 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6773, allocations: 0.7652 MB / 0.8112 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6774, allocations: 66.42 kB / 0.8113 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.6775, allocations: 15.72 kB / 0.8113 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.6777, allocations: 12.06 kB / 0.8113 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.6778, allocations: 45.83 kB / 0.8114 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.6778, allocations: 17.75 kB / 0.8114 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004261/0.6783, allocations: 364.2 kB / 0.8117 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6783, allocations: 0 / 0.8117 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006673/0.6789, allocations: 195.1 kB / 0.8119 GB, free: 4.746 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004248/0.6794, allocations: 282.3 kB / 0.8122 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009808/0.6803, allocations: 0.5702 MB / 0.8127 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6803, allocations: 1.812 kB / 0.8127 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.6809, allocations: 434.6 kB / 0.8132 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.6818, allocations: 182.2 kB / 0.8133 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.6839, allocations: 1.146 MB / 0.8144 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.6844, allocations: 0.8781 MB / 0.8153 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.6847, allocations: 124.7 kB / 0.8154 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.6848, allocations: 62.48 kB / 0.8155 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6848, allocations: 0 / 0.8155 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of Templates: time 0.01957/0.7044, allocations: 10.87 MB / 0.8261 GB, free: 13.09 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.461542014963925]