Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 112.9 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 195.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6594/0.6594, allocations: 91.19 MB / 381.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 75.89 kB / 460.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 67.68 MB / 0.5158 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.409/0.5262, allocations: 236.2 MB / 0.7464 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3136/0.8398, allocations: 36.8 MB / 0.7824 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.8433, allocations: 131.9 kB / 0.7825 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004963/0.8483, allocations: 1.658 MB / 0.7841 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.8561, allocations: 2.761 MB / 0.7868 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007137/0.8633, allocations: 2.515 MB / 0.7893 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007631/0.8709, allocations: 4.918 MB / 0.7941 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.8732, allocations: 1.085 MB / 0.7951 GB, free: 16.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.8783, allocations: 2.105 MB / 0.7972 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005203/0.8835, allocations: 2.704 MB / 0.7998 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.8847, allocations: 306.3 kB / 0.8001 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.8963, allocations: 4.537 MB / 0.8046 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.8979, allocations: 0.7586 MB / 0.8053 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003818/0.9018, allocations: 1.716 MB / 0.807 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.9094, allocations: 4.133 MB / 0.811 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9094, allocations: 0.875 kB / 0.811 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9094, allocations: 0 / 0.811 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001458/0.9096, allocations: 1.031 kB / 0.811 GB, free: 15.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.00978/0.9194, allocations: 4.003 MB / 0.8149 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9194, allocations: 11.91 kB / 0.8149 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.9202, allocations: 343.1 kB / 0.8153 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.9238, allocations: 1.84 MB / 0.817 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.924, allocations: 174.2 kB / 0.8172 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.9244, allocations: 245.8 kB / 0.8174 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.9287, allocations: 2.81 MB / 0.8202 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.9288, allocations: 3.688 kB / 0.8202 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.929, allocations: 90.59 kB / 0.8203 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.929, allocations: 66.38 kB / 0.8203 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.9328, allocations: 2.806 MB / 0.8231 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.9472, allocations: 12.03 MB / 0.8348 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.9508, allocations: 2.282 MB / 0.8371 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.9526, allocations: 1.342 MB / 0.8384 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.9638, allocations: 8.718 MB / 0.8469 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.9639, allocations: 57.03 kB / 0.8469 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 4.518e-06/0.9639, allocations: 3.156 kB / 0.8469 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=229): time 0.01719/0.9811, allocations: 9.345 MB / 0.8561 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.9812, allocations: 150.2 kB / 0.8562 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.9835, allocations: 1.797 MB / 0.858 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.9837, allocations: 66.2 kB / 0.858 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006619/0.9844, allocations: 1.11 MB / 0.8591 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/0.985, allocations: 0.7701 MB / 0.8599 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/0.9856, allocations: 372.5 kB / 0.8602 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.9857, allocations: 312 kB / 0.8605 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.9871, allocations: 0.8944 MB / 0.8614 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.9888, allocations: 1.203 MB / 0.8626 GB, free: 4.957 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.05255/1.041, allocations: 11.48 MB / 0.8738 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/1.041, allocations: 0 / 0.8738 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00683/1.048, allocations: 3.246 MB / 0.8769 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.048, allocations: 8 kB / 0.877 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.048, allocations: 10.19 kB / 0.877 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/1.051, allocations: 0.8572 MB / 0.8778 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.052, allocations: 368.2 kB / 0.8782 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/1.069, allocations: 11.91 MB / 0.8898 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.072, allocations: 139.7 kB / 0.8899 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/1.072, allocations: 95.95 kB / 0.89 GB, free: 8.367 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.073, allocations: 484.4 kB / 0.8905 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.074, allocations: 249 kB / 0.8907 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/1.082, allocations: 4.126 MB / 0.8947 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/1.082, allocations: 24 kB / 0.8948 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.082, allocations: 16.28 kB / 0.8948 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/1.082, allocations: 15.89 kB / 0.8948 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.094, allocations: 6.584 MB / 0.9012 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.094, allocations: 6.719 kB / 0.9012 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.095, allocations: 346.2 kB / 0.9016 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.097, allocations: 0.7222 MB / 0.9023 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.098, allocations: 79.95 kB / 0.9023 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.109, allocations: 10.47 MB / 0.9126 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.109, allocations: 6.625 kB / 0.9126 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/1.117, allocations: 4.908 MB / 0.9174 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/1.118, allocations: 321.7 kB / 0.9177 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/1.118, allocations: 55.94 kB / 0.9177 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.12, allocations: 139.6 kB / 0.9179 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.121, allocations: 206.4 kB / 0.918 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.121, allocations: 83.95 kB / 0.9181 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002264/1.123, allocations: 1.308 MB / 0.9194 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/1.123, allocations: 0 / 0.9194 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004611/1.128, allocations: 1.226 MB / 0.9206 GB, free: 8.633 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,19,77.8%), (3,22,77.8%), (3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002785/1.131, allocations: 1.354 MB / 0.9219 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007435/1.138, allocations: 3.487 MB / 0.9253 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.138, allocations: 0 / 0.9253 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004062/1.142, allocations: 2.161 MB / 0.9274 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.147, allocations: 0.8569 MB / 0.9283 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.159, allocations: 6.689 MB / 0.9348 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.161, allocations: 1.785 MB / 0.9366 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.162, allocations: 243.4 kB / 0.9368 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.162, allocations: 0 / 0.9368 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of Templates: time 0.1035/1.266, allocations: 95.47 MB / 1.03 GB, free: 9.082 MB / 0.795 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches