Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.001756/0.001756, allocations: 106.6 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.0102/0.0102, allocations: 196.4 kB / 21.93 MB, free: 5.633 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.587/1.587, allocations: 225.6 MB / 250.6 MB, free: 13.41 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.7937/0.7937, 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.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 88.33 kB / 0.5464 GB, free: 42.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1689, allocations: 71.85 MB / 0.6166 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.672/1.841, allocations: 0.5626 GB / 1.179 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.06117/1.903, allocations: 48.77 MB / 1.227 GB, free: 11.1 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006192/1.909, allocations: 227.7 kB / 1.227 GB, free: 11.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.92, allocations: 4.119 MB / 1.231 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.06212/1.982, allocations: 19.1 MB / 1.25 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02089/2.003, allocations: 6.481 MB / 1.256 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01682/2.02, allocations: 9.238 MB / 1.265 GB, free: 14.5 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/2.023, allocations: 1.379 MB / 1.266 GB, free: 13.1 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/2.035, allocations: 4.69 MB / 1.271 GB, free: 8.648 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008638/2.044, allocations: 4.012 MB / 1.275 GB, free: 4.887 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.002722/2.047, allocations: 0.6016 MB / 1.275 GB, free: 4.285 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07682/2.123, allocations: 37.29 MB / 1.312 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004055/2.128, allocations: 1.954 MB / 1.314 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.008245/2.136, allocations: 3.346 MB / 1.317 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0702/2.206, allocations: 23.02 MB / 1.34 GB, free: 6.816 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/2.206, allocations: 0 / 1.34 GB, free: 6.816 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.743e-06/2.206, allocations: 7.938 kB / 1.34 GB, free: 6.809 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0003573/2.206, allocations: 0 / 1.34 GB, free: 6.809 MB / 0.8888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.03221/2.239, allocations: 10.36 MB / 1.35 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/2.239, allocations: 12.03 kB / 1.35 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/2.241, allocations: 0.6832 MB / 1.35 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/2.252, allocations: 4.469 MB / 1.355 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/2.253, allocations: 320.6 kB / 1.355 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/2.255, allocations: 451.8 kB / 1.355 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/2.271, allocations: 7.331 MB / 1.363 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-05/2.271, allocations: 0 / 1.363 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/2.272, allocations: 180 kB / 1.363 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006193/2.273, allocations: 420.8 kB / 1.363 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/2.289, allocations: 8.3 MB / 1.371 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/2.346, allocations: 30.95 MB / 1.402 GB, free: 4.508 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/2.355, allocations: 3.975 MB / 1.405 GB, free: 0.5195 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/2.361, allocations: 3.16 MB / 1.408 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009178/2.37, allocations: 8.112 MB / 1.416 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/2.37, allocations: 86.5 kB / 1.416 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 2.309e-05/2.37, allocations: 4 kB / 1.416 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.4102/2.78, allocations: 20.52 MB / 1.437 GB, free: 477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/2.781, allocations: 127.9 kB / 1.437 GB, free: 476.9 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/2.785, allocations: 3.247 MB / 1.44 GB, free: 475.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0009659/2.786, allocations: 104.5 kB / 1.44 GB, free: 475.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/2.787, allocations: 2.093 MB / 1.442 GB, free: 474.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/2.789, allocations: 1.682 MB / 1.444 GB, free: 473.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/2.79, allocations: 0.7498 MB / 1.444 GB, free: 472.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/2.79, allocations: 305.1 kB / 1.445 GB, free: 472.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/2.793, allocations: 2.557 MB / 1.447 GB, free: 471.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/2.797, allocations: 2.814 MB / 1.45 GB, free: 470.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007986/2.805, allocations: 5.787 MB / 1.456 GB, free: 467.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/2.805, allocations: 4.812 kB / 1.456 GB, free: 467.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01258/2.818, allocations: 7.371 MB / 1.463 GB, free: 464.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/2.818, allocations: 6.156 kB / 1.463 GB, free: 464.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/2.818, allocations: 0 / 1.463 GB, free: 464.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/2.824, allocations: 1.753 MB / 1.464 GB, free: 464.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/2.828, allocations: 0.7109 MB / 1.465 GB, free: 464.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/2.84, allocations: 12.21 MB / 1.477 GB, free: 455.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/2.844, allocations: 107 kB / 1.477 GB, free: 455.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007506/2.845, allocations: 264.7 kB / 1.477 GB, free: 455.1 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (2,4), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002585/2.847, allocations: 1.28 MB / 1.479 GB, free: 454.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.848, allocations: 499.6 kB / 1.479 GB, free: 454.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/2.866, allocations: 11 MB / 1.49 GB, free: 448.9 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-05/2.866, allocations: 23.91 kB / 1.49 GB, free: 448.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/2.866, allocations: 0 / 1.49 GB, free: 448.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/2.868, allocations: 0.5232 MB / 1.49 GB, free: 448.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/2.869, allocations: 86.8 kB / 1.491 GB, free: 448.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/2.871, allocations: 109.1 kB / 1.491 GB, free: 448.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/2.872, allocations: 393.4 kB / 1.491 GB, free: 448.1 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01435/2.886, allocations: 7.977 MB / 1.499 GB, free: 442.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0141/2.9, allocations: 10.94 MB / 1.509 GB, free: 431.5 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003858/2.904, allocations: 2.911 MB / 1.512 GB, free: 428.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002961/2.907, allocations: 2.299 MB / 1.515 GB, free: 426.3 MB / 0.9669 GB Notification: Performance of Backend: time 8.11e-07/2.907, allocations: 0 / 1.515 GB, free: 426.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.03023/2.937, allocations: 11.49 MB / 1.526 GB, free: 417 MB / 0.9669 GB Notification: Performance of SimCode: time 0.01559/2.953, allocations: 11.06 MB / 1.537 GB, free: 406.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.2376/3.19, allocations: 219.2 MB / 1.751 GB, free: 187.5 MB / 0.9669 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.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: 18.10984217497753]