Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 109.3 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005818/0.005818, allocations: 198.9 kB / 21.93 MB, free: 5.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7929/0.7929, allocations: 94.6 MB / 400.4 MB, free: 15.8 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-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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 84.73 kB / 0.5464 GB, free: 42.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1221, allocations: 71.84 MB / 0.6166 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5186/0.6407, allocations: 141.1 MB / 0.7543 GB, free: 3.496 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.644, allocations: 3.372 MB / 0.7576 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.6443, allocations: 20.44 kB / 0.7576 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.6448, allocations: 134.3 kB / 0.7578 GB, free: 3.465 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.6453, allocations: 209.5 kB / 0.758 GB, free: 3.461 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.6459, allocations: 197.8 kB / 0.7581 GB, free: 3.453 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.6463, allocations: 396.3 kB / 0.7585 GB, free: 3.453 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.6464, allocations: 36.09 kB / 0.7586 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.6469, allocations: 236 kB / 0.7588 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.6471, allocations: 122.8 kB / 0.7589 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.6471, allocations: 11.25 kB / 0.7589 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.6476, allocations: 265 kB / 0.7592 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.6476, allocations: 39.55 kB / 0.7592 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.6477, allocations: 116.2 kB / 0.7593 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.6482, allocations: 328.8 kB / 0.7596 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6482, allocations: 4.188 kB / 0.7596 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6482, allocations: 0 / 0.7596 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.6482, allocations: 1.875 kB / 0.7596 GB, free: 3.418 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009191/0.6492, allocations: 0.5813 MB / 0.7602 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6492, allocations: 9.938 kB / 0.7602 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.6493, allocations: 37.73 kB / 0.7602 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.6499, allocations: 385.7 kB / 0.7606 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.6499, allocations: 6.953 kB / 0.7606 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.6499, allocations: 15.38 kB / 0.7606 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.6502, allocations: 151 kB / 0.7608 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6502, allocations: 4.094 kB / 0.7608 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6502, allocations: 3.938 kB / 0.7608 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6502, allocations: 7.594 kB / 0.7608 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.6503, allocations: 73.52 kB / 0.7609 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008427/0.6511, allocations: 0.7367 MB / 0.7616 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.6513, allocations: 80.48 kB / 0.7617 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.6513, allocations: 35.45 kB / 0.7617 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.6515, allocations: 160.2 kB / 0.7618 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.6515, allocations: 41.69 kB / 0.7619 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.6515, allocations: 0.9688 kB / 0.7619 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007067/0.6522, allocations: 332.1 kB / 0.7622 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.6522, allocations: 78.02 kB / 0.7623 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.6526, allocations: 332.7 kB / 0.7626 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.6526, allocations: 26.36 kB / 0.7626 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.6527, allocations: 172.1 kB / 0.7628 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.6527, allocations: 32.8 kB / 0.7628 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.6527, allocations: 20.23 kB / 0.7628 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6529, allocations: 349.2 kB / 0.7632 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.6529, allocations: 20.33 kB / 0.7632 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.653, allocations: 44.52 kB / 0.7632 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.6531, allocations: 76.52 kB / 0.7633 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6531, allocations: 0.9688 kB / 0.7633 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002349/0.6533, allocations: 164.9 kB / 0.7635 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6533, allocations: 5.25 kB / 0.7635 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6533, allocations: 4.719 kB / 0.7635 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.6535, allocations: 40.31 kB / 0.7635 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.6536, allocations: 14.05 kB / 0.7635 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.6556, allocations: 2.767 MB / 0.7662 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.6557, allocations: 9.875 kB / 0.7662 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6557, allocations: 0.9375 kB / 0.7662 GB, free: 14.02 MB / 0.5919 GB 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 (8): * Single equations (assignments): 6 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.6558, allocations: 137.3 kB / 0.7664 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.6559, allocations: 38.58 kB / 0.7664 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.6562, allocations: 152.7 kB / 0.7666 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6562, allocations: 4.531 kB / 0.7666 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6562, allocations: 0 / 0.7666 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.6563, allocations: 111 kB / 0.7667 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6563, allocations: 0.7031 kB / 0.7667 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.6563, allocations: 6.531 kB / 0.7667 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.6564, allocations: 7.125 kB / 0.7667 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003821/0.6567, allocations: 273.5 kB / 0.7669 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002797/0.657, allocations: 381.3 kB / 0.7673 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.07e-05/0.6571, allocations: 24.19 kB / 0.7673 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000251/0.6573, allocations: 243.1 kB / 0.7676 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of Backend: time 4.51e-07/0.6573, allocations: 0.75 kB / 0.7676 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.6583, allocations: 417.1 kB / 0.768 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001406/0.6597, allocations: 1.104 MB / 0.769 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.01078/0.6705, allocations: 3.695 MB / 0.7726 GB, free: 11.89 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.611132965015713]